1
0
Fork 0

app-misc/python-dice: improved test support

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-05-12 04:26:49 -04:00
parent ffc7ade52a
commit 2620e767a7
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,6 @@
12 May 2020; <chymera@gentoo.org> python-dice-3.1.0.ebuild:
app-misc/python-dice: improved test support
*python-dice-3.1.0 (17 Dec 2019) *python-dice-3.1.0 (17 Dec 2019)
17 Dec 2019; <chymera@gentoo.org> +python-dice-3.1.0.ebuild, 17 Dec 2019; <chymera@gentoo.org> +python-dice-3.1.0.ebuild,

View File

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
PYTHON_COMPAT=( python3_6 ) PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1 inherit distutils-r1
@ -17,7 +17,6 @@ KEYWORDS="~amd64"
IUSE="test" IUSE="test"
DEPEND="test? ( DEPEND="test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}]
) )
" "
@ -33,6 +32,4 @@ src_prepare() {
default default
} }
python_test() { distutils_enable_tests pytest
pytest -vv || die
}