summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:27:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:27:50 +0000
commit6b06b3ef074520fa41a832187f5cb6e8f9ef4a1d (patch)
tree7d606b385b2b663c73be9ffdd86f73800a3b439e
parented74bcfafcb97e7a6c78d285c743e17fe8295c52 (diff)
automatic import of python-pyboto3
-rw-r--r--.gitignore1
-rw-r--r--python-pyboto3.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6977dc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyboto3-1.13.18.tar.gz
diff --git a/python-pyboto3.spec b/python-pyboto3.spec
new file mode 100644
index 0000000..f19c05c
--- /dev/null
+++ b/python-pyboto3.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyboto3
+Version: 1.13.18
+Release: 1
+Summary: Pythonic Interface for AWS boto3 that gives you autocomplete on every service
+License: MIT License
+URL: https://github.com/wavycloud/pyboto3
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/8c/35beb724d373a52d94b59fc80edd05a9d40f59f9335b6ce6a5df07e0d779/pyboto3-1.13.18.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-pyboto3
+Summary: Pythonic Interface for AWS boto3 that gives you autocomplete on every service
+Provides: python-pyboto3
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyboto3
+
+
+%package help
+Summary: Development documents and examples for pyboto3
+Provides: python3-pyboto3-doc
+%description help
+
+
+%prep
+%autosetup -n pyboto3-1.13.18
+
+%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-pyboto3 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.13.18-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1930c2f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2e8012ef0495b79a7ee49a4709e49094 pyboto3-1.13.18.tar.gz