diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:51:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:51:47 +0000 |
commit | 9e4855fe49851ce75de428c57d8c7ff0102215db (patch) | |
tree | cb2521de7836172a6bab93272f6703e75234c0e7 | |
parent | 82cb1e2149dd1d6d9964dea8d91ea588557d3198 (diff) |
automatic import of python-django-aparopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-apar.spec | 104 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 106 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-apar-2.0.15.tar.gz diff --git a/python-django-apar.spec b/python-django-apar.spec new file mode 100644 index 0000000..de17775 --- /dev/null +++ b/python-django-apar.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-apar +Version: 2.0.15 +Release: 1 +Summary: Aparnik is a simple Django app to help about some common problems. +License: BSD License +URL: https://www.aparnik.com/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/81/436805d2aa5701b9e86dfc91b40b758680e92b63c15e2c198674c499d0b6/django-apar-2.0.15.tar.gz +BuildArch: noarch + +Requires: python3-djangorestframework +Requires: python3-boto3 +Requires: python3-humanize +Requires: python3-django +Requires: python3-django-polymorphic +Requires: python3-django-rest-polymorphic +Requires: python3-pycryptodome +Requires: python3-django-s3direct +Requires: python3-dateutil +Requires: python3-kavenegar +Requires: python3-django-jalali-date +Requires: python3-Pillow +Requires: python3-fcm-django +Requires: python3-zeep +Requires: python3-django-dynamic-raw-id +Requires: python3-APScheduler +Requires: python3-django-filter +Requires: python3-django-ckeditor +Requires: python3-django-tagulous +Requires: python3-django-colorfield +Requires: python3-Faker +Requires: python3-magic +Requires: python3-PyPDF2 +Requires: python3-django-enumfield +Requires: python3-redis +Requires: python3-channels +Requires: python3-channels-redis +Requires: python3-celery +Requires: python3-django-admin-rangefilter +Requires: python3-django-import-export +Requires: python3-uvicorn +Requires: python3-az-iranian-bank-gateways + +%description + + +%package -n python3-django-apar +Summary: Aparnik is a simple Django app to help about some common problems. +Provides: python-django-apar +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-apar + + +%package help +Summary: Development documents and examples for django-apar +Provides: python3-django-apar-doc +%description help + + +%prep +%autosetup -n django-apar-2.0.15 + +%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-django-apar -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.15-1 +- Package Spec generated @@ -0,0 +1 @@ +9c348815a44c794a71488edb14e745c4 django-apar-2.0.15.tar.gz |