From d2fec62a0d064f9446febd2542c41d18add08b88 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sat, 6 Feb 2021 15:27:55 +0100 Subject: [PATCH] sys-power/uhubctl: Add new package version 2.3.0 (and live) Package-Manager: Portage-3.0.14, Repoman-3.0.2 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank --- sys-power/uhubctl/Manifest | 22 ++++++++++++++++++++ sys-power/uhubctl/metadata.xml | 8 ++++++++ sys-power/uhubctl/uhubctl-2.3.0.ebuild | 28 ++++++++++++++++++++++++++ sys-power/uhubctl/uhubctl-9999.ebuild | 28 ++++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 sys-power/uhubctl/Manifest create mode 100644 sys-power/uhubctl/metadata.xml create mode 100644 sys-power/uhubctl/uhubctl-2.3.0.ebuild create mode 100644 sys-power/uhubctl/uhubctl-9999.ebuild diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest new file mode 100644 index 0000000..3d5927b --- /dev/null +++ b/sys-power/uhubctl/Manifest @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST uhubctl-2.3.0.tar.gz 25367 BLAKE2B 7e5b6bf5f4a76e90a78292b23127af366e3388ffb8565fc1d763b9bd45faf0518411996a307a42c62827006ef9488e39282c95b2ba6c0bc289863cec7c91ac25 SHA512 e1ddc8d20b626e99facd8b0e6b746e2fdcaec667c7b280b656aa608b7990cfac1ea3e5379e89d0b1be8756ba5e91485ad003eb2bd5dfb3cc3c9cdf3d18ad1bd3 +-----BEGIN PGP SIGNATURE----- + +iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmAepuhfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy +MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt +KyFVuQ//eCUGMDw+mQliSl21TtzZb6mAq/fgaWFu86+9O9dqFXSsN99FBhp3NMfl +8Nf4MtAhnpySREE5TvWv41Z0FQVNwDBuc8GlCWKA8jX+0Mmxz3zkxZHj3tWiJ9np +REfiKDCxb/bYZEgwh397njsNbDnCi69xfjqy4R9X5WVWSiJZaqLvPuANyMLd9ctZ +6+cWvJN408L4PuzqfpsvgfDo2jjBexG5qXhO+0yv88pAOJQi3RrKI9vnYKZyI28p +LpOXWMUSvnUc8Oe+Dk0RrdT0HlCVEAXdhpQDMI6LLHvUp0jEF4MUI5itvTP7c0zh +D1RlFxWzoEY1HSSt3poPsnlefUIymWl0+Lf6XapIl1g53vezdVB8KR4+sCppPKB/ +oWmcILQJI7RgV7LOBmYG4SvnbwgbH7fP9qeTXlAja6bZkavM34mCyZylFsXXs6m1 +R4E4E9kCI6mLz+haVXpkNivZ0abeZ9R/dE3gzQOfjOaGFqpb0WkisxaK25zA6ad0 +u9IVI6KERV6S8yZKBN9TIm1+dDgV5+PIoKHszF5mzodikv5iLTkBid3vo7x7Qwor +7jjgO3T8tuo//uPOlg2BlxN8KzxI4Wcqp2acWgdUbhz5ReuB+LDPRIsytUlSMwdO +ai10QVu+FAbHKcwhuVdyst8nadX/vYmRM951F6uJvTYHofMtdZg= +=oCht +-----END PGP SIGNATURE----- diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml new file mode 100644 index 0000000..921c966 --- /dev/null +++ b/sys-power/uhubctl/metadata.xml @@ -0,0 +1,8 @@ + + + + + Nils Freydank + holgersson@posteo.de + + 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 0000000..7c8da7f --- /dev/null +++ b/sys-power/uhubctl/uhubctl-2.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="USB hub per-port power control" +HOMEPAGE="https://github.com/mvp/uhubctl" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EIGT_REPO_URI="${HOMEPAGE}" +else + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i "s#\$(shell git describe --abbrev=4 --dirty --always --tags)#${PV}#" Makefile || die + + default +} diff --git a/sys-power/uhubctl/uhubctl-9999.ebuild b/sys-power/uhubctl/uhubctl-9999.ebuild new file mode 100644 index 0000000..7c8da7f --- /dev/null +++ b/sys-power/uhubctl/uhubctl-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="USB hub per-port power control" +HOMEPAGE="https://github.com/mvp/uhubctl" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EIGT_REPO_URI="${HOMEPAGE}" +else + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i "s#\$(shell git describe --abbrev=4 --dirty --always --tags)#${PV}#" Makefile || die + + default +}