commit:     b48847a629594c45b2a4140b2c074f318e8c728f
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 18 20:45:45 2018 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Mon Jun 18 20:55:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b48847a6

dev-python/pygal: fix build when pytest-runner isn't installed

Closes: https://bugs.gentoo.org/658420
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pygal/pygal-2.4.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/pygal/pygal-2.4.0.ebuild 
b/dev-python/pygal/pygal-2.4.0.ebuild
index 43ff035e62b..2a15528e4bb 100644
--- a/dev-python/pygal/pygal-2.4.0.ebuild
+++ b/dev-python/pygal/pygal-2.4.0.ebuild
@@ -38,6 +38,8 @@ DOCS=( docs/changelog.rst README.md )
 
 python_prepare_all() {
        sed -i "/sphinx.ext.intersphinx/d" docs/conf.py || die
+       # Not actually required unless we want to do setup.py test
+       sed -i "s/'pytest-runner'\(,\)\?//" setup.py || die
        distutils-r1_python_prepare_all
 }
 

Reply via email to