[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2023-08-19 Thread Rick Farina
commit: 8f4c5bf458b4f5acf5d883c66cef53add0d8f5d8
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:24:00 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:24:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4c5bf4

sys-power/uhubctl: drop 2.4.0

Signed-off-by: Rick Farina  gentoo.org>

 sys-power/uhubctl/Manifest |  1 -
 sys-power/uhubctl/uhubctl-2.4.0.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
index bb3845072e4c..58145d2a4594 100644
--- a/sys-power/uhubctl/Manifest
+++ b/sys-power/uhubctl/Manifest
@@ -1,2 +1 @@
-DIST uhubctl-2.4.0.tar.gz 25661 BLAKE2B 
44d1fa0ce92beb3c4c3e2d21c8acb982f71f2e450afffb8c467c488495f389b745ba437c6fbbe3049cd3f67a73fa8bda6ed9c987ab1326f12db59623ee107ece
 SHA512 
d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d
 DIST uhubctl-2.5.0.tar.gz 28241 BLAKE2B 
419e6e0a457eae05e8a9fbf5c66377f4b809d8f1cb7cd9af8055a0f12b4b96a82a34850ef39ae8ddabf919ec2858747ed121d57850c2318b59fabfad9086bd87
 SHA512 
2b902b7e1df788dd1d4720dcbc630c958e80619dee3bfe4bad222a089b7f2735c6189e5e7d497ce3782e6b6ee193906ea955621cf328a4022bce15f1179b1fda

diff --git a/sys-power/uhubctl/uhubctl-2.4.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
deleted file mode 100644
index 9d01116874ff..
--- a/sys-power/uhubctl/uhubctl-2.4.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# 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}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "s/^GIT_VERSION/#&/" \
-   Makefile \
-   || die
-
-   tc-export PKG_CONFIG
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2023-08-19 Thread Rick Farina
commit: f9cec05b4783593d6e0b92cb8edf1cfda22200e2
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:24:40 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:24:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9cec05b

sys-power/uhubctl: add github upstream metadata

Signed-off-by: Rick Farina  gentoo.org>

 sys-power/uhubctl/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml
index a0fddf470150..9e794e08053c 100644
--- a/sys-power/uhubctl/metadata.xml
+++ b/sys-power/uhubctl/metadata.xml
@@ -5,4 +5,7 @@
Rick Farina
zeroch...@gentoo.org

+   
+   mvp/uhubctl
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2023-08-19 Thread Rick Farina
commit: d04809b3844866b409f2c51c2a454e066cc62c5f
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:23:44 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:23:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04809b3

sys-power/uhubctl: add 2.5.0

Signed-off-by: Rick Farina  gentoo.org>

 sys-power/uhubctl/Manifest |  1 +
 sys-power/uhubctl/uhubctl-2.5.0.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
index 9d19870f6ab4..bb3845072e4c 100644
--- a/sys-power/uhubctl/Manifest
+++ b/sys-power/uhubctl/Manifest
@@ -1 +1,2 @@
 DIST uhubctl-2.4.0.tar.gz 25661 BLAKE2B 
44d1fa0ce92beb3c4c3e2d21c8acb982f71f2e450afffb8c467c488495f389b745ba437c6fbbe3049cd3f67a73fa8bda6ed9c987ab1326f12db59623ee107ece
 SHA512 
d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d
+DIST uhubctl-2.5.0.tar.gz 28241 BLAKE2B 
419e6e0a457eae05e8a9fbf5c66377f4b809d8f1cb7cd9af8055a0f12b4b96a82a34850ef39ae8ddabf919ec2858747ed121d57850c2318b59fabfad9086bd87
 SHA512 
2b902b7e1df788dd1d4720dcbc630c958e80619dee3bfe4bad222a089b7f2735c6189e5e7d497ce3782e6b6ee193906ea955621cf328a4022bce15f1179b1fda

diff --git a/sys-power/uhubctl/uhubctl-2.5.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.5.0.ebuild
new file mode 100644
index ..e8ec52411eb4
--- /dev/null
+++ b/sys-power/uhubctl/uhubctl-2.5.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "s/^GIT_VERSION/#&/" \
+   Makefile \
+   || die
+
+   tc-export PKG_CONFIG
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2021-04-27 Thread Sam James
commit: 4e2a73e2ad4c5b5165d04e894fbd679b5b1c1963
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 27 20:10:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 27 20:17:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2a73e2

sys-power/uhubctl: add virtual/pkgconfig BDEPEND

It's technically optional in the Makefile but we don't
want the non-pkgconfig path in Gentoo (causes various
issues, including on Prefix or other non-standard setups).

Signed-off-by: Sam James  gentoo.org>

 sys-power/uhubctl/uhubctl-2.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-power/uhubctl/uhubctl-2.4.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
index f6215f8b5de..9d01116874f 100644
--- a/sys-power/uhubctl/uhubctl-2.4.0.ebuild
+++ b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
@@ -16,6 +16,7 @@ IUSE=""
 
 DEPEND="virtual/libusb:1"
 RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2021-04-27 Thread Rick Farina
commit: 4cf0541073b36bce46e090d1de0071ffbee36916
Author: Ruben Rodriguez Buchillon  chromium  org>
AuthorDate: Thu Feb 18 02:30:29 2021 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Apr 27 19:56:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf05410

sys-power/uhubctl: export pkg-config

2.4.0 uhubctl honors tc-export of pkg-config. Use it here.

Signed-off-by: Ruben Rodriguez Buchillon  chromium.org>
Signed-off-by: Rick Farina  gentoo.org>

 sys-power/uhubctl/uhubctl-2.4.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-power/uhubctl/uhubctl-2.4.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
index 094e1cc2428..f6215f8b5de 100644
--- a/sys-power/uhubctl/uhubctl-2.4.0.ebuild
+++ b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
@@ -24,6 +24,8 @@ src_prepare() {
-e "s/^GIT_VERSION/#&/" \
Makefile \
|| die
+
+   tc-export PKG_CONFIG
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2021-02-17 Thread Rick Farina
commit: 9d09ad338deae8f2c11035d6ec2ba1540a41f08c
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Feb 17 15:26:37 2021 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Feb 17 15:26:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d09ad33

sys-power/uhubctl: bump

drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Rick Farina  gentoo.org>

 sys-power/uhubctl/Manifest  |  3 +--
 sys-power/uhubctl/uhubctl-1.8-r1.ebuild | 21 -
 .../{uhubctl-2.3.0.ebuild => uhubctl-2.4.0.ebuild}  |  0
 3 files changed, 1 insertion(+), 23 deletions(-)

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

diff --git a/sys-power/uhubctl/uhubctl-1.8-r1.ebuild 
b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
deleted file mode 100644
index b4d0bbc30d7..000
--- a/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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() {
-   sed -i "s#\$(shell git describe --abbrev=4 --dirty --always 
--tags)#${PV}#" Makefile || die
-   eapply_user
-}

diff --git a/sys-power/uhubctl/uhubctl-2.3.0.ebuild 
b/sys-power/uhubctl/uhubctl-2.4.0.ebuild
similarity index 100%
rename from sys-power/uhubctl/uhubctl-2.3.0.ebuild
rename to sys-power/uhubctl/uhubctl-2.4.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2021-02-01 Thread Thomas Deutschmann
commit: dfaba443b3bee43a7cd3bca699a899453754a1a8
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Feb  1 21:59:44 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Feb  1 21:59:52 2021 +
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  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 000..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)"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2019-07-15 Thread Michał Górny
commit: bc5c5b93df90ea7f1af4e7fdc928ebb284ca5891
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 15 15:27:02 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 15 15:27:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5c5b93

