From 50eaf9a25035b5ad09efa36ed0592f0a46bd32ba Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Mon, 2 Mar 2020 20:41:15 +0100 Subject: [PATCH] dev-python/glicko2: Add distutils_enable_tests it does the same, but it's shorter Package-Manager: Portage-2.3.91, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan --- dev-python/glicko2/glicko2-9999.ebuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/dev-python/glicko2/glicko2-9999.ebuild b/dev-python/glicko2/glicko2-9999.ebuild index 2caf8b183d..c23bbee1ff 100644 --- a/dev-python/glicko2/glicko2-9999.ebuild +++ b/dev-python/glicko2/glicko2-9999.ebuild @@ -20,18 +20,10 @@ HOMEPAGE="https://github.com/sublee/glicko2" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" +distutils_enable_tests setup.py src_prepare() { sed -i -e "s/distribute/setuptools/g" setup.py eapply_user } - -python_test() { - "${PYTHON}" setup.py test || die -}