app-admin/ananicy: tentative ebuild

not sure if I'm missing something for python
please review

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-03-18 02:34:49 +01:00
parent 20167cce02
commit c8a1a7c767
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8,9} )
inherit python-any-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"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="sys-apps/systemd"
S="${WORKDIR}/${P^}"
DOCS=( README.md )
src_compile() {
return
}
src_install() {
emake PREFIX="${ED}" install
python_fix_shebang "${ED}/usr/bin/ananicy"
einstalldocs
}