Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/hwi/
Date: Mon, 29 Mar 2021 07:30:07
Message-Id: 1616996385.d3d4cd2034dbbb308a87ce74554a0a22e261d5f2.andrewammerlaan@gentoo
1 commit: d3d4cd2034dbbb308a87ce74554a0a22e261d5f2
2 Author: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
3 AuthorDate: Mon Mar 29 05:39:45 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Mar 29 05:39:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3d4cd20
7
8 dev-python/hwi: cleanup old ebuild
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Andreas Zuber <a.zuber <AT> gmx.ch>
12
13 dev-python/hwi/Manifest | 1 -
14 dev-python/hwi/hwi-2.0.0.ebuild | 56 -----------------------------------------
15 2 files changed, 57 deletions(-)
16
17 diff --git a/dev-python/hwi/Manifest b/dev-python/hwi/Manifest
18 index e443ede98..6cc07b39d 100644
19 --- a/dev-python/hwi/Manifest
20 +++ b/dev-python/hwi/Manifest
21 @@ -1,3 +1,2 @@
22 DIST hwi-1.2.1.tar.gz 200755 BLAKE2B b426dcd78f0ff6039541b768155a0be11f591ee4e72957fce16ffd26841cd92c3e80ce57daefc531c31f912ec94139f53db8823a3fadf347f0153c1d47f1ad08 SHA512 b8cdda0ce9d4d9734e2754a47343fa7f331f55c609448561b1bed304629b6f01d80dadba55193633ad6ac1a8ba595f4574ae8aa32cfc841c34cbeff315310071
23 -DIST hwi-2.0.0.tar.gz 2777420 BLAKE2B d0285ad0cb2915dc0676e5f16476eb959c7ce6a79d6d5fd849bdcc58b71701025d32d3deadb824877ad8cb8d3f32572ac15df5d910b28269e8cf1fcbe322fa07 SHA512 515aa9df76f1a8759ebb154f833864968b9f381df721fe572e5a77570b38380268c35536abd2d232d5a0ab1f04a1a6b1db701c55f0379de0d1f3a691c789fd13
24 DIST hwi-2.0.1.tar.gz 2777494 BLAKE2B 11bf516a806459ae9457fd90006737c02c0b6fcaa523fddf8b6fce9d0127e6b3cc004637de20e3691573bcc593a148a9878ea42ea6e8e97eaaa386fe4cd1cba7 SHA512 a278d0361b12a8a63b3ea9d92ff0e0e522cd2fe38a760c9fea584887434fe24e1d8d38a6c6d3929b469cab942de5e512a7d1d6c1dcc119e2af93fdf3ab089806
25
26 diff --git a/dev-python/hwi/hwi-2.0.0.ebuild b/dev-python/hwi/hwi-2.0.0.ebuild
27 deleted file mode 100644
28 index a2eb45254..000000000
29 --- a/dev-python/hwi/hwi-2.0.0.ebuild
30 +++ /dev/null
31 @@ -1,56 +0,0 @@
32 -# Copyright 2020-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -DISTUTILS_USE_SETUPTOOLS=rdepend
39 -
40 -inherit distutils-r1 udev
41 -
42 -DESCRIPTION="Library and command line tool for interacting with hardware wallets"
43 -HOMEPAGE="https://github.com/bitcoin-core/HWI"
44 -
45 -MY_PN="HWI"
46 -MY_P="${MY_PN}-${PV}"
47 -SRC_URI="https://github.com/bitcoin-core/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -IUSE="udev doc"
53 -
54 -BDEPEND=""
55 -RDEPEND="
56 - >=dev-python/bitbox02-5.2.0[${PYTHON_USEDEP}]
57 - >=dev-python/ecdsa-0.13.0[${PYTHON_USEDEP}]
58 - >=dev-python/hidapi-0.7.99[${PYTHON_USEDEP}]
59 - >=dev-python/libusb1-1.7.0[${PYTHON_USEDEP}]
60 - >=dev-python/mnemonic-0.18.0[${PYTHON_USEDEP}]
61 - >=dev-python/pyaes-1.6.0[${PYTHON_USEDEP}]
62 - >=dev-python/typing-extensions-3.7.4.1[${PYTHON_USEDEP}]"
63 -
64 -distutils_enable_tests unittest
65 -
66 -S="${WORKDIR}/${MY_P}"
67 -
68 -python_prepare_all() {
69 - # remove upper bounds on dependencies from setup.py file
70 - sed 's/,<[0-9.]\+//' -i setup.py || die "sed failed"
71 -
72 - pushd test
73 - # remove tests that require hardware emulation
74 - rm test_coldcard.py test_device.py test_digitalbitbox.py test_keepkey.py test_ledger.py test_trezor.py
75 - # remove udev tests because it expects the rules are installed in the libs folder
76 - rm test_udevrules.py
77 - popd
78 -
79 - distutils-r1_python_prepare_all
80 -}
81 -
82 -python_install_all() {
83 - use udev && udev_dorules hwilib/udev/*.rules
84 - use doc && dodoc -r docs
85 -
86 - distutils-r1_python_install_all
87 -}