summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-18 08:39:07 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-18 08:39:07 +0000
commit4abf409a569efb8e7e5f1302fc39908ee54c0d17 (patch)
tree5d0a601922389dfa630a71f9bf28df489e3e0dfa /eclass
parentdrop distutils support now that upstream too has dropped it (diff)
downloadhistorical-4abf409a569efb8e7e5f1302fc39908ee54c0d17.tar.gz
historical-4abf409a569efb8e7e5f1302fc39908ee54c0d17.tar.bz2
historical-4abf409a569efb8e7e5f1302fc39908ee54c0d17.zip
simplify DEPEND setup with python vars
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index 32795129df15..edbf1c433ae1 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.87 2010/09/18 08:38:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.88 2010/09/18 08:39:07 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -108,10 +108,10 @@ case ${EKEY_STATE:-${E_STATE}} in
esac
IUSE="nls doc"
-DEPEND="doc? ( app-doc/doxygen )"
+DEPEND="doc? ( app-doc/doxygen )
+ ${E_PYTHON:+>=dev-python/setuptools-0.6_rc9}
+ ${E_CYTHON:+>=dev-python/cython-0.12.1}"
RDEPEND="nls? ( sys-devel/gettext )"
-[[ -n ${E_PYTHON} ]] && DEPEND+=" >=dev-python/setuptools-0.6_rc9"
-[[ -n ${E_CYTHON} ]] && DEPEND+=" >=dev-python/cython-0.12.1"
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;