Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/http-parser/
Date: Wed, 09 Dec 2015 19:07:17
Message-Id: 1449688007.cfe5896f6b5cf781c5c5d87e0b61d883f4dc65fe.mgorny@gentoo
1 commit: cfe5896f6b5cf781c5c5d87e0b61d883f4dc65fe
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 9 17:38:24 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 9 19:06:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe5896f
7
8 dev-python/http-parser: Replace custom cython dep with python_gen_cond_dep
9
10 dev-python/http-parser/http-parser-0.8.3.ebuild | 11 ++---------
11 1 file changed, 2 insertions(+), 9 deletions(-)
12
13 diff --git a/dev-python/http-parser/http-parser-0.8.3.ebuild b/dev-python/http-parser/http-parser-0.8.3.ebuild
14 index 085dbef..bf086e5 100644
15 --- a/dev-python/http-parser/http-parser-0.8.3.ebuild
16 +++ b/dev-python/http-parser/http-parser-0.8.3.ebuild
17 @@ -19,15 +19,8 @@ IUSE="examples"
18
19 RDEPEND=""
20 DEPEND="${RDEPEND}
21 - dev-python/setuptools[${PYTHON_USEDEP}]"
22 -
23 -cython_dep() {
24 - local flag
25 - for flag in $(python_gen_useflags 'python*'); do
26 - DEPEND+=" ${flag}? ( dev-python/cython[${flag}(-)] )"
27 - done
28 -}
29 -cython_dep
30 + dev-python/setuptools[${PYTHON_USEDEP}]
31 + $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python*')"
32
33 python_compile() {
34 if [[ ${EPYTHON} != python3* ]]; then