From 178245b76b4c736fd0cd1e52a8e826a7b47fc832 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 24 Apr 2020 10:54:11 +0200 Subject: [PATCH] app-portage/gentoolkit: Enable tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-portage/gentoolkit/gentoolkit-0.5.0.ebuild | 6 ++---- app-portage/gentoolkit/gentoolkit-9999.ebuild | 9 ++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app-portage/gentoolkit/gentoolkit-0.5.0.ebuild b/app-portage/gentoolkit/gentoolkit-0.5.0.ebuild index 34ae357f65de..fff875e880ec 100644 --- a/app-portage/gentoolkit/gentoolkit-0.5.0.ebuild +++ b/app-portage/gentoolkit/gentoolkit-0.5.0.ebuild @@ -25,6 +25,8 @@ 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 +34,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 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 -- 2.26.2