From: Michał Górny Date: Fri, 24 Apr 2020 08:54:11 +0000 (+0200) Subject: app-portage/gentoolkit: Enable tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=178245b76b4c736fd0cd1e52a8e826a7b47fc832;p=gentoo.git app-portage/gentoolkit: Enable tests Signed-off-by: Michał Górny --- 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