projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34396b1
)
dev-python/pylint: Disarm unused pytest-runner dep, #618666
author
Michał Górny
<mgorny@gentoo.org>
Tue, 16 May 2017 21:33:16 +0000
(23:33 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Tue, 16 May 2017 21:39:49 +0000
(23:39 +0200)
dev-python/pylint/pylint-1.7.1-r1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/pylint/pylint-1.7.1-r1.ebuild
b/dev-python/pylint/pylint-1.7.1-r1.ebuild
index a26d98dcba5725d927bb4686c6e412f458085a79..4aa65c9ed8783b0951481c86f738ed2175b634ac 100644
(file)
--- a/
dev-python/pylint/pylint-1.7.1-r1.ebuild
+++ b/
dev-python/pylint/pylint-1.7.1-r1.ebuild
@@
-34,6
+34,13
@@
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}] )"
+python_prepare_all() {
+ # remove unused dep
+ sed -i -e '/pytest-runner/d' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml