summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:53:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:53:11 +0000
commit69b41eecf96c6c1af463bec8aea2980302f4e7d9 (patch)
tree9f2b98816c77c86b8abeb3e619e63691fe7e77fe
parentb3c65f69daca51a93b65dd4294bf62d1d585ae35 (diff)
automatic import of python-tinychainopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-tinychain.spec85
-rw-r--r--sources1
3 files changed, 87 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5bbb8fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tinychain-0.12.0.tar.gz
diff --git a/python-tinychain.spec b/python-tinychain.spec
new file mode 100644
index 0000000..9940ae7
--- /dev/null
+++ b/python-tinychain.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tinychain
+Version: 0.12.0
+Release: 1
+Summary: A Python client for TinyChain: http://git.io/JtryR
+License: Apache Software License
+URL: https://github.com/haydnv/tinychain
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b0/a7/665d2d15cb542d8b40d21d4c4862d9a38ca3027638311ea200844671a7e7/tinychain-0.12.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+
+%description
+This is the Python client for TinyChain. You can find the API documentation at [https://tinychain.readthedocs.io/en/latest/](http://tinychain.readthedocs.io/en/latest/).
+
+There are tutorials available in the TinyChain documentation at [https://docs.tinychain.net/](https://docs.tinychain.net/).
+
+
+
+%package -n python3-tinychain
+Summary: A Python client for TinyChain: http://git.io/JtryR
+Provides: python-tinychain
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tinychain
+This is the Python client for TinyChain. You can find the API documentation at [https://tinychain.readthedocs.io/en/latest/](http://tinychain.readthedocs.io/en/latest/).
+
+There are tutorials available in the TinyChain documentation at [https://docs.tinychain.net/](https://docs.tinychain.net/).
+
+
+
+%package help
+Summary: Development documents and examples for tinychain
+Provides: python3-tinychain-doc
+%description help
+This is the Python client for TinyChain. You can find the API documentation at [https://tinychain.readthedocs.io/en/latest/](http://tinychain.readthedocs.io/en/latest/).
+
+There are tutorials available in the TinyChain documentation at [https://docs.tinychain.net/](https://docs.tinychain.net/).
+
+
+
+%prep
+%autosetup -n tinychain-0.12.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-tinychain -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..91f5d25
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f918b133e3ec37c0ca299e6d18cb970b tinychain-0.12.0.tar.gz