summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 12:29:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 12:29:43 +0000
commitbe421c2a48c4fb827e9809690dd529bd3b107e49 (patch)
tree5e291858b3a3030b114884d1b209ad5ec4042da0
parentfad2d3301cbe80bb927db9cbd69edba1a57b4331 (diff)
automatic import of python-django-oscar
-rw-r--r--.gitignore1
-rw-r--r--python-django-oscar.spec103
-rw-r--r--sources1
3 files changed, 105 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1ee3f7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-oscar-3.2.tar.gz
diff --git a/python-django-oscar.spec b/python-django-oscar.spec
new file mode 100644
index 0000000..060a77c
--- /dev/null
+++ b/python-django-oscar.spec
@@ -0,0 +1,103 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-oscar
+Version: 3.2
+Release: 1
+Summary: A domain-driven e-commerce framework for Django
+License: BSD
+URL: https://github.com/django-oscar/django-oscar
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4d/cb/ff17273d1ef9cf03b7a6e1013a5d7ce7b78cd7d2c06a41b28a1469f38aee/django-oscar-3.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-pillow
+Requires: python3-django-extra-views
+Requires: python3-django-haystack
+Requires: python3-django-treebeard
+Requires: python3-Babel
+Requires: python3-purl
+Requires: python3-phonenumbers
+Requires: python3-django-phonenumber-field
+Requires: python3-factory-boy
+Requires: python3-django-tables2
+Requires: python3-django-widget-tweaks
+Requires: python3-Sphinx
+Requires: python3-sphinxcontrib-napoleon
+Requires: python3-sphinxcontrib-spelling
+Requires: python3-sphinx-rtd-theme
+Requires: python3-sphinx-issues
+Requires: python3-sorl-thumbnail
+Requires: python3-easy-thumbnails
+Requires: python3-easy-thumbnails
+Requires: python3-sorl-thumbnail
+Requires: python3-WebTest
+Requires: python3-coverage
+Requires: python3-django-webtest
+Requires: python3-psycopg2-binary
+Requires: python3-pytest-django
+Requires: python3-pytest-xdist
+Requires: python3-tox
+Requires: python3-freezegun
+Requires: python3-sorl-thumbnail
+Requires: python3-easy-thumbnails
+
+%description
+
+
+%package -n python3-django-oscar
+Summary: A domain-driven e-commerce framework for Django
+Provides: python-django-oscar
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-oscar
+
+
+%package help
+Summary: Development documents and examples for django-oscar
+Provides: python3-django-oscar-doc
+%description help
+
+
+%prep
+%autosetup -n django-oscar-3.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-django-oscar -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b71b490
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5c16a1980f068260f09a43992d8e14e8 django-oscar-3.2.tar.gz