diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-07 13:55:09 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-07 13:55:41 -0700 |
commit | b8c4ad3165847559b0e98b3c12e8ae794a6955d3 (patch) | |
tree | eaf05ed2ebd5e085e5701d0ab7e5e94acbfad6f5 /dev-python | |
parent | gnome2-utils.eclass: Inherit eutils.eclass for emktemp(). (diff) | |
download | gentoo-b8c4ad3165847559b0e98b3c12e8ae794a6955d3.tar.gz gentoo-b8c4ad3165847559b0e98b3c12e8ae794a6955d3.tar.bz2 gentoo-b8c4ad3165847559b0e98b3c12e8ae794a6955d3.zip |
dev-python/slackclient: build fix
Closes: https://bugs.gentoo.org/716536
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
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 +} |