aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2017-09-23 13:58:22 +0100
committerPaul Healy <lmiphay@gmail.com>2017-09-23 13:58:22 +0100
commita074f000dfb97ea8e45c9f9e726974a42f7ef58b (patch)
treed1fc7991a27d7dc98239a6a2d6ee0850f7eaeed6 /app-portage
parentremove old opengrok ebuilds (diff)
downloadlmiphay-a074f000dfb97ea8e45c9f9e726974a42f7ef58b.tar.gz
lmiphay-a074f000dfb97ea8e45c9f9e726974a42f7ef58b.tar.bz2
lmiphay-a074f000dfb97ea8e45c9f9e726974a42f7ef58b.zip
cleaning up oam ebuild
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/oam/Manifest2
-rw-r--r--app-portage/oam/oam-9999.ebuild42
2 files changed, 18 insertions, 26 deletions
diff --git a/app-portage/oam/Manifest b/app-portage/oam/Manifest
index 68c9887..3d4aec2 100644
--- a/app-portage/oam/Manifest
+++ b/app-portage/oam/Manifest
@@ -1 +1 @@
-EBUILD oam-9999.ebuild 1334 SHA256 ea1744456586001b67868c6791d678e39ac6a954c67aacab284e0fb13363c80b SHA512 d1a8f83a4d422a9e48dc2f3d99b67834d99da9436b37d3b7686cf88541c1731e0aef2421d6254c908fa2c1abba83797dacc32e1c6a547d51a7cbfad585f75222 WHIRLPOOL 065acf2b9fac6c1436047a4ca17332cf4f088391ca3b1a31a5dc1d9734dc5ab818db122334dbffcc22106bdc00adfb8002056d08c8860f592fea88a1c814aaf5
+EBUILD oam-9999.ebuild 1277 SHA256 e4923919956716c7ea0ff379cc159f5e4f8862e34c80ec89e99bae570f5ce3ca SHA512 1eae71a25de9acebd812b9d91c28c1facf64f4e9313b6e6bd9995ad6d6d8d60d7e2591cdf0b42ad113178d0161882d586296a2a78e0e396e5bd49e61eda8cd62 WHIRLPOOL 0dddc1dcf2e34062e709df3a5849f085138f3e5dbdd9819a5240881a162f54861484b830fe9beab980d55b4253f9368948ebaeab6722d33f31b8ecb1d2c03f69
diff --git a/app-portage/oam/oam-9999.ebuild b/app-portage/oam/oam-9999.ebuild
index a9d66b1..fdc6bc1 100644
--- a/app-portage/oam/oam-9999.ebuild
+++ b/app-portage/oam/oam-9999.ebuild
@@ -3,45 +3,38 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python2_7 pypy )
inherit user distutils-r1 bash-completion-r1 git-r3
-DESCRIPTION="Automatation for common tasks around gentoo server upkeep"
+DESCRIPTION="Operations and maintenance automation for gentoo servers"
HOMEPAGE="https://github.com/lmiphay/oam"
EGIT_REPO_URI="https://github.com/lmiphay/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+completion +lnav +ranger"
+KEYWORDS="~amd64"
+IUSE="+lnav +ranger"
-# >=bash-4.3 is needed for 'local -n / declare -n'
RDEPEND="
${PYTHON_DEPS}
lnav? ( app-admin/lnav )
app-admin/logrotate
- app-misc/screen
ranger? ( app-misc/ranger )
app-portage/genlop
app-portage/gentoolkit
app-portage/portage-utils
- >=app-shells/bash-4.3
- completion? ( app-shells/bash-completion )
app-text/multitail
- dev-lang/perl
- dev-python/attrdict
- dev-python/click
- dev-python/eliot
- dev-python/eliot-tree
- dev-python/inotifyx
- >=dev-python/invoke-0.21.0
- dev-python/jinja
- dev-python/psutil
- dev-python/pyyaml
- sys-apps/moreutils[perl]
- sys-fs/inotify-tools
- virtual/python-enum34
+ dev-python/attrdict[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/eliot[${PYTHON_USEDEP}]
+ dev-python/eliot-tree[${PYTHON_USEDEP}]
+ dev-python/inotifyx[${PYTHON_USEDEP}]
+ >=dev-python/invoke-0.21.0[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -54,13 +47,12 @@ pkg_setup() {
enewgroup oam
}
-src_install() {
- emake DESTDIR="${D}" install
+python_install_all() {
dodoc ${DOCS}
- distutils-r1_src_install
newbashcomp etc/bash.completion oam
+ distutils-r1_python_install_all
}
-src_test() {
+python_test() {
true
}