diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-24 10:54:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-24 11:03:25 +0200 |
commit | 178245b76b4c736fd0cd1e52a8e826a7b47fc832 (patch) | |
tree | c6408ab328941ee6d9d1e07d464bbf8608f38cd1 /app-portage | |
parent | app-portage/gentoolkit: Bump to 0.5.0 (diff) | |
download | gentoo-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')
-rw-r--r-- | app-portage/gentoolkit/gentoolkit-0.5.0.ebuild | 6 | ||||
-rw-r--r-- | 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 |