blob: 7f383bf368917af50a11890f734f3a050e11e71f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit python-single-r1
DESCRIPTION="ANother Auto NICe daemon"
HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"
SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P^}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="${PYTHON_DEPS}"
RDEPEND="
${BDEPEND}
sys-process/schedtool
"
DOCS=( README.md )
PATCHES=( "${FILESDIR}/${PN}-fix-sysctl-path.patch" )
src_compile() {
return
}
src_install() {
emake PREFIX="${D}" install
python_fix_shebang "${ED}/usr/bin/ananicy"
doinitd "${FILESDIR}/ananicy.initd"
einstalldocs
}
|