mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-admin/ananicy: move to pithon-single-r1 eclass
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
|
||||
|
||||
inherit python-any-r1
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="ANother Auto NICe daemon"
|
||||
HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"
|
||||
@@ -19,18 +19,14 @@ DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${P^}"
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare(){
|
||||
sed -e 's|\/sbin\/sysctl|\/usr\/sbin\/sysctl|g' -i ananicy.service || die
|
||||
default
|
||||
}
|
||||
PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" )
|
||||
|
||||
src_compile() {
|
||||
return
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}" install
|
||||
emake PREFIX="${D}" install
|
||||
python_fix_shebang "${ED}/usr/bin/ananicy"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user