mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -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"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND="
|
distutils_enable_tests setup.py
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -i -e "s/distribute/setuptools/g" setup.py
|
sed -i -e "s/distribute/setuptools/g" setup.py
|
||||||
eapply_user
|
eapply_user
|
||||||
}
|
}
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${PYTHON}" setup.py test || die
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user