1 |
commit: fb26f1a928bc51e8d7f133cb9c818a9468ac071f |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 22:51:48 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 22:51:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb26f1a9 |
7 |
|
8 |
app-laptop/tpacpi-bat: update EAPI 6 -> 8 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
...tpacpi-bat-3.1.ebuild => tpacpi-bat-3.1-r1.ebuild} | 19 ++++++++++--------- |
13 |
1 file changed, 10 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild |
16 |
similarity index 85% |
17 |
rename from app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild |
18 |
rename to app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild |
19 |
index 39f5df050623..74b72ce18688 100644 |
20 |
--- a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild |
21 |
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild |
22 |
@@ -1,31 +1,32 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
+EAPI=8 |
29 |
|
30 |
inherit systemd |
31 |
|
32 |
-if [ "${PV}" = "9999" ]; then |
33 |
+DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi" |
34 |
+HOMEPAGE="https://github.com/teleshoes/tpacpi-bat" |
35 |
+ |
36 |
+if [[ ${PV} == *9999 ]]; then |
37 |
inherit git-r3 |
38 |
EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git" |
39 |
else |
40 |
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
KEYWORDS="~amd64" |
42 |
fi |
43 |
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi" |
44 |
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat" |
45 |
|
46 |
LICENSE="GPL-3" |
47 |
SLOT="0" |
48 |
-IUSE="" |
49 |
|
50 |
-DEPEND="" |
51 |
-RDEPEND="sys-power/acpi_call |
52 |
+RDEPEND=" |
53 |
+ sys-power/acpi_call |
54 |
dev-lang/perl" |
55 |
|
56 |
src_install() { |
57 |
- dodoc README.md battery_asl |
58 |
dobin tpacpi-bat |
59 |
+ dodoc README.md battery_asl |
60 |
+ |
61 |
newinitd "${FILESDIR}"/${PN}.initd.2 ${PN} |
62 |
newconfd "${FILESDIR}"/${PN}.confd.1 ${PN} |
63 |
systemd_newunit examples/systemd_fixed_threshold/tpacpi.service \ |