From: Michał Górny Date: Tue, 16 May 2017 21:33:16 +0000 (+0200) Subject: dev-python/pylint: Disarm unused pytest-runner dep, #618666 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=02f69dc1097032a433821834c4e37d4f9f80d5a4;p=gentoo.git dev-python/pylint: Disarm unused pytest-runner dep, #618666 --- diff --git a/dev-python/pylint/pylint-1.7.1-r1.ebuild b/dev-python/pylint/pylint-1.7.1-r1.ebuild index a26d98dcba57..4aa65c9ed878 100644 --- 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