sys-power/uhubctl: Sort KEYWORDS

Signed-off-by: Michał Górny  gentoo.org>

 sys-power/uhubctl/uhubctl-1.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/uhubctl/uhubctl-1.8-r1.ebuild 
b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
index 743f2d6cbba..b4d0bbc30d7 100644
--- a/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
+++ b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mvp/uhubctl/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~arm"
+KEYWORDS="~amd64 ~arm ~x86"
 IUSE=""
 
 DEPEND="virtual/libusb:1"



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2017-12-08 Thread Thomas Deutschmann
commit: 805c46d0068066fe52f938925dc8511a80f65848
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Dec  8 13:25:52 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Dec  8 13:25:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805c46d0

sys-power/uhubctl: Fix metadata.xml

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-power/uhubctl/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml
index b4ca965f410..f4c696b2c61 100644
--- a/sys-power/uhubctl/metadata.xml
+++ b/sys-power/uhubctl/metadata.xml
@@ -5,6 +5,4 @@
Rick Farina
zeroch...@gentoo.org

-   
-   
 



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2017-12-08 Thread Thomas Deutschmann
commit: 5e9aa14f330021593ec3d0c1e05fac5dd133124b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Dec  8 13:24:42 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Dec  8 13:24:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9aa14f

sys-power/uhubctl: Rev bump to fix BadFilename QA warning

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-power/uhubctl/Manifest  | 2 +-
 sys-power/uhubctl/{uhubctl-1.8.ebuild => uhubctl-1.8-r1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
index cbc78b85514..1a41656f34d 100644
--- a/sys-power/uhubctl/Manifest
+++ b/sys-power/uhubctl/Manifest
@@ -1 +1 @@
-DIST v1.8.tar.gz 16158 BLAKE2B 
1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451
 SHA512 
fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d
+DIST uhubctl-1.8.tar.gz 16158 BLAKE2B 
1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451
 SHA512 
fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d

diff --git a/sys-power/uhubctl/uhubctl-1.8.ebuild 
b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
similarity index 79%
rename from sys-power/uhubctl/uhubctl-1.8.ebuild
rename to sys-power/uhubctl/uhubctl-1.8-r1.ebuild
index 90759ede5c1..743f2d6cbba 100644
--- a/sys-power/uhubctl/uhubctl-1.8.ebuild
+++ b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
@@ -5,14 +5,14 @@ EAPI=6
 
 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;
+SRC_URI="https://github.com/mvp/uhubctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~arm"
 IUSE=""
 
-DEPEND="dev-libs/libusb:1"
+DEPEND="virtual/libusb:1"
 RDEPEND="${DEPEND}"
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sys-power/uhubctl/

2017-12-07 Thread Richard Farina
commit: b6e92d84d0b943c435c4fbd271079ff4cd4a42ff
Author: Zero_Chaos  gentoo  org>
AuthorDate: Thu Dec  7 16:37:32 2017 +
Commit: Richard Farina  gentoo  org>
CommitDate: Thu Dec  7 16:37:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e92d84

sys-power/uhubctl:  initial ebuild

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-power/uhubctl/Manifest   |  1 +
 sys-power/uhubctl/metadata.xml   | 10 ++
 sys-power/uhubctl/uhubctl-1.8.ebuild | 21 +
 3 files changed, 32 insertions(+)

diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
new file mode 100644
index 000..cbc78b85514
--- /dev/null
+++ b/sys-power/uhubctl/Manifest
@@ -0,0 +1 @@
+DIST v1.8.tar.gz 16158 BLAKE2B 
1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451
 SHA512 
fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d

diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml
new file mode 100644
index 000..b4ca965f410
--- /dev/null
+++ b/sys-power/uhubctl/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Rick Farina
+   zeroch...@gentoo.org
+   
+   
+   
+

diff --git a/sys-power/uhubctl/uhubctl-1.8.ebuild 
b/sys-power/uhubctl/uhubctl-1.8.ebuild
new file mode 100644
index 000..90759ede5c1
--- /dev/null
+++ b/sys-power/uhubctl/uhubctl-1.8.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm"
+IUSE=""
+
+DEPEND="dev-libs/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   sed -i "s#\$(shell git describe --abbrev=4 --dirty --always 
--tags)#${PV}#" Makefile || die
+   eapply_user
+}