diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:33:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:33:25 +0000 |
commit | 898ae3db2a1918941ddfa3a2b1ca4f25acddb8d2 (patch) | |
tree | 17e6623226f61f121d47d4ce4bed03adbcd8369d | |
parent | 112fb25c2cae4fdc943e6625e4e1264cdcf2c13d (diff) |
automatic import of python-zgw-consumersopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-zgw-consumers.spec | 104 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 106 insertions, 0 deletions
@@ -0,0 +1 @@ +/zgw-consumers-0.26.1.tar.gz diff --git a/python-zgw-consumers.spec b/python-zgw-consumers.spec new file mode 100644 index 0000000..9663eee --- /dev/null +++ b/python-zgw-consumers.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-zgw-consumers +Version: 0.26.1 +Release: 1 +Summary: Configuration for service (OpenAPI 3 or other) consumers +License: MIT +URL: https://github.com/maykinmedia/zgw-consumers +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/da/4dc1e7e40d04421b0e044078237e732d624170a51efaa0f6ec614b0c0b17/zgw-consumers-0.26.1.tar.gz +BuildArch: noarch + +Requires: python3-django +Requires: python3-django-relativedelta +Requires: python3-django-solo +Requires: python3-gemma-zds-client +Requires: python3-django-simple-certmanager +Requires: python3-requests +Requires: python3-pyopenssl +Requires: python3-Faker +Requires: python3-requests-mock +Requires: python3-pytest-cov +Requires: python3-psycopg2 +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-djangorestframework +Requires: python3-flake8 +Requires: python3-twine +Requires: python3-django-redis +Requires: python3-pytest +Requires: python3-pytest-django +Requires: python3-requests-mock +Requires: python3-freezegun +Requires: python3-tox +Requires: python3-isort +Requires: python3-black +Requires: python3-tabulate +Requires: python3-pyquery + +%description +|build-status| |coverage| |linting| |docs| +|python-versions| |django-versions| |pypi-version| +Manage your external API's to consume. + +%package -n python3-zgw-consumers +Summary: Configuration for service (OpenAPI 3 or other) consumers +Provides: python-zgw-consumers +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-zgw-consumers +|build-status| |coverage| |linting| |docs| +|python-versions| |django-versions| |pypi-version| +Manage your external API's to consume. + +%package help +Summary: Development documents and examples for zgw-consumers +Provides: python3-zgw-consumers-doc +%description help +|build-status| |coverage| |linting| |docs| +|python-versions| |django-versions| |pypi-version| +Manage your external API's to consume. + +%prep +%autosetup -n zgw-consumers-0.26.1 + +%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-zgw-consumers -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.26.1-1 +- Package Spec generated @@ -0,0 +1 @@ +2ae90b316e7565380ad3411414062098 zgw-consumers-0.26.1.tar.gz |