summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-connect-reports-core.spec228
-rw-r--r--sources1
3 files changed, 230 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d3a0219 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/connect-reports-core-26.0.0.tar.gz
diff --git a/python-connect-reports-core.spec b/python-connect-reports-core.spec
new file mode 100644
index 0000000..dfa0523
--- /dev/null
+++ b/python-connect-reports-core.spec
@@ -0,0 +1,228 @@
+%global _empty_manifest_terminate_build 0
+Name: python-connect-reports-core
+Version: 26.0.0
+Release: 1
+Summary: Connect Reports Core
+License: Apache-2.0
+URL: https://connect.cloudblue.com
+Source0: https://mirrors.aliyun.com/pypi/web/packages/cc/0d/cd86d047ed691c0a60e57b29411e12602ab97aae4e848e3065d9707986a9/connect-reports-core-26.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-openpyxl
+Requires: python3-WeasyPrint
+Requires: python3-Jinja2
+Requires: python3-jsonschema
+Requires: python3-pytz
+Requires: python3-lxml
+Requires: python3-orjson
+Requires: python3-plotly
+Requires: python3-kaleido
+
+%description
+# Connect Reports Core
+
+![pyversions](https://img.shields.io/pypi/pyversions/connect-reports-core.svg) [![PyPi Status](https://img.shields.io/pypi/v/connect-reports-core.svg)](https://pypi.org/project/connect-reports-core/) [![Build Connect Reports Core](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml/badge.svg)](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=coverage)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=connect-reports-core)
+
+## Introduction
+
+`Connect Reports Core` is the kernel package for handling reports on CloudBlue Connect Ecosystem.
+This library is reponsible for validation of reports definition, choosing of renderer for parsing process and writing results of reports execution.
+
+
+## Install
+
+`Connect Reports Core` requires python 3.8 or later and has the following dependencies:
+
+* openpyxl>=2.5.14
+* WeasyPrint>=53.4
+* Jinja2>=2.11.3
+* jsonschema<=3.2.0
+* pytz>=2021.1
+* lxml>=4.7.1
+
+`Connect Reports Core` can be installed from [pypi.org](https://pypi.org/project/connect-reports-core/) using pip:
+
+```
+$ pip install connect-reports-core
+```
+
+## Testing
+
+On MacOs:
+* Install system dependencies
+```commandline
+brew install py3cairo pango
+```
+* Create virtualenv
+* Install project dependencies
+```commandline
+pip install poetry
+poetry update
+```
+* Run tests
+```commandline
+poetry run pytest
+```
+
+
+## License
+
+``Connect Reports Core`` is released under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
+
+
+%package -n python3-connect-reports-core
+Summary: Connect Reports Core
+Provides: python-connect-reports-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-connect-reports-core
+# Connect Reports Core
+
+![pyversions](https://img.shields.io/pypi/pyversions/connect-reports-core.svg) [![PyPi Status](https://img.shields.io/pypi/v/connect-reports-core.svg)](https://pypi.org/project/connect-reports-core/) [![Build Connect Reports Core](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml/badge.svg)](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=coverage)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=connect-reports-core)
+
+## Introduction
+
+`Connect Reports Core` is the kernel package for handling reports on CloudBlue Connect Ecosystem.
+This library is reponsible for validation of reports definition, choosing of renderer for parsing process and writing results of reports execution.
+
+
+## Install
+
+`Connect Reports Core` requires python 3.8 or later and has the following dependencies:
+
+* openpyxl>=2.5.14
+* WeasyPrint>=53.4
+* Jinja2>=2.11.3
+* jsonschema<=3.2.0
+* pytz>=2021.1
+* lxml>=4.7.1
+
+`Connect Reports Core` can be installed from [pypi.org](https://pypi.org/project/connect-reports-core/) using pip:
+
+```
+$ pip install connect-reports-core
+```
+
+## Testing
+
+On MacOs:
+* Install system dependencies
+```commandline
+brew install py3cairo pango
+```
+* Create virtualenv
+* Install project dependencies
+```commandline
+pip install poetry
+poetry update
+```
+* Run tests
+```commandline
+poetry run pytest
+```
+
+
+## License
+
+``Connect Reports Core`` is released under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
+
+
+%package help
+Summary: Development documents and examples for connect-reports-core
+Provides: python3-connect-reports-core-doc
+%description help
+# Connect Reports Core
+
+![pyversions](https://img.shields.io/pypi/pyversions/connect-reports-core.svg) [![PyPi Status](https://img.shields.io/pypi/v/connect-reports-core.svg)](https://pypi.org/project/connect-reports-core/) [![Build Connect Reports Core](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml/badge.svg)](https://github.com/cloudblue/connect-reports-core/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=coverage)](https://sonarcloud.io/dashboard?id=connect-reports-core) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=connect-reports-core&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=connect-reports-core)
+
+## Introduction
+
+`Connect Reports Core` is the kernel package for handling reports on CloudBlue Connect Ecosystem.
+This library is reponsible for validation of reports definition, choosing of renderer for parsing process and writing results of reports execution.
+
+
+## Install
+
+`Connect Reports Core` requires python 3.8 or later and has the following dependencies:
+
+* openpyxl>=2.5.14
+* WeasyPrint>=53.4
+* Jinja2>=2.11.3
+* jsonschema<=3.2.0
+* pytz>=2021.1
+* lxml>=4.7.1
+
+`Connect Reports Core` can be installed from [pypi.org](https://pypi.org/project/connect-reports-core/) using pip:
+
+```
+$ pip install connect-reports-core
+```
+
+## Testing
+
+On MacOs:
+* Install system dependencies
+```commandline
+brew install py3cairo pango
+```
+* Create virtualenv
+* Install project dependencies
+```commandline
+pip install poetry
+poetry update
+```
+* Run tests
+```commandline
+poetry run pytest
+```
+
+
+## License
+
+``Connect Reports Core`` is released under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
+
+
+%prep
+%autosetup -n connect-reports-core-26.0.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-connect-reports-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 26.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d392acb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3ad211aef132dc1023fec5c272e8ccca connect-reports-core-26.0.0.tar.gz