%global _empty_manifest_terminate_build 0Name: python-bitcoinlibVersion: 0.12.2Release: 1Summary: Bitcoin and Other cryptocurrency LibraryLicense: GPL-3.0-onlyURL: http://github.com/1200wd/bitcoinlibSource0: https://files.pythonhosted.org/packages/90/a1/ca9d770094a0bfd0f2ce66b7180f0a7729b1b646d90f37f6debf38b28fab/python-bitcoinlib-0.12.2.tar.gzBuildArch: noarch%descriptionBitcoin, Litecoin and Dash Crypto Currency Library for Python.Includes a fully functional wallet, with multi signature, multi currency and multiple accounts.You this library at a high level and create and manage wallets for the command line or at a low leveland create your own custom made transactions, keys or wallets.The BitcoinLib connects to various service providers automatically to update wallets, transactions andblockchain information. It does currently not parse the blockchain itself.%package -n python3-bitcoinlibSummary: Bitcoin and Other cryptocurrency LibraryProvides: python-bitcoinlib = %{version}-%{release}BuildRequires: python3-develBuildRequires: python3-setuptoolsBuildRequires: python3-pipBuildRequires: python3-wheelRequires: python3-sqlalchemyRequires: python3-pycryptodomeRequires: python3-requestsRequires: python3-fastecdsaRequires: python3-ecdsaRequires: python3-numpyRequires: python3-numpy%description -n python3-bitcoinlibBitcoin, Litecoin and Dash Crypto Currency Library for Python.Includes a fully functional wallet, with multi signature, multi currency and multiple accounts.You this library at a high level and create and manage wallets for the command line or at a low leveland create your own custom made transactions, keys or wallets.The BitcoinLib connects to various service providers automatically to update wallets, transactions andblockchain information. It does currently not parse the blockchain itself.%package helpSummary: Development documents and examples for bitcoinlibProvides: python3-bitcoinlib-doc%description helpBitcoin, Litecoin and Dash Crypto Currency Library for Python.Includes a fully functional wallet, with multi signature, multi currency and multiple accounts.You this library at a high level and create and manage wallets for the command line or at a low leveland create your own custom made transactions, keys or wallets.The BitcoinLib connects to various service providers automatically to update wallets, transactions andblockchain information. It does currently not parse the blockchain itself.%prep%autosetup -n python-bitcoinlib-%{version}%build%pyproject_build%install# Prevent Python from writing bytecode files during installationexport PYTHONDONTWRITEBYTECODE=1%pyproject_install# Remove __pycache__ directories (not needed in package, Python will regenerate them at runtime)find %{buildroot} -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || truefind %{buildroot} -name "*.pyc" -delete 2>/dev/null || truefind %{buildroot} -name "*.pyo" -delete 2>/dev/null || trueinstall -d -m755 %{buildroot}/%{_pkgdocdir}if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fiif [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fiif [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fiif [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi# Remove __pycache__ directories before generating filelistfind %{buildroot} -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || truefind %{buildroot} -name "*.pyc" -delete 2>/dev/null || truefind %{buildroot} -name "*.pyo" -delete 2>/dev/null || truepushd %{buildroot}touch filelist.lstif [ -d usr/lib ]; thenfind usr/lib -type f ! -path "*/__pycache__/*" -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/lib64 ]; thenfind usr/lib64 -type f ! -path "*/__pycache__/*" -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/bin ]; thenfind usr/bin -type f ! -path "*/__pycache__/*" -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/sbin ]; thenfind usr/sbin -type f ! -path "*/__pycache__/*" -printf "/%h/%f\n" >> filelist.lstfitouch doclist.lstif [ -d usr/share/man ]; thenfind usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lstfipopdmv %{buildroot}/filelist.lst .mv %{buildroot}/doclist.lst .# Final cleanup of __pycache__ before RPM checks for unpackaged filesrm -rf %{buildroot}%{python3_sitelib}/bitcoin/__pycache__ 2>/dev/null || truerm -rf %{buildroot}%{python3_sitelib}/bitcoin/*/__pycache__ 2>/dev/null || truerm -rf %{buildroot}%{python3_sitelib}/bitcoin/*/*/__pycache__ 2>/dev/null || truefind %{buildroot} -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || truefind %{buildroot} -name "*.pyc" -delete 2>/dev/null || truefind %{buildroot} -name "*.pyo" -delete 2>/dev/null || true%files -n python3-bitcoinlib -f filelist.lst%dir %{python3_sitelib}/*%exclude %{python3_sitelib}/bitcoin/__pycache__%exclude %{python3_sitelib}/bitcoin/__pycache__/*%exclude %{python3_sitelib}/bitcoin/*/__pycache__%exclude %{python3_sitelib}/bitcoin/*/__pycache__/*%exclude %{python3_sitelib}/bitcoin/*/*/__pycache__%exclude %{python3_sitelib}/bitcoin/*/*/__pycache__/*%files help%{_docdir}/*%changelog* Wed Nov 12 2025 <zhaojianbin@kylinos.com> - 0.12.2-1- Update package to version 0.12.2- Remove __pycache__ directories from package (Python will regenerate them at runtime)- Add %exclude for all nested __pycache__ directories (including bitcoin/core/contrib)* Mon Nov 11 2024 liutao1 <liutao1@kylinos.cn> - 0.6.10-1- Update package to version 0.6.10Allow to encrypt private key fields in databaseInclude examples/documentation for field and full database encryptionFixed various provider issuesFixed unittests fee issuesFixed secure bitcoind connection* Thu Mar 16 2023 wubijie <wubijie@kylinos.cn> - 0.6.9-1- Update package to version 0.6.9* Thu Dec 15 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.6.7-1- Update package to version 0.6.7* Wed Nov 02 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.6.6-1- Upgrade package to version 0.6.6* Thu Jul 28 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.6.5-1- update to 0.6.5* Tue May 10 2022 houyingchao <houyingchao@h-partners.com> - 0.5.3-2- License compliance rectification* Tue Jul 16 2021 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型