summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-13 05:13:14 +0100
committerSam James <sam@gentoo.org>2021-07-13 05:13:14 +0100
commitaf25363fd96c9802defaaff6ea38786d9c987d73 (patch)
tree687ce84ff8579a428d5904ee767624f7ac4e4e73 /app-admin/ananicy
parentapp-admin/ananicy: initial import (diff)
downloadgentoo-af25363fd96c9802defaaff6ea38786d9c987d73.tar.gz
gentoo-af25363fd96c9802defaaff6ea38786d9c987d73.tar.bz2
gentoo-af25363fd96c9802defaaff6ea38786d9c987d73.zip
app-admin/ananicy: update EAPI 7 -> 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/ananicy')
-rw-r--r--app-admin/ananicy/ananicy-2.2.1-r1.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild
index 7f383bf36891..d2188b3b440d 100644
--- a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild
+++ b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
@@ -15,15 +15,17 @@ S="${WORKDIR}/${P^}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ sys-process/schedtool"
BDEPEND="${PYTHON_DEPS}"
-RDEPEND="
- ${BDEPEND}
- sys-process/schedtool
-"
+
DOCS=( README.md )
-PATCHES=( "${FILESDIR}/${PN}-fix-sysctl-path.patch" )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-fix-sysctl-path.patch"
+)
src_compile() {
return
@@ -31,7 +33,9 @@ src_compile() {
src_install() {
emake PREFIX="${D}" install
- python_fix_shebang "${ED}/usr/bin/ananicy"
- doinitd "${FILESDIR}/ananicy.initd"
+
+ python_fix_shebang "${ED}"/usr/bin/ananicy
+ doinitd "${FILESDIR}"/ananicy.initd
+
einstalldocs
}