From 02f69dc1097032a433821834c4e37d4f9f80d5a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 16 May 2017 23:33:16 +0200 Subject: [PATCH] dev-python/pylint: Disarm unused pytest-runner dep, #618666 --- dev-python/pylint/pylint-1.7.1-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.26.2