commit:     02f69dc1097032a433821834c4e37d4f9f80d5a4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 21:33:16 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 16 21:39:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f69dc1

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 a26d98dcba5..4aa65c9ed87 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

Reply via email to