diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/slackclient/slackclient-2.5.0.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-python/slackclient/slackclient-2.5.0.ebuild b/dev-python/slackclient/slackclient-2.5.0.ebuild index c5f5e7eec92b..2af67b3adc58 100644 --- a/dev-python/slackclient/slackclient-2.5.0.ebuild +++ b/dev-python/slackclient/slackclient-2.5.0.ebuild @@ -21,3 +21,12 @@ RDEPEND=" " DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] ${RDEPEND}" + +src_prepare() { + # Upstream uses pytest-runner as an extra optional target in setup.py as + # part of tooling to generate distfiles. + sed -i \ + -e '/setup_requires=/s,"pytest-runner",,' \ + "${S}"/setup.py || die + default +} |