commit:     dfaba443b3bee43a7cd3bca699a899453754a1a8
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  1 21:59:44 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 21:59:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfaba443

sys-power/uhubctl: bump to v2.3.0

Closes: https://github.com/gentoo/gentoo/pull/19163
Closes: https://bugs.gentoo.org/763936
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-power/uhubctl/Manifest             |  1 +
 sys-power/uhubctl/uhubctl-2.3.0.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
index 1a41656f34d..647ffaacfa1 100644
--- a/sys-power/uhubctl/Manifest
+++ b/sys-power/uhubctl/Manifest
@@ -1 +1,2 @@
 DIST uhubctl-1.8.tar.gz 16158 BLAKE2B 
1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451
 SHA512 
fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d
+DIST uhubctl-2.3.0.tar.gz 25367 BLAKE2B 
7e5b6bf5f4a76e90a78292b23127af366e3388ffb8565fc1d763b9bd45faf0518411996a307a42c62827006ef9488e39282c95b2ba6c0bc289863cec7c91ac25
 SHA512 
e1ddc8d20b626e99facd8b0e6b746e2fdcaec667c7b280b656aa608b7990cfac1ea3e5379e89d0b1be8756ba5e91485ad003eb2bd5dfb3cc3c9cdf3d18ad1bd3

diff --git a/sys-power/uhubctl/uhubctl-2.3.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.3.0.ebuild
new file mode 100644
index 00000000000..094e1cc2428
--- /dev/null
+++ b/sys-power/uhubctl/uhubctl-2.3.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit toolchain-funcs
+
+DESCRIPTION="USB hub per-port power control"
+HOMEPAGE="https://github.com/mvp/uhubctl";
+SRC_URI="https://github.com/mvp/uhubctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+
+       sed -i \
+               -e "s/^GIT_VERSION/#&/" \
+               Makefile \
+               || die
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)"
+}

Reply via email to