public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbutils/
Date: Sat, 25 Nov 2023 04:51:45 +0000 (UTC)	[thread overview]
Message-ID: <1700887856.4d60bf1ecbb8526d2c26350ce3101d271405b61d.sam@gentoo> (raw)

commit:     4d60bf1ecbb8526d2c26350ce3101d271405b61d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 04:50:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 04:50:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d60bf1e

sys-apps/usbutils: add 017

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/usbutils/Manifest            |  1 +
 sys-apps/usbutils/usbutils-017.ebuild | 66 +++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest
index fbbd91e6764b..0f9775520288 100644
--- a/sys-apps/usbutils/Manifest
+++ b/sys-apps/usbutils/Manifest
@@ -1,2 +1,3 @@
 DIST usbutils-015.tar.xz 167472 BLAKE2B 1074c7159e9e6729f03f98e1f38fa0b3fef3e744b5297e6d97a5fc44ea374e2d5a0c481e14b2a034bca201048b1305c3877dbb15e3c4c04b228b4036048d8904 SHA512 cda0070138400703d7429d39dee49130aedaa704292531e6af57b347cc62422ca609540650926e74335f71d67d7d4655418be4824e1eb8a2b065c7b395feaa87
 DIST usbutils-016.tar.xz 169000 BLAKE2B 2f3af61e5a7abf48cdf0a4aebc901ca1570007b54d11ae74572e16bdeb2d8e73844d76af54bd812d6d4b84ddaf6e956132ecc9a8a2849a7bffc0643e29115a49 SHA512 4483038bf91c056cd2977f5e7f449c0a62d9152d6f5d64ab7bde438ab9c1c56fe524ba10b35781c2828edd0fe89379dbaed78fa7ffe78903cae0c4e3c460f9a0
+DIST usbutils-017.tar.xz 168820 BLAKE2B 868c646ed6d38a38b9bd3ab85ba3a5e9362a97e476aeed6576c1b175caaf4ee688cb2c33756f02c9bf0aef9e7d58657331fc1c3b3314d86145b3d4f37124537e SHA512 eaebbc82eee4d940898f7a8de95ca49846c7c964e65c3d866b38735f8f3c8ccfed2b3a536bf2ef39a835a40a34c2273ac4d82b1012d0c693d4863cff14870d95

diff --git a/sys-apps/usbutils/usbutils-017.ebuild b/sys-apps/usbutils/usbutils-017.ebuild
new file mode 100644
index 000000000000..aff703996277
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-017.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+	virtual/libusb:1=
+	virtual/libudev:=
+"
+RDEPEND="
+	${DEPEND}
+	python? (
+		${PYTHON_DEPS}
+		sys-apps/hwdata
+	)
+"
+BDEPEND="
+	virtual/pkgconfig
+	python? ( ${PYTHON_DEPS} )
+"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	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"
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	newdoc usbhid-dump/NEWS NEWS.usbhid-dump
+	dobin usbreset # noinst_PROGRAMS, but installed by other distros
+
+	if ! use python ; then
+		rm -f "${ED}"/usr/bin/lsusb.py || die
+	fi
+}


             reply	other threads:[~2023-11-25  4:51 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-25  4:51 Sam James [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-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-05  5:45 Robin H. Johnson
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=1700887856.4d60bf1ecbb8526d2c26350ce3101d271405b61d.sam@gentoo \
    --to=sam@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