summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 11:06:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 11:06:44 +0000
commit36b0f30e13fe6a716b067515fd9666155d1ba99f (patch)
treeb685bb116edc54e69cf89d1ee5e7cdbcf6d0ae11
parent1dbf0290a3cd098f0b7db74db2a7664abb583532 (diff)
automatic import of python-cartridgeopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-cartridge.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3b12dd2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Cartridge-1.3.4.tar.gz
diff --git a/python-cartridge.spec b/python-cartridge.spec
new file mode 100644
index 0000000..af69f84
--- /dev/null
+++ b/python-cartridge.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Cartridge
+Version: 1.3.4
+Release: 1
+Summary: A Django shopping cart application.
+License: BSD
+URL: http://cartridge.jupo.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dc/08/35ebbf815c4d87c5b2856714289ff35f74992583ab7b5fe07f222870784c/Cartridge-1.3.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-mezzanine
+Requires: python3-xhtml2pdf
+Requires: python3-flake8
+Requires: python3-black
+Requires: python3-isort
+Requires: python3-pyupgrade
+Requires: python3-stripe
+Requires: python3-pytest-django
+Requires: python3-pytest-cov
+
+%description
+
+
+%package -n python3-Cartridge
+Summary: A Django shopping cart application.
+Provides: python-Cartridge
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Cartridge
+
+
+%package help
+Summary: Development documents and examples for Cartridge
+Provides: python3-Cartridge-doc
+%description help
+
+
+%prep
+%autosetup -n Cartridge-1.3.4
+
+%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-Cartridge -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a4e4f71
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+93e01e7710edc8896fb1e45c8bc69161 Cartridge-1.3.4.tar.gz