From fbec5fbdba3df94db37a5fcfcd0a1751e568e571 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 13 Nov 2016 13:45:01 -0800 Subject: [PATCH] dev-python/yarl: disable pytest-runner requirement (bug 599672) Package-Manager: portage-2.3.2 --- dev-python/yarl/yarl-0.7.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/yarl/yarl-0.7.0.ebuild b/dev-python/yarl/yarl-0.7.0.ebuild index 260259aa619a..07320e7adbc5 100644 --- a/dev-python/yarl/yarl-0.7.0.ebuild +++ b/dev-python/yarl/yarl-0.7.0.ebuild @@ -19,6 +19,12 @@ IUSE="test" DEPEND="test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}]" +src_prepare() { + # pytest-runner is not really required unless tests are enabled + sed -e "s:'pytest-runner',\\?::" -i setup.py || die + distutils-r1_src_prepare +} + python_test() { esetup.py test || die } -- 2.26.2