summaryrefslogtreecommitdiff
path: root/sys-apps/usbutils/usbutils-014-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /sys-apps/usbutils/usbutils-014-r1.ebuild
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'sys-apps/usbutils/usbutils-014-r1.ebuild')
-rw-r--r--sys-apps/usbutils/usbutils-014-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/usbutils/usbutils-014-r1.ebuild b/sys-apps/usbutils/usbutils-014-r1.ebuild
index 547e7cc8092a..e99096d69ad4 100644
--- a/sys-apps/usbutils/usbutils-014-r1.ebuild
+++ b/sys-apps/usbutils/usbutils-014-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9,10} )
-inherit autotools python-single-r1
+inherit python-single-r1
DESCRIPTION="USB enumeration utilities"
HOMEPAGE="https://www.kernel.org/pub/linux/utils/usb/usbutils/
@@ -13,7 +13,7 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -36,12 +36,13 @@ pkg_setup() {
src_prepare() {
default
- eautoreconf
+
use python && python_fix_shebang lsusb.py.in
}
src_configure() {
local myeconfargs=(
+ --cache-file="${S}"/config.cache
--datarootdir="${EPREFIX}/usr/share"
--datadir="${EPREFIX}/usr/share/hwdata"
)