mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
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 <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user