public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbutils/
Date: Sat,  5 Dec 2020 05:45:04 +0000 (UTC)	[thread overview]
Message-ID: <1607147065.fda317e2aaafc14c9af4ba6e309945c494e53a7a.robbat2@gentoo> (raw)

commit:     fda317e2aaafc14c9af4ba6e309945c494e53a7a
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  5 05:44:25 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Dec  5 05:44:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda317e2

sys-apps/usbutils: add usbreset tool

Thanks: Luke-Jr <luke-jr+gentoobugs <AT> utopios.org>
Closes: https://bugs.gentoo.org/758443
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 sys-apps/usbutils/usbutils-013-r1.ebuild | 53 ++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/sys-apps/usbutils/usbutils-013-r1.ebuild b/sys-apps/usbutils/usbutils-013-r1.ebuild
new file mode 100644
index 00000000000..648f5b9094c
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-013-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="USB enumeration utilities"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/usb/usbutils/
+	https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/"
+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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="virtual/libusb:1=
+	virtual/libudev:="
+BDEPEND="
+	app-arch/xz-utils
+	virtual/pkgconfig"
+RDEPEND="${DEPEND}
+	sys-apps/hwids
+	python? ( ${PYTHON_DEPS} )"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf
+	use python && python_fix_shebang lsusb.py.in
+}
+
+src_configure() {
+	local myeconfargs=(
+		--datarootdir="${EPREFIX}/usr/share"
+		--datadir="${EPREFIX}/usr/share/misc"
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	newdoc usbhid-dump/NEWS NEWS.usbhid-dump
+	dobin usbreset # noinst_PROGRAMS, but installed by other distros
+
+	use python || rm -f "${ED}"/usr/bin/lsusb.py
+}


             reply	other threads:[~2020-12-05  5:45 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05  5:45 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05  1:43 [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbutils/ Sam James
2024-04-29 21:48 Sam James
2024-01-23 15:08 Sam James
2024-01-22 13:12 Sam James
2024-01-18  0:28 Sam James
2024-01-17  6:34 Sam James
2024-01-17  6:30 Arthur Zamarin
2024-01-17  5:50 Sam James
2024-01-17  5:50 Sam James
2024-01-17  5:27 Sam James
2023-12-28  4:23 Sam James
2023-12-17 13:50 Arthur Zamarin
2023-12-15  8:29 Sam James
2023-12-15  7:49 Sam James
2023-12-15  7:16 Sam James
2023-12-15  7:14 Sam James
2023-11-25  4:51 Sam James
2023-10-23  2:52 Sam James
2023-07-13 17:44 Mike Gilbert
2023-03-04 15:34 Arthur Zamarin
2023-03-04  8:22 Arthur Zamarin
2023-03-04  7:08 Arthur Zamarin
2023-03-04  6:25 Arthur Zamarin
2023-03-04  6:13 Arthur Zamarin
2023-03-04  5:49 Arthur Zamarin
2023-03-04  5:38 Arthur Zamarin
2023-01-10  6:10 Sam James
2022-12-03 11:30 Sam James
2022-05-30  2:49 Sam James
2022-05-26  5:06 WANG Xuerui
2021-12-25 12:33 Georgy Yakovlev
2021-12-25  0:02 Mike Gilbert
2021-12-07 20:29 Sam James
2021-11-28 20:08 Mike Gilbert
2021-10-02 15:43 Sam James
2021-09-21 16:35 Sam James
2021-09-20  0:27 Sam James
2021-09-19  6:39 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 19:51 Sam James
2021-09-18 19:48 Sam James
2021-08-18  0:35 Yixun Lan
2021-08-09  0:22 Sam James
2021-08-06 22:49 Lars Wendler
2021-05-14 10:04 David Seifert
2021-05-14  9:35 Agostino Sarubbo
2021-05-13 21:17 Sam James
2021-05-13 18:58 Sam James
2021-05-13 18:56 Sam James
2021-05-13 18:54 Sam James
2021-05-13 16:54 Sam James
2021-05-13 16:28 Sam James
2020-12-15 10:37 Sam James
2020-12-13 23:23 Sam James
2020-12-09 22:38 Sergei Trofimovich
2020-12-04 18:37 Sergei Trofimovich
2020-12-02 22:39 Sam James
2020-12-02 21:36 Sam James
2020-12-02 10:23 Sam James
2020-12-02  3:06 Thomas Deutschmann
2020-10-22 19:31 Lars Wendler
2020-07-11 16:59 Sam James
2020-07-10  0:33 Sam James
2020-07-09  8:34 Agostino Sarubbo
2020-07-08 12:23 Michał Górny
2020-07-07  6:58 Sergei Trofimovich
2020-07-06 16:43 Sergei Trofimovich
2020-07-06  7:22 Sergei Trofimovich
2020-07-06  7:02 Sergei Trofimovich
2020-04-17 17:06 Craig Andrews
2019-10-05 18:56 Michał Górny
2019-05-26  9:45 Mikle Kolyada
2019-05-26  9:45 Mikle Kolyada
2019-05-26  9:45 Mikle Kolyada
2019-05-26  7:04 Sergei Trofimovich
2019-05-23 13:14 Mikle Kolyada
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-05-12 21:48 Sergei Trofimovich
2019-05-12 20:56 Thomas Deutschmann
2019-05-11 11:01 Mikle Kolyada
2019-05-09 20:15 Aaron Bauman
2019-05-08 14:38 Tobias Klausmann
2019-05-08  6:25 Sergei Trofimovich
2019-05-07 15:27 Lars Wendler
2019-03-11 22:42 Sergei Trofimovich
2018-07-20 12:38 Thomas Deutschmann
2018-06-22  9:21 Mikle Kolyada
2018-06-02 14:10 Mikle Kolyada
2018-05-29 20:05 Markus Meier
2018-05-16  7:51 Lars Wendler
2018-05-16  6:17 Lars Wendler
2018-05-14 21:19 Tobias Klausmann
2018-05-13 22:06 Thomas Deutschmann
2018-05-11 19:21 Sergei Trofimovich
2018-05-10  6:40 Mart Raudsepp
2018-05-10  6:34 Sergei Trofimovich
2018-05-09 14:55 Mikle Kolyada
2017-11-25 10:22 Tim Harder
2017-08-23 10:25 Tim Harder
2017-08-23 10:22 Tim Harder
2017-08-23 10:22 Tim Harder
2017-08-23 10:22 Tim Harder
2015-11-30 17:37 Mike Frysinger

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=1607147065.fda317e2aaafc14c9af4ba6e309945c494e53a7a.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --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