mgorny 14/12/27 18:07:31 Modified: ChangeLog waf-utils.eclass Log: Add new API warnings.
Revision Changes Path 1.1475 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1475&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1475&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1474&r2=1.1475 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1474 retrieving revision 1.1475 diff -u -r1.1474 -r1.1475 --- ChangeLog 26 Dec 2014 11:42:21 -0000 1.1474 +++ ChangeLog 27 Dec 2014 18:07:31 -0000 1.1475 @@ -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 <[email protected]> waf-utils.eclass: + Add new API warnings. 26 Dec 2014; Michael Palimaka <[email protected]> kde4-base.eclass: Sync with KDE overlay. 1.21 eclass/waf-utils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?rev=1.21&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?rev=1.21&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?r1=1.20&r2=1.21 Index: waf-utils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- waf-utils.eclass 25 Dec 2014 23:35:18 -0000 1.20 +++ waf-utils.eclass 27 Dec 2014 18:07:31 -0000 1.21 @@ -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 @@ 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
