summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 14:46:48 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 14:46:48 +0000
commit7d4c5275a11a0e0be122b8615fc3dafede673ade (patch)
treedb99956d763ce5c23d41cf57381a4dec82e0332e
parent257438865a520a5ef129464ba561ec4999eb7866 (diff)
automatic import of python-django-ses
-rw-r--r--.gitignore1
-rw-r--r--python-django-ses.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ba259c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django_ses-3.3.0.tar.gz
diff --git a/python-django-ses.spec b/python-django-ses.spec
new file mode 100644
index 0000000..2b4caf4
--- /dev/null
+++ b/python-django-ses.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-ses
+Version: 3.3.0
+Release: 1
+Summary: A Django email backend for Amazon's Simple Email Service
+License: MIT
+URL: https://github.com/django-ses/django-ses
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f2/82/a83fd4ba4645bd5ea306681123eb141870c14f087da2262041ed816a0d77/django_ses-3.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-pytz
+Requires: python3-django
+Requires: python3-importlib-metadata
+Requires: python3-cryptography
+Requires: python3-requests
+
+%description
+
+
+%package -n python3-django-ses
+Summary: A Django email backend for Amazon's Simple Email Service
+Provides: python-django-ses
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-ses
+
+
+%package help
+Summary: Development documents and examples for django-ses
+Provides: python3-django-ses-doc
+%description help
+
+
+%prep
+%autosetup -n django-ses-3.3.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-ses -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1ba81ef
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ff517e8371792d904b8d181c2fa71153 django_ses-3.3.0.tar.gz