From: "Andreas Zuber" <a.zuber@gmx.ch>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hwi/
Date: Mon, 29 Mar 2021 05:39:54 +0000 (UTC) [thread overview]
Message-ID: <1616996328.fd8546fede5fd02d44605061563505a08e1c5cfc.AndreasZuber@gentoo> (raw)
commit: fd8546fede5fd02d44605061563505a08e1c5cfc
Author: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
AuthorDate: Mon Mar 29 05:38:48 2021 +0000
Commit: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
CommitDate: Mon Mar 29 05:38:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd8546fe
dev-python/hwi: version bump to 2.0.1
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andreas Zuber <a.zuber <AT> gmx.ch>
dev-python/hwi/Manifest | 1 +
dev-python/hwi/hwi-2.0.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/hwi/Manifest b/dev-python/hwi/Manifest
index f33fc225c..e443ede98 100644
--- a/dev-python/hwi/Manifest
+++ b/dev-python/hwi/Manifest
@@ -1,2 +1,3 @@
DIST hwi-1.2.1.tar.gz 200755 BLAKE2B b426dcd78f0ff6039541b768155a0be11f591ee4e72957fce16ffd26841cd92c3e80ce57daefc531c31f912ec94139f53db8823a3fadf347f0153c1d47f1ad08 SHA512 b8cdda0ce9d4d9734e2754a47343fa7f331f55c609448561b1bed304629b6f01d80dadba55193633ad6ac1a8ba595f4574ae8aa32cfc841c34cbeff315310071
DIST hwi-2.0.0.tar.gz 2777420 BLAKE2B d0285ad0cb2915dc0676e5f16476eb959c7ce6a79d6d5fd849bdcc58b71701025d32d3deadb824877ad8cb8d3f32572ac15df5d910b28269e8cf1fcbe322fa07 SHA512 515aa9df76f1a8759ebb154f833864968b9f381df721fe572e5a77570b38380268c35536abd2d232d5a0ab1f04a1a6b1db701c55f0379de0d1f3a691c789fd13
+DIST hwi-2.0.1.tar.gz 2777494 BLAKE2B 11bf516a806459ae9457fd90006737c02c0b6fcaa523fddf8b6fce9d0127e6b3cc004637de20e3691573bcc593a148a9878ea42ea6e8e97eaaa386fe4cd1cba7 SHA512 a278d0361b12a8a63b3ea9d92ff0e0e522cd2fe38a760c9fea584887434fe24e1d8d38a6c6d3929b469cab942de5e512a7d1d6c1dcc119e2af93fdf3ab089806
diff --git a/dev-python/hwi/hwi-2.0.1.ebuild b/dev-python/hwi/hwi-2.0.1.ebuild
new file mode 100644
index 000000000..a2eb45254
--- /dev/null
+++ b/dev-python/hwi/hwi-2.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 udev
+
+DESCRIPTION="Library and command line tool for interacting with hardware wallets"
+HOMEPAGE="https://github.com/bitcoin-core/HWI"
+
+MY_PN="HWI"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="https://github.com/bitcoin-core/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="udev doc"
+
+BDEPEND=""
+RDEPEND="
+ >=dev-python/bitbox02-5.2.0[${PYTHON_USEDEP}]
+ >=dev-python/ecdsa-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/hidapi-0.7.99[${PYTHON_USEDEP}]
+ >=dev-python/libusb1-1.7.0[${PYTHON_USEDEP}]
+ >=dev-python/mnemonic-0.18.0[${PYTHON_USEDEP}]
+ >=dev-python/pyaes-1.6.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-3.7.4.1[${PYTHON_USEDEP}]"
+
+distutils_enable_tests unittest
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ # remove upper bounds on dependencies from setup.py file
+ sed 's/,<[0-9.]\+//' -i setup.py || die "sed failed"
+
+ pushd test
+ # remove tests that require hardware emulation
+ rm test_coldcard.py test_device.py test_digitalbitbox.py test_keepkey.py test_ledger.py test_trezor.py
+ # remove udev tests because it expects the rules are installed in the libs folder
+ rm test_udevrules.py
+ popd
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ use udev && udev_dorules hwilib/udev/*.rules
+ use doc && dodoc -r docs
+
+ distutils-r1_python_install_all
+}
next reply other threads:[~2021-03-29 5:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 5:39 Andreas Zuber [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-05 21:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hwi/ Alessandro Barbieri
2021-12-14 7:14 Anna Vyalkova
2021-06-02 6:17 Andreas Zuber
2021-03-29 5:39 Andreas Zuber
2021-03-21 11:40 Andreas Zuber
2020-11-26 18:10 Andreas Zuber
2020-10-27 7:25 Andreas Zuber
2020-09-21 13:23 Andreas Zuber
2020-08-24 13:18 Andreas Zuber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1616996328.fd8546fede5fd02d44605061563505a08e1c5cfc.AndreasZuber@gentoo \
--to=a.zuber@gmx.ch \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox