summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-24 10:54:11 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-24 11:03:25 +0200
commit178245b76b4c736fd0cd1e52a8e826a7b47fc832 (patch)
treec6408ab328941ee6d9d1e07d464bbf8608f38cd1 /app-portage/gentoolkit/gentoolkit-9999.ebuild
parentapp-portage/gentoolkit: Bump to 0.5.0 (diff)
downloadgentoo-178245b76b4c736fd0cd1e52a8e826a7b47fc832.tar.gz
gentoo-178245b76b4c736fd0cd1e52a8e826a7b47fc832.tar.bz2
gentoo-178245b76b4c736fd0cd1e52a8e826a7b47fc832.zip
app-portage/gentoolkit: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage/gentoolkit/gentoolkit-9999.ebuild')
-rw-r--r--app-portage/gentoolkit/gentoolkit-9999.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/app-portage/gentoolkit/gentoolkit-9999.ebuild b/app-portage/gentoolkit/gentoolkit-9999.ebuild
index 1bb4f4cc13d5..39237afdc316 100644
--- a/app-portage/gentoolkit/gentoolkit-9999.ebuild
+++ b/app-portage/gentoolkit/gentoolkit-9999.ebuild
@@ -20,11 +20,14 @@ IUSE=""
KEYWORDS=""
-DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
+DEPEND="
+ sys-apps/portage[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
sys-apps/gawk
sys-apps/gentoo-functions"
+distutils_enable_tests setup.py
+
python_prepare_all() {
python_setup
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
@@ -32,10 +35,6 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-python_install_all() {
- distutils-r1_python_install_all
-}
-
pkg_preinst() {
if has_version "<${CATEGORY}/${PN}-0.4.0"; then
SHOW_GENTOOKIT_DEV_DEPRECATED_MSG=1