summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 05:33:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 05:33:10 +0000
commite2d7b976242e822636a85c5f2436939a571b2b54 (patch)
tree1d8374ffa49a60c85124da6b51d4bfb35cd0b089
parent58c7ec76ced6777f23cd6e45a30d1153182c89b2 (diff)
automatic import of python-django-oscar-reports
-rw-r--r--.gitignore1
-rw-r--r--python-django-oscar-reports.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1c04df8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-oscar-reports-2.1.0.tar.gz
diff --git a/python-django-oscar-reports.spec b/python-django-oscar-reports.spec
new file mode 100644
index 0000000..e7e8aec
--- /dev/null
+++ b/python-django-oscar-reports.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-oscar-reports
+Version: 2.1.0
+Release: 1
+Summary: An extension on-top of django-oscar that improves the Oscar Dashboard's report generation system
+License: ISC
+URL: https://gitlab.com/thelabnyc/django-oscar/django-oscar-reports
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/23/59/b9c0eee26db290c1166c883124588a453a3a35779d043033a6cacfff5c57/django-oscar-reports-2.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-celery
+Requires: python3-django
+Requires: python3-django-oscar
+Requires: python3-coverage
+Requires: python3-flake8
+Requires: python3-freezegun
+Requires: python3-psycopg2cffi
+Requires: python3-PyYAML
+Requires: python3-sorl-thumbnail
+Requires: python3-tox
+Requires: python3-unittest-xml-reporting
+Requires: python3-versiontag
+Requires: python3-django-webtest
+Requires: python3-WebTest
+
+%description
+
+
+%package -n python3-django-oscar-reports
+Summary: An extension on-top of django-oscar that improves the Oscar Dashboard's report generation system
+Provides: python-django-oscar-reports
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-oscar-reports
+
+
+%package help
+Summary: Development documents and examples for django-oscar-reports
+Provides: python3-django-oscar-reports-doc
+%description help
+
+
+%prep
+%autosetup -n django-oscar-reports-2.1.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-django-oscar-reports -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7f51ea6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5e423d2ae92b8175c927a156d8bc8c2b django-oscar-reports-2.1.0.tar.gz