Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbutils/
Date: Mon, 30 May 2022 02:49:29
Message-Id: 1653878956.bb4dbd4684f2eab0f0897fdc78f1a7008bea407f.sam@gentoo
1 commit: bb4dbd4684f2eab0f0897fdc78f1a7008bea407f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 00:14:10 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 02:49:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4dbd46
7
8 sys-apps/usbutils: use confcache, drop eautoreconf
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/usbutils/usbutils-014-r1.ebuild | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15 diff --git a/sys-apps/usbutils/usbutils-014-r1.ebuild b/sys-apps/usbutils/usbutils-014-r1.ebuild
16 index ccfe79ce3bab..e99096d69ad4 100644
17 --- a/sys-apps/usbutils/usbutils-014-r1.ebuild
18 +++ b/sys-apps/usbutils/usbutils-014-r1.ebuild
19 @@ -4,7 +4,7 @@
20 EAPI=7
21 PYTHON_COMPAT=( python3_{8,9,10} )
22
23 -inherit autotools python-single-r1
24 +inherit python-single-r1
25
26 DESCRIPTION="USB enumeration utilities"
27 HOMEPAGE="https://www.kernel.org/pub/linux/utils/usb/usbutils/
28 @@ -36,12 +36,13 @@ pkg_setup() {
29
30 src_prepare() {
31 default
32 - eautoreconf
33 +
34 use python && python_fix_shebang lsusb.py.in
35 }
36
37 src_configure() {
38 local myeconfargs=(
39 + --cache-file="${S}"/config.cache
40 --datarootdir="${EPREFIX}/usr/share"
41 --datadir="${EPREFIX}/usr/share/hwdata"
42 )