diff options
Diffstat (limited to 'python-cryptocom-exchange.spec')
| -rw-r--r-- | python-cryptocom-exchange.spec | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/python-cryptocom-exchange.spec b/python-cryptocom-exchange.spec new file mode 100644 index 0000000..bd6a71d --- /dev/null +++ b/python-cryptocom-exchange.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cryptocom-exchange +Version: 0.13.1 +Release: 1 +Summary: Python 3.7+ async library for crypto.com/exchange API using httpx and websockets +License: MIT +URL: https://pypi.org/project/cryptocom-exchange/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/3f/4f43058eab456c1c71f38d93c035b685781b903254bcbe7e4aa07c2a4fe9/cryptocom_exchange-0.13.1.tar.gz +BuildArch: noarch + +Requires: python3-aiolimiter +Requires: python3-async-timeout +Requires: python3-cached-property +Requires: python3-httpx +Requires: python3-websockets + +%description +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[](https://readthedocs.org/projects/cryptocom-exchange) + +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%package -n python3-cryptocom-exchange +Summary: Python 3.7+ async library for crypto.com/exchange API using httpx and websockets +Provides: python-cryptocom-exchange +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cryptocom-exchange +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[](https://readthedocs.org/projects/cryptocom-exchange) + +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%package help +Summary: Development documents and examples for cryptocom-exchange +Provides: python3-cryptocom-exchange-doc +%description help +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[](https://readthedocs.org/projects/cryptocom-exchange) + +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://pypi.python.org/pypi/cryptocom-exchange/) +[](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%prep +%autosetup -n cryptocom-exchange-0.13.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-cryptocom-exchange -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.1-1 +- Package Spec generated |
