Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lz4/
Date: Sat, 10 Oct 2015 14:25:01
Message-Id: 1444487079.90ba1563a20923d2924805c941a7d4b5a8f92942.jlec@gentoo
1 commit: 90ba1563a20923d2924805c941a7d4b5a8f92942
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 14:24:39 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 14:24:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ba1563
7
8 dev-python/lz4: Fix installation without dev-python/nose installed
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562448
11
12 Package-Manager: portage-2.2.23
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 dev-python/lz4/lz4-0.7.0.ebuild | 7 +++++++
16 1 file changed, 7 insertions(+)
17
18 diff --git a/dev-python/lz4/lz4-0.7.0.ebuild b/dev-python/lz4/lz4-0.7.0.ebuild
19 index 5e4d293..c706375 100644
20 --- a/dev-python/lz4/lz4-0.7.0.ebuild
21 +++ b/dev-python/lz4/lz4-0.7.0.ebuild
22 @@ -20,3 +20,10 @@ RDEPEND=""
23 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
24
25 # Tests still excluded by upstream
26 +
27 +python_prepare_all() {
28 + sed \
29 + -e '/nose/s:setup_requires:test_requires:g' \
30 + -i setup.py || die
31 + distutils-r1_python_prepare_all
32 +}