From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9053E139084 for ; Sat, 25 Nov 2017 10:22:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0AFBE0DC8; Sat, 25 Nov 2017 10:22:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A34C0E0DC8 for ; Sat, 25 Nov 2017 10:22:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E51A33BEAC for ; Sat, 25 Nov 2017 10:22:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 401CFA6F6 for ; Sat, 25 Nov 2017 10:22:34 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1511605320.f3272c36fcc0c21df2e5afa928d4bbf9607728aa.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/usbutils/Manifest sys-apps/usbutils/usbutils-009.ebuild X-VCS-Directories: sys-apps/usbutils/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: f3272c36fcc0c21df2e5afa928d4bbf9607728aa X-VCS-Branch: master Date: Sat, 25 Nov 2017 10:22:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c3d8268-f3a1-4a5c-a32a-b84432d5bc7f X-Archives-Hash: a538bdd536d08909c359149ff67cdf76 commit: f3272c36fcc0c21df2e5afa928d4bbf9607728aa Author: Tim Harder gentoo org> AuthorDate: Sat Nov 25 10:14:30 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Nov 25 10:22:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3272c36 sys-apps/usbutils: version bump to 009 sys-apps/usbutils/Manifest | 1 + sys-apps/usbutils/usbutils-009.ebuild | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index ae1b4b72f8e..5aff102e3b2 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -1 +1,2 @@ DIST usbutils-008.tar.xz 287052 SHA256 44741af0bae9d402a0ef160a29b2fa700bb656ab5e0a4b3343d51249c2a44c8c SHA512 ab1ad36467ff79ff5ab0b924620001612cae44def58c05ade01a4e58d8a4d48df61c09faba49a20497b7d6314045bbaf137b51a9f4e6b65ed0ea3bb339bf1c45 WHIRLPOOL 47898f8f0c8a93a200777e5006ec36c2bc805e126974ba415edc21983db9d35d3b8ec4a6be28359a36e5adda95cc4c8bc37ba4b651a9065e249b8ffe4c6b70aa +DIST usbutils-009.tar.xz 309608 BLAKE2B bb5d7f756241377e81aa8f5b074bb0ba36bc778698afaebf7054cdb153149e4f3808a7b172019434756cae8b33410643cd6a03a36277f80ead9b0f4446385fd9 SHA512 e5936a42615690c13e618655fc5eb4f414d9a84f85b860eaeb3bcf737258e05d299b09d1c5388d50c718626036ec8cac5d670ad567ceadfaab85f401f0744a8a diff --git a/sys-apps/usbutils/usbutils-009.ebuild b/sys-apps/usbutils/usbutils-009.ebuild new file mode 100644 index 00000000000..ee9aba52d6d --- /dev/null +++ b/sys-apps/usbutils/usbutils-009.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +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="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +CDEPEND="virtual/libusb:1= + virtual/libudev:=" +DEPEND="${CDEPEND} + app-arch/xz-utils + virtual/pkgconfig" +RDEPEND="${CDEPEND} + sys-apps/hwids + 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() { + econf \ + --datarootdir="${EPREFIX}/usr/share" \ + --datadir="${EPREFIX}/usr/share/misc" +} + +src_install() { + default + newdoc usbhid-dump/NEWS NEWS.usbhid-dump + + use python || rm -f "${ED}"/usr/bin/lsusb.py +}