summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 23:22:44 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 23:22:44 +0000
commit2fe83882bfc5ddb60f83c30185da9dd322814fca (patch)
treee80fd7e9a658f2d56a0a2d164e10098516261f3a /eclass/python-utils-r1.eclass
parentUpdate use flag in metadata (diff)
downloadgentoo-2-2fe83882bfc5ddb60f83c30185da9dd322814fca.tar.gz
gentoo-2-2fe83882bfc5ddb60f83c30185da9dd322814fca.tar.bz2
gentoo-2-2fe83882bfc5ddb60f83c30185da9dd322814fca.zip
Add PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS,MODNAME} to the banned variable list.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 05c8e15fdeab..aa88f6a958bf 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.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/python-utils-r1.eclass,v 1.69 2014/12/27 19:31:39 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.70 2014/12/27 23:22:44 mgorny Exp $
# @ECLASS: python-utils-r1
# @MAINTAINER:
@@ -1182,7 +1182,7 @@ _python_check_dead_variables() {
for v in PYTHON_TESTS_RESTRICTED_ABIS PYTHON_EXPORT_PHASE_FUNCTIONS \
PYTHON_VERSIONED_{SCRIPTS,EXECUTABLES} PYTHON_NONVERSIONED_EXECUTABLES \
- PYTHON_TEST_VERBOSITY
+ PYTHON_TEST_VERBOSITY PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS}
do
if [[ ${!v} ]]; then
die "${v} is invalid for python-r1 suite"
@@ -1191,7 +1191,7 @@ _python_check_dead_variables() {
for v in DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES DISTUTILS_SETUP_FILES \
DISTUTILS_GLOBAL_OPTIONS DISTUTILS_SRC_TEST \
- DISTUTILS_DISABLE_TEST_DEPENDENCY
+ DISTUTILS_DISABLE_TEST_DEPENDENCY PYTHON_MODNAME
do
if [[ ${!v} ]]; then
die "${v} is invalid for distutils-r1"