/[gentoo-x86]/eclass/waf-utils.eclass
Gentoo

Diff of /eclass/waf-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.20 2014/12/25 23:35:18 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.21 2014/12/27 18:07:31 mgorny Exp $
4 4
5# @ECLASS: waf-utils.eclass 5# @ECLASS: waf-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# maintainer-needed@gentoo.org 7# maintainer-needed@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
38# @FUNCTION: waf-utils_src_configure 38# @FUNCTION: waf-utils_src_configure
39# @DESCRIPTION: 39# @DESCRIPTION:
40# General function for configuring with waf. 40# General function for configuring with waf.
41waf-utils_src_configure() { 41waf-utils_src_configure() {
42 debug-print-function ${FUNCNAME} "$@" 42 debug-print-function ${FUNCNAME} "$@"
43
44 if [[ ! ${_PYTHON_ANY_R1} && ! ${_PYTHON_SINGLE_R1} && ! ${_PYTHON_R1} ]]; then
45 eqawarn "Using waf-utils.eclass without any python-r1 suite eclass is not supported"
46 eqawarn "and will be banned on 2015-01-24. Please make sure to configure and inherit"
47 eqawarn "appropriate -r1 eclass. For more information and examples, please see:"
48 eqawarn " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration"
49 elif [[ ${PYTHON_REQ_USE} != *threads* ]]; then
50 eqawarn "Waf requires threading support in Python. To accomodate this requirement,"
51 eqawarn "please add 'threads(+)' to PYTHON_REQ_USE variable (above inherit line)."
52 eqawarn "For more information and examples, please see:"
53 eqawarn " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration"
54 fi
43 55
44 local libdir="" 56 local libdir=""
45 57
46 # @ECLASS-VARIABLE: WAF_BINARY 58 # @ECLASS-VARIABLE: WAF_BINARY
47 # @DESCRIPTION: 59 # @DESCRIPTION:

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20