From: Justin Lecher Date: Sat, 10 Oct 2015 14:24:39 +0000 (+0200) Subject: dev-python/lz4: Fix installation without dev-python/nose installed X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=90ba1563a20923d2924805c941a7d4b5a8f92942;p=gentoo.git dev-python/lz4: Fix installation without dev-python/nose installed Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562448 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- diff --git a/dev-python/lz4/lz4-0.7.0.ebuild b/dev-python/lz4/lz4-0.7.0.ebuild index 5e4d293b9f0e..c706375fe60e 100644 --- a/dev-python/lz4/lz4-0.7.0.ebuild +++ b/dev-python/lz4/lz4-0.7.0.ebuild @@ -20,3 +20,10 @@ RDEPEND="" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" # Tests still excluded by upstream + +python_prepare_all() { + sed \ + -e '/nose/s:setup_requires:test_requires:g' \ + -i setup.py || die + distutils-r1_python_prepare_all +}