summaryrefslogtreecommitdiff
path: root/python-bitbnspy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:49:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:49:56 +0000
commitcfe8be58975d9465c4afb6d4ed5827911af065c7 (patch)
tree996ce982562cefe8972cf9fd293bede942a3ec2f /python-bitbnspy.spec
parent9afc7025423c20c23a31d85e0d26214133a9c03f (diff)
automatic import of python-bitbnspy
Diffstat (limited to 'python-bitbnspy.spec')
-rw-r--r--python-bitbnspy.spec81
1 files changed, 81 insertions, 0 deletions
diff --git a/python-bitbnspy.spec b/python-bitbnspy.spec
new file mode 100644
index 0000000..d8accb1
--- /dev/null
+++ b/python-bitbnspy.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bitbnspy
+Version: 0.3.1
+Release: 1
+Summary: This project is designed to assist you make your own projects that interact with the Bitbns API. This project seeks to have complete API coverage and WebSockets
+License: MIT
+URL: https://github.com/bitbns-official/bitbnspy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/4d/010791116732ecb3d6c9389b1b98c5c57115b8fef8534fb3e1626986bc0b/bitbnspy-0.3.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-bidict
+Requires: python3-certifi
+Requires: python3-chardet
+Requires: python3-idna
+Requires: python3-engineio
+Requires: python3-socketio
+Requires: python3-requests
+Requires: python3-urllib3
+Requires: python3-websocket-client
+
+%description
+
+
+%package -n python3-bitbnspy
+Summary: This project is designed to assist you make your own projects that interact with the Bitbns API. This project seeks to have complete API coverage and WebSockets
+Provides: python-bitbnspy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bitbnspy
+
+
+%package help
+Summary: Development documents and examples for bitbnspy
+Provides: python3-bitbnspy-doc
+%description help
+
+
+%prep
+%autosetup -n bitbnspy-0.3.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-bitbnspy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1
+- Package Spec generated