summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 13:42:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 13:42:10 +0000
commitc02dd7cf9e1f2e1c72b4cab9e5daf77a308716db (patch)
tree41a83ab9713992fbbc1f7e9f19204ed82a35c4aa
parent96ead4717c91166a87d2fd37f4ca90ef0437ef3b (diff)
automatic import of python-kinto-http
-rw-r--r--.gitignore1
-rw-r--r--python-kinto-http.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e7148a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kinto-http-11.0.1.tar.gz
diff --git a/python-kinto-http.spec b/python-kinto-http.spec
new file mode 100644
index 0000000..ed20f0b
--- /dev/null
+++ b/python-kinto-http.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-kinto-http
+Version: 11.0.1
+Release: 1
+Summary: Kinto client
+License: Apache License (2.0)
+URL: https://github.com/Kinto/kinto-http.py/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/60/3e6c19c772996e008428aa9e6563bfa08484dd8816da65a0a26f40b3e37e/kinto-http-11.0.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-backoff
+Requires: python3-unidecode
+
+%description
+Use pip::
+ $ pip install kinto-http
+
+%package -n python3-kinto-http
+Summary: Kinto client
+Provides: python-kinto-http
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-kinto-http
+Use pip::
+ $ pip install kinto-http
+
+%package help
+Summary: Development documents and examples for kinto-http
+Provides: python3-kinto-http-doc
+%description help
+Use pip::
+ $ pip install kinto-http
+
+%prep
+%autosetup -n kinto-http-11.0.1
+
+%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-kinto-http -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 11.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fa8200a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6be01b59e54e482d265b4caca256d0a3 kinto-http-11.0.1.tar.gz