projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd1d21
)
dev-python/wurlitzer: use distutils_enable_tests
author
Joonas Niilola
<juippis@gentoo.org>
Wed, 15 Jan 2020 11:17:59 +0000
(13:17 +0200)
committer
Joonas Niilola
<juippis@gentoo.org>
Wed, 15 Jan 2020 11:51:58 +0000
(13:51 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
b/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
index aa2a9e30d1817516afefe5bf70ec3b1a2ecd0b6b..c52bb20f6ac8a80ae2f2cf917b14b4694173f75a 100644
(file)
--- a/
dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
+++ b/
dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
@@
-12,13
+12,13
@@
HOMEPAGE="https://github.com/minrk/wurlitzer https://pypi.org/project/wurlitzer"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
IUSE="test"
-RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+distutils_enable_tests pytest
python_test() {
pytest -vv test.py || die "Tests fail with ${EPYTHON}"