diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-27 18:07:31 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-27 18:07:31 +0000 |
commit | d706c1b074fcc8879fe215df8cc02b5f34f715fc (patch) | |
tree | 55b6fc514c865843e9b0d1e98da54368d5b2b973 /eclass | |
parent | Version bump, fixes bug 529314, update gstreamer dependency to 1.0 for bug 52... (diff) | |
download | gentoo-2-d706c1b074fcc8879fe215df8cc02b5f34f715fc.tar.gz gentoo-2-d706c1b074fcc8879fe215df8cc02b5f34f715fc.tar.bz2 gentoo-2-d706c1b074fcc8879fe215df8cc02b5f34f715fc.zip |
Add new API warnings.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/waf-utils.eclass | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 7d86ffddc579..5f6d6a6df69e 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1474 2014/12/26 11:42:21 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1475 2014/12/27 18:07:31 mgorny Exp $ + + 27 Dec 2014; Michał Górny <mgorny@gentoo.org> waf-utils.eclass: + Add new API warnings. 26 Dec 2014; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass: Sync with KDE overlay. diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 5a70d4a7713e..d291154be637 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.20 2014/12/25 23:35:18 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.21 2014/12/27 18:07:31 mgorny Exp $ # @ECLASS: waf-utils.eclass # @MAINTAINER: @@ -41,6 +41,18 @@ DEPEND="${DEPEND} waf-utils_src_configure() { debug-print-function ${FUNCNAME} "$@" + if [[ ! ${_PYTHON_ANY_R1} && ! ${_PYTHON_SINGLE_R1} && ! ${_PYTHON_R1} ]]; then + eqawarn "Using waf-utils.eclass without any python-r1 suite eclass is not supported" + eqawarn "and will be banned on 2015-01-24. Please make sure to configure and inherit" + eqawarn "appropriate -r1 eclass. For more information and examples, please see:" + eqawarn " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration" + elif [[ ${PYTHON_REQ_USE} != *threads* ]]; then + eqawarn "Waf requires threading support in Python. To accomodate this requirement," + eqawarn "please add 'threads(+)' to PYTHON_REQ_USE variable (above inherit line)." + eqawarn "For more information and examples, please see:" + eqawarn " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration" + fi + local libdir="" # @ECLASS-VARIABLE: WAF_BINARY |