projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d65e7
)
dev-python/http-parser: Replace custom cython dep with python_gen_cond_dep
author
Michał Górny
<mgorny@gentoo.org>
Wed, 9 Dec 2015 17:38:24 +0000
(18:38 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 9 Dec 2015 19:06:47 +0000
(20:06 +0100)
dev-python/http-parser/http-parser-0.8.3.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/http-parser/http-parser-0.8.3.ebuild
b/dev-python/http-parser/http-parser-0.8.3.ebuild
index 085dbef7d3ff924e7f12ca3ebfcd6ecd82572fe0..bf086e559ba2dbadbba9a3adbad4d5bc48dbd5ca 100644
(file)
--- a/
dev-python/http-parser/http-parser-0.8.3.ebuild
+++ b/
dev-python/http-parser/http-parser-0.8.3.ebuild
@@
-19,15
+19,8
@@
IUSE="examples"
RDEPEND=""
DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-cython_dep() {
- local flag
- for flag in $(python_gen_useflags 'python*'); do
- DEPEND+=" ${flag}? ( dev-python/cython[${flag}(-)] )"
- done
-}
-cython_dep
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python*')"
python_compile() {
if [[ ${EPYTHON} != python3* ]]; then