diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-10 03:58:18 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-10 03:58:18 +0000 |
commit | 0cb97ae5e7f490545e310e8be78751d08a286810 (patch) | |
tree | bfbb5e31e25d1eae534f55270e6ceed88a8f731d /eclass/waf-utils.eclass | |
parent | Add missing gsettings-desktop-schemas dependency (bug #415243, thanks to John... (diff) | |
download | gentoo-2-0cb97ae5e7f490545e310e8be78751d08a286810.tar.gz gentoo-2-0cb97ae5e7f490545e310e8be78751d08a286810.tar.bz2 gentoo-2-0cb97ae5e7f490545e310e8be78751d08a286810.zip |
Depend on python and block python[-threads] for bug #409427.
Diffstat (limited to 'eclass/waf-utils.eclass')
-rw-r--r-- | eclass/waf-utils.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 0aafcb29b3d8..224d64f1f6d8 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.9 2012/04/16 07:54:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.10 2012/05/10 03:58:18 tetromino Exp $ # @ECLASS: waf-utils.eclass # @MAINTAINER: @@ -22,6 +22,13 @@ case ${EAPI:-0} in *) die "EAPI=${EAPI} is not supported" ;; esac +# Python with threads is required to run waf. We do not know which python slot +# is being used as the system interpreter, so we are forced to block all +# slots that have USE=-threads. +DEPEND="${DEPEND} + dev-lang/python + !dev-lang/python[-threads]" + # @FUNCTION: waf-utils_src_configure # @DESCRIPTION: # General function for configuring with waf. |