summaryrefslogtreecommitdiff
path: root/app-laptop/tpacpi-bat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-01 03:14:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-01 03:14:33 +0100
commit0c764edfecb7e9e124d4669acd98bed09e23b6c0 (patch)
tree2862ab17d2f88cb7c9614b7fbe579f25ae604b8d /app-laptop/tpacpi-bat
parentae1bf373db295b495e1f685d116e3411bf10df0b (diff)
gentoo auto-resync : 01:08:2022 - 03:14:32
Diffstat (limited to 'app-laptop/tpacpi-bat')
-rw-r--r--app-laptop/tpacpi-bat/Manifest6
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild32
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild (renamed from app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild)19
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild19
4 files changed, 22 insertions, 54 deletions
diff --git a/app-laptop/tpacpi-bat/Manifest b/app-laptop/tpacpi-bat/Manifest
index 6c01f26d4980..89530e0e1d3a 100644
--- a/app-laptop/tpacpi-bat/Manifest
+++ b/app-laptop/tpacpi-bat/Manifest
@@ -1,8 +1,6 @@
AUX tpacpi-bat.confd.1 668 BLAKE2B 88ebd00838e2ed0febbd1321e2ab13dfc4bea292f3f7f665b045370b960d5c462e1d4c139dfbf1061d1692d7acf79b8b794f3c51d4c3e626c9ca7ef515fc6c78 SHA512 570824184f85e9f4b687e67131165671389b836d94f15edbd4bd14c77b0c6546c2991da25bc0172ccdee03cc8c0ad82c378e982e147334e9cb83334d0382038b
AUX tpacpi-bat.initd.2 1488 BLAKE2B 43e196ae490ba367edc15b1b9a0ef81cc7f56fec33b7ee8e91251f66705d1c5e38caa65a803e8872344149e384ae0b162c6b30e540c38aeceb12958fa0386b86 SHA512 ccd84bc4cd44ed8a3b2c101501ae220d8add3b189f172e4ba5fe9532ba5a64a188b90054696cc60b7bc1b3d72f636649e4678c020c789933d0b4d25f6ffd386d
-DIST tpacpi-bat-3.0.tar.gz 18137 BLAKE2B db0db2c06d5bc78eb028cb0db2532e5500cce2370c23ab3bf1e49433b83ed2be7cfffe080e46c3699838ff00025d516dd37e071081f79c7d5d6293f4f49730d4 SHA512 2beab3e5495f028b53d673a4243a2128f4ff85e19e18ac7d53663a1d62e20b271442d6c2c8f19cb41d618ddf7ebb4d9b8390f7f185f77bdca33c69bb19463128
DIST tpacpi-bat-3.1.tar.gz 18584 BLAKE2B 5f1e890f33be4e0d176bda486d9e4363d56a7a933677eb69bedca9ec42e8af5a0e5494f8447702d33ffecda3d1d4a447a56f7aeb9480a3b855a24bce45028d38 SHA512 cdc9e0c0ded96281678199783b4c48ff85a497c90b244a7ce2276b54d7ae4bfa7eb430214bcdb6fabd7478796507b0fbe7fed4b1ab4bc4cdd7bd5ae25f943a77
-EBUILD tpacpi-bat-3.0-r1.ebuild 773 BLAKE2B da68abf31c6568a011261d1e8b70672483eb5fa8470a1d203588f282c725c884fe123e98ef8a906cff1894caaf07b92466b6e249fe098ddd2d1ae9d59a5b8775 SHA512 17a7917cb3e96d98be9143072e8a50016b5d6794c51c2e59784403e24d64ea75c2ba11c3386e63f375c92659c456a49907e34a47c0f146f3eb2fc7b0d206eb51
-EBUILD tpacpi-bat-3.1.ebuild 813 BLAKE2B e4072b3ec336ff4616e2c877b26db2af2861ab4af951b2efc2ca9c482aee90a62939497902b7fb315ea447ffa27d8ac11f568e6fb138e0e22de0a0ae992507af SHA512 15fcb6a1c24dc78173d4279e86df9112b3363b1857c2924aafe19307f6159c8057446b20ca3f3083005fc0dd2b571f65dc72d8a8a23775a4262180e4ffcb858c
-EBUILD tpacpi-bat-9999.ebuild 813 BLAKE2B e4072b3ec336ff4616e2c877b26db2af2861ab4af951b2efc2ca9c482aee90a62939497902b7fb315ea447ffa27d8ac11f568e6fb138e0e22de0a0ae992507af SHA512 15fcb6a1c24dc78173d4279e86df9112b3363b1857c2924aafe19307f6159c8057446b20ca3f3083005fc0dd2b571f65dc72d8a8a23775a4262180e4ffcb858c
+EBUILD tpacpi-bat-3.1-r1.ebuild 799 BLAKE2B 207ea4cf6217813ffee525eea23e3feb69d44be9c213ff346b6e94093338f61c2a1ce7bb9b6861258db41ceba1fcdea6a6814e598aad3d21d990f0b3e5e2648a SHA512 7e0b987d48d54633a7f0cbe667a1a3d08cde0814fe87e346dd531acc19ecfe8ac85ea9fbdddeeb75ae046161c18e08595188dd687ceec7b437e11b3de5431a60
+EBUILD tpacpi-bat-9999.ebuild 799 BLAKE2B 207ea4cf6217813ffee525eea23e3feb69d44be9c213ff346b6e94093338f61c2a1ce7bb9b6861258db41ceba1fcdea6a6814e598aad3d21d990f0b3e5e2648a SHA512 7e0b987d48d54633a7f0cbe667a1a3d08cde0814fe87e346dd531acc19ecfe8ac85ea9fbdddeeb75ae046161c18e08595188dd687ceec7b437e11b3de5431a60
MISC metadata.xml 339 BLAKE2B 6e26cad21d95bacf45fcf3ae51c05726a4c65549662929593054843831051a232a92d746b830816a195c12e41947d83440d610d28c570649b8881eed2f18ef24 SHA512 0703897b1761de25d6a9735e69029e99693027a5556822174266d09211efc925175c3f96e888be33e9d19733367aaa80beb13f2932ec46812b8488a2cc2ac9c2
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild
deleted file mode 100644
index 0751d72324c5..000000000000
--- a/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd
-
-if [ "${PV}" = "9999" ]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
-else
- SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="sys-power/acpi_call
- dev-lang/perl"
-
-src_install() {
- dodoc README battery_asl
- dobin tpacpi-bat
- newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
- systemd_newunit tpacpi.service ${PN}.service
-}
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild
index 39f5df050623..74b72ce18688 100644
--- a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild
@@ -1,31 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit systemd
-if [ "${PV}" = "9999" ]; then
+DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
+HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
+
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
else
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
-DEPEND=""
-RDEPEND="sys-power/acpi_call
+RDEPEND="
+ sys-power/acpi_call
dev-lang/perl"
src_install() {
- dodoc README.md battery_asl
dobin tpacpi-bat
+ dodoc README.md battery_asl
+
newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
systemd_newunit examples/systemd_fixed_threshold/tpacpi.service \
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
index 39f5df050623..74b72ce18688 100644
--- a/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
@@ -1,31 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit systemd
-if [ "${PV}" = "9999" ]; then
+DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
+HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
+
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
else
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
-DEPEND=""
-RDEPEND="sys-power/acpi_call
+RDEPEND="
+ sys-power/acpi_call
dev-lang/perl"
src_install() {
- dodoc README.md battery_asl
dobin tpacpi-bat
+ dodoc README.md battery_asl
+
newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
systemd_newunit examples/systemd_fixed_threshold/tpacpi.service \