diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:17:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:17:28 +0000 |
commit | 2ed876c3c330bd720da7ad3bfcdfc4da2231192f (patch) | |
tree | ddda06055d00c0c00a20e4be242d8fc78f7b1b56 | |
parent | 7581e13ee17f80d00c90a62d2231194e4e4615a1 (diff) |
automatic import of python-bitcartopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-bitcart.spec | 277 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 279 insertions, 0 deletions
@@ -0,0 +1 @@ +/bitcart-1.12.0.0.tar.gz diff --git a/python-bitcart.spec b/python-bitcart.spec new file mode 100644 index 0000000..031f1e8 --- /dev/null +++ b/python-bitcart.spec @@ -0,0 +1,277 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bitcart +Version: 1.12.0.0 +Release: 1 +Summary: BitcartCC coins support library +License: MIT +URL: https://github.com/bitcartcc/bitcart-sdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/1e/8dc2a899a39909f399003283ecf73cb04ac55b783df046d62c060f7f8e43/bitcart-1.12.0.0.tar.gz +BuildArch: noarch + +Requires: python3-jsonrpcclient +Requires: python3-aiohttp +Requires: python3-universalasync +Requires: python3-aiohttp-socks + +%description +# BitcartCC SDK + +[](https://circleci.com/gh/bitcartcc/bitcart-sdk) +[](https://codecov.io/gh/bitcartcc/bitcart-sdk) +[](https://pypi.python.org/pypi/bitcart/) +[](https://sdk.bitcartcc.com) + +This is a client library(wrapper) around BitcartCC daemon. It is used to simplify common commands. +Coins support(⚡ means lightning is supported): + +- Bitcoin (⚡) +- Bitcoin Cash +- Monero +- Ethereum +- Binance coin (BNB) +- SmartBCH +- Polygon (MATIC) +- Tron (TRX) +- Ergon +- Litecoin (⚡) +- Globalboost (⚡) +- Groestlcoin (⚡) + +Main focus is Bitcoin. + +This library supports both asynchronous and synchronous usages. + +You can call it's methods synchronously, like so: + +```python +print(btc.help()) +``` + +Or you can await it's methods when using from async functions: + +```python +async def main(): + print(await btc.help()) +``` + +Async callback functions for `@btc.on` are supported. + +For more information [Read the Docs](https://sdk.bitcartcc.com) + +## Release versioning + +We follow a custom variant of semver: + +`major.minor.feature.bugfix` + +Where `major` is changed not frequently, and means significant changes to the SDK + +`minor` means breaking changes + +`feature` means adding new features without breaking existing APIs + +`bugfix` means fixing bugs without breaking existing APIs + +## Contributing + +See [CONTRIBUTING.md](CONTRIBUTING.md). + +## Copyright and License + +Copyright (C) 2019 MrNaif2018 + +Licensed under the [MIT license](LICENSE) + + +%package -n python3-bitcart +Summary: BitcartCC coins support library +Provides: python-bitcart +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bitcart +# BitcartCC SDK + +[](https://circleci.com/gh/bitcartcc/bitcart-sdk) +[](https://codecov.io/gh/bitcartcc/bitcart-sdk) +[](https://pypi.python.org/pypi/bitcart/) +[](https://sdk.bitcartcc.com) + +This is a client library(wrapper) around BitcartCC daemon. It is used to simplify common commands. +Coins support(⚡ means lightning is supported): + +- Bitcoin (⚡) +- Bitcoin Cash +- Monero +- Ethereum +- Binance coin (BNB) +- SmartBCH +- Polygon (MATIC) +- Tron (TRX) +- Ergon +- Litecoin (⚡) +- Globalboost (⚡) +- Groestlcoin (⚡) + +Main focus is Bitcoin. + +This library supports both asynchronous and synchronous usages. + +You can call it's methods synchronously, like so: + +```python +print(btc.help()) +``` + +Or you can await it's methods when using from async functions: + +```python +async def main(): + print(await btc.help()) +``` + +Async callback functions for `@btc.on` are supported. + +For more information [Read the Docs](https://sdk.bitcartcc.com) + +## Release versioning + +We follow a custom variant of semver: + +`major.minor.feature.bugfix` + +Where `major` is changed not frequently, and means significant changes to the SDK + +`minor` means breaking changes + +`feature` means adding new features without breaking existing APIs + +`bugfix` means fixing bugs without breaking existing APIs + +## Contributing + +See [CONTRIBUTING.md](CONTRIBUTING.md). + +## Copyright and License + +Copyright (C) 2019 MrNaif2018 + +Licensed under the [MIT license](LICENSE) + + +%package help +Summary: Development documents and examples for bitcart +Provides: python3-bitcart-doc +%description help +# BitcartCC SDK + +[](https://circleci.com/gh/bitcartcc/bitcart-sdk) +[](https://codecov.io/gh/bitcartcc/bitcart-sdk) +[](https://pypi.python.org/pypi/bitcart/) +[](https://sdk.bitcartcc.com) + +This is a client library(wrapper) around BitcartCC daemon. It is used to simplify common commands. +Coins support(⚡ means lightning is supported): + +- Bitcoin (⚡) +- Bitcoin Cash +- Monero +- Ethereum +- Binance coin (BNB) +- SmartBCH +- Polygon (MATIC) +- Tron (TRX) +- Ergon +- Litecoin (⚡) +- Globalboost (⚡) +- Groestlcoin (⚡) + +Main focus is Bitcoin. + +This library supports both asynchronous and synchronous usages. + +You can call it's methods synchronously, like so: + +```python +print(btc.help()) +``` + +Or you can await it's methods when using from async functions: + +```python +async def main(): + print(await btc.help()) +``` + +Async callback functions for `@btc.on` are supported. + +For more information [Read the Docs](https://sdk.bitcartcc.com) + +## Release versioning + +We follow a custom variant of semver: + +`major.minor.feature.bugfix` + +Where `major` is changed not frequently, and means significant changes to the SDK + +`minor` means breaking changes + +`feature` means adding new features without breaking existing APIs + +`bugfix` means fixing bugs without breaking existing APIs + +## Contributing + +See [CONTRIBUTING.md](CONTRIBUTING.md). + +## Copyright and License + +Copyright (C) 2019 MrNaif2018 + +Licensed under the [MIT license](LICENSE) + + +%prep +%autosetup -n bitcart-1.12.0.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-bitcart -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.12.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +13325d2621cfef48565ddcb310c7cd41 bitcart-1.12.0.0.tar.gz |