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:
parent
ffc7ade52a
commit
2620e767a7
|
@ -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,
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue