projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78047b6
)
dev-python/yarl: disable pytest-runner requirement (bug 599672)
author
Zac Medico
<zmedico@gentoo.org>
Sun, 13 Nov 2016 21:45:01 +0000
(13:45 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 13 Nov 2016 21:46:26 +0000
(13:46 -0800)
Package-Manager: portage-2.3.2
dev-python/yarl/yarl-0.7.0.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/yarl/yarl-0.7.0.ebuild
b/dev-python/yarl/yarl-0.7.0.ebuild
index 260259aa619ae94c83e41ce515abff036e7b9209..07320e7adbc59be918a229f64f835fff2239b899 100644
(file)
--- a/
dev-python/yarl/yarl-0.7.0.ebuild
+++ b/
dev-python/yarl/yarl-0.7.0.ebuild
@@
-19,6
+19,12
@@
IUSE="test"
DEPEND="test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
+src_prepare() {
+ # pytest-runner is not really required unless tests are enabled
+ sed -e "s:'pytest-runner',\\?::" -i setup.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
esetup.py test || die
}