public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hwi/
Date: Tue, 14 Dec 2021 07:14:05 +0000 (UTC)	[thread overview]
Message-ID: <1639465346.098ef9c87ad93aff2ae7fde3dfb0cbf2f1df88a0.cybertailor@gentoo> (raw)

commit:     098ef9c87ad93aff2ae7fde3dfb0cbf2f1df88a0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Dec 11 12:10:03 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 14 07:02:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=098ef9c8

dev-python/hwi: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/816177
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hwi/hwi-2.0.2.ebuild | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/dev-python/hwi/hwi-2.0.2.ebuild b/dev-python/hwi/hwi-2.0.2.ebuild
index b229b0289..868dd6251 100644
--- a/dev-python/hwi/hwi-2.0.2.ebuild
+++ b/dev-python/hwi/hwi-2.0.2.ebuild
@@ -1,11 +1,9 @@
 # Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
 inherit distutils-r1 udev
 
 DESCRIPTION="Library and command line tool for interacting with hardware wallets"
@@ -14,13 +12,13 @@ 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"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="udev doc"
+IUSE="udev"
 
-BDEPEND=""
 RDEPEND="
 	>=dev-python/bitbox02-5.3.0[${PYTHON_USEDEP}]
 	>=dev-python/ecdsa-0.13.0[${PYTHON_USEDEP}]
@@ -32,18 +30,20 @@ RDEPEND="
 
 distutils_enable_tests unittest
 
-S="${WORKDIR}/${MY_P}"
+distutils_enable_sphinx docs \
+	dev-python/sphinx_rtd_theme \
+	dev-python/sphinxcontrib-autoprogram
 
 python_prepare_all() {
 	# remove upper bounds on dependencies from setup.py file
-	sed 's/,<[0-9.]\+//' -i setup.py || die "sed failed"
+	sed 's/,<[0-9.]\+//' -i setup.py || die
 
-	pushd test
+	pushd test || die
 	# 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
+	rm test_coldcard.py test_device.py test_digitalbitbox.py test_keepkey.py test_ledger.py test_trezor.py || die
 	# remove udev tests because it expects the rules are installed in the libs folder
-	rm test_udevrules.py
-	popd
+	rm test_udevrules.py || die
+	popd || die
 
 	distutils-r1_python_prepare_all
 }


             reply	other threads:[~2021-12-14  7:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14  7:14 Anna Vyalkova [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-06-02  6:17 Andreas Zuber
2021-03-29  5:39 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=1639465346.098ef9c87ad93aff2ae7fde3dfb0cbf2f1df88a0.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --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