summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 23:52:24 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 23:52:24 +0000
commit2a477ba4deb177487b54be0121fc74fd5e62b846 (patch)
tree75157dcb7405ecb7f6ec2481d97cc74d0c50af7d /eclass/python-utils-r1.eclass
parentAdd PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS,MODNAME} to the banned variable ... (diff)
downloadgentoo-2-2a477ba4deb177487b54be0121fc74fd5e62b846.tar.gz
gentoo-2-2a477ba4deb177487b54be0121fc74fd5e62b846.tar.bz2
gentoo-2-2a477ba4deb177487b54be0121fc74fd5e62b846.zip
Update banned var docs.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass20
1 files changed, 15 insertions, 5 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index aa88f6a958bf..980a4952e6a6 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.70 2014/12/27 23:22:44 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.71 2014/12/27 23:52:24 mgorny Exp $
# @ECLASS: python-utils-r1
# @MAINTAINER:
@@ -1180,9 +1180,16 @@ _python_check_dead_variables() {
fi
done
+ for v in PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS}
+ do
+ if [[ ${!v} ]]; then
+ die "${v} is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#PYTHON_CFLAGS"
+ fi
+ done
+
for v in PYTHON_TESTS_RESTRICTED_ABIS PYTHON_EXPORT_PHASE_FUNCTIONS \
PYTHON_VERSIONED_{SCRIPTS,EXECUTABLES} PYTHON_NONVERSIONED_EXECUTABLES \
- PYTHON_TEST_VERBOSITY PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS}
+ PYTHON_TEST_VERBOSITY
do
if [[ ${!v} ]]; then
die "${v} is invalid for python-r1 suite"
@@ -1190,13 +1197,16 @@ _python_check_dead_variables() {
done
for v in DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES DISTUTILS_SETUP_FILES \
- DISTUTILS_GLOBAL_OPTIONS DISTUTILS_SRC_TEST \
- DISTUTILS_DISABLE_TEST_DEPENDENCY PYTHON_MODNAME
+ DISTUTILS_GLOBAL_OPTIONS DISTUTILS_SRC_TEST PYTHON_MODNAME
do
if [[ ${!v} ]]; then
- die "${v} is invalid for distutils-r1"
+ die "${v} is invalid for distutils-r1, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#${v}"
fi
done
+
+ if [[ ${DISTUTILS_DISABLE_TEST_DEPENDENCY} ]]; then
+ die "${v} is invalid for distutils-r1, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#DISTUTILS_SRC_TEST"
+ fi
}
python_pkg_setup() {