diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:43:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:43:12 +0000 |
commit | acf0450e71790ed052a260eb361ab096c8fd1704 (patch) | |
tree | 1fd21865a97ac0a96dc7dde5095bed96d1013c35 | |
parent | 6e0d0bd729a721e64359350f3f9c721bb4bd3a45 (diff) |
automatic import of python-djangorestframework-reactiveopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-djangorestframework-reactive.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/djangorestframework-reactive-7.0.2.tar.gz diff --git a/python-djangorestframework-reactive.spec b/python-djangorestframework-reactive.spec new file mode 100644 index 0000000..67c7409 --- /dev/null +++ b/python-djangorestframework-reactive.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-djangorestframework-reactive +Version: 7.0.2 +Release: 1 +Summary: Making Django REST Framework reactive +License: Apache License (2.0) +URL: https://github.com/genialis/django-rest-framework-reactive +Source0: https://mirrors.aliyun.com/pypi/web/packages/4e/c1/ed4f26fa4d7d0f1ca949befbd11374f6802c573c1740e7795b23e3fadfce/djangorestframework-reactive-7.0.2.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-djangorestframework +Requires: python3-channels +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-twine +Requires: python3-wheel +Requires: python3-django-filter +Requires: python3-django-guardian +Requires: python3-django-priority-batch +Requires: python3-channels-redis +Requires: python3-pytest +Requires: python3-pytest-django +Requires: python3-pytest-asyncio +Requires: python3-async-timeout +Requires: python3-psycopg2-binary +Requires: python3-check-manifest +Requires: python3-twine +Requires: python3-setuptools-scm +Requires: python3-black + +%description + + +%package -n python3-djangorestframework-reactive +Summary: Making Django REST Framework reactive +Provides: python-djangorestframework-reactive +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-djangorestframework-reactive + + +%package help +Summary: Development documents and examples for djangorestframework-reactive +Provides: python3-djangorestframework-reactive-doc +%description help + + +%prep +%autosetup -n djangorestframework-reactive-7.0.2 + +%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-djangorestframework-reactive -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 7.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +e2c0ece6ed86a3c3628bbcba222f8bad djangorestframework-reactive-7.0.2.tar.gz |