summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-05-27 09:45:07 -0700
committerZac Medico <zmedico@gentoo.org>2019-05-27 09:47:34 -0700
commitb1c12dbc3f1f40f49fe84cf1331fe1caee47fa31 (patch)
treebc2f6f884ba0e7318bb7e58f70b10d3d1f5ffb00 /app-portage
parentwww-client/opera: Version 60.0.3255.109 (diff)
downloadgentoo-b1c12dbc3f1f40f49fe84cf1331fe1caee47fa31.tar.gz
gentoo-b1c12dbc3f1f40f49fe84cf1331fe1caee47fa31.tar.bz2
gentoo-b1c12dbc3f1f40f49fe84cf1331fe1caee47fa31.zip
app-portage/mirrorselect: implement python_test for 9999
Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/mirrorselect/mirrorselect-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-portage/mirrorselect/mirrorselect-9999.ebuild b/app-portage/mirrorselect/mirrorselect-9999.ebuild
index d93b586c58dd..5d2c102afc2b 100644
--- a/app-portage/mirrorselect/mirrorselect-9999.ebuild
+++ b/app-portage/mirrorselect/mirrorselect-9999.ebuild
@@ -27,13 +27,17 @@ RDEPEND="
"
python_prepare_all() {
- python_export_best
+ python_setup
eprefixify setup.py mirrorselect/main.py
echo Now setting version... VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version
VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed"
distutils-r1_python_prepare_all
}
+python_test() {
+ esetup.py test || die "tests failed under ${EPYTHON}"
+}
+
pkg_postinst() {
distutils-r1_pkg_postinst