summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:05:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:05:38 +0000
commit0aef9f13fdb047bce3d91de25c37c7ad294cccdc (patch)
treee4b214b0b29fd5f6c312631243749a83a4b9e5c1
parent2a085c66efa683621f817177ea2501e81b89e992 (diff)
automatic import of python-tekoreopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-tekore.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d5867e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tekore-4.6.0.tar.gz
diff --git a/python-tekore.spec b/python-tekore.spec
new file mode 100644
index 0000000..5231d5c
--- /dev/null
+++ b/python-tekore.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tekore
+Version: 4.6.0
+Release: 1
+Summary: Client for the Spotify Web API
+License: MIT License Copyright (c) 2019-2023 Felix Hildén Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+URL: https://pypi.org/project/tekore
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/3d/f93084fe0d8844dc114abd07fae32085ce38ad6c9682a9a349927f4156da/tekore-4.6.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-httpx
+
+%description
+Tekore can be installed from the Package Index via ``pip``.
+ $ pip install tekore
+
+%package -n python3-tekore
+Summary: Client for the Spotify Web API
+Provides: python-tekore
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tekore
+Tekore can be installed from the Package Index via ``pip``.
+ $ pip install tekore
+
+%package help
+Summary: Development documents and examples for tekore
+Provides: python3-tekore-doc
+%description help
+Tekore can be installed from the Package Index via ``pip``.
+ $ pip install tekore
+
+%prep
+%autosetup -n tekore-4.6.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-tekore -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 4.6.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1d45270
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2ad376755c1dad6a24dd3a28521f7697 tekore-4.6.0.tar.gz