mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/ledger-bitcoin: new package, add 0.4.0
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
1
dev-python/ledger-bitcoin/Manifest
Normal file
1
dev-python/ledger-bitcoin/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST ledger_bitcoin-0.4.0.tar.gz 107689 BLAKE2B 066c1df0c19a007cef8837a61e66366ab6cc10ad0aff79cc0eab5a38fe4ee9414189d9424ec6a58e138e26c1a220e4673e27cb657fa06922fa738428ff74bdfc SHA512 d6b65e687ef080b2abf767cb547bef978d76913cfe26d63eab2d3d078a279bfcddd2d33b2ff5ccbb1cdf481ed08cf2f2d7e26ed101d0880a0a95f0ddce87a468
|
||||||
41
dev-python/ledger-bitcoin/ledger-bitcoin-0.4.0.ebuild
Normal file
41
dev-python/ledger-bitcoin/ledger-bitcoin-0.4.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{11..14} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Client library for Ledger Bitcoin application"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/ledger-bitcoin/
|
||||||
|
https://github.com/LedgerHQ/app-bitcoin-new
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
# Tests require Speculos emulator, that cannot be packaged due to a dependency
|
||||||
|
# on dev-libs/openssl:0/1.1
|
||||||
|
# https://github.com/LedgerHQ/speculos/issues/447
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/ledgercomm-1.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# not used here and in revdeps
|
||||||
|
sed -i 's/from smartcard.*/raise ImportError/' \
|
||||||
|
ledger_bitcoin/btchip/btchipComm.py || die
|
||||||
|
|
||||||
|
# don't try using the Speculos emulator
|
||||||
|
sed -i 's/from speculos.*/raise ImportError/' \
|
||||||
|
ledger_bitcoin/client_base.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
15
dev-python/ledger-bitcoin/metadata.xml
Normal file
15
dev-python/ledger-bitcoin/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>watermanpaint@posteo.net</email>
|
||||||
|
<name>Lucio Sauer</name>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<bugs-to>https://github.com/LedgerHQ/app-bitcoin-new/issues</bugs-to>
|
||||||
|
<changelog>https://github.com/LedgerHQ/app-bitcoin-new/blob/develop/bitcoin_client/CHANGELOG.md</changelog>
|
||||||
|
<remote-id type="github">LedgerHQ/app-bitcoin-new</remote-id>
|
||||||
|
<remote-id type="pypi">ledger-bitcoin</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user