Add progress overlay-specific commands and variables to the invalid command/variable...
authorMichał Górny <mgorny@gentoo.org>
Fri, 2 Jan 2015 00:14:25 +0000 (00:14 +0000)
committerMichał Górny <mgorny@gentoo.org>
Fri, 2 Jan 2015 00:14:25 +0000 (00:14 +0000)
eclass/ChangeLog
eclass/python-utils-r1.eclass

index 8ee4ce0422231959109c4783cd0b13a210c1356a..8c155c399b334a68a1b4da0e9b6167c3ec0e28e8 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1492 2015/01/01 21:23:03 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1493 2015/01/02 00:14:25 mgorny Exp $
+
+  02 Jan 2015; Michał Górny <mgorny@gentoo.org> python-utils-r1.eclass:
+  Add progress overlay-specific commands and variables to the invalid
+  command/variable lists.
 
   01 Jan 2015; Sergei Trofimovich <slyfox@gentoo.org> ghc-package.eclass,
   haskell-cabal.eclass:
index 02af357d1fae0f1e5a0fdf408df49b354496ef05..8c8681eae9bb011384a54abc7f5de2bda2de92a5 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 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.73 2014/12/28 18:35:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.74 2015/01/02 00:14:25 mgorny Exp $
 
 # @ECLASS: python-utils-r1
 # @MAINTAINER:
@@ -1206,6 +1206,16 @@ _python_check_dead_variables() {
        if [[ ${DISTUTILS_DISABLE_TEST_DEPENDENCY} ]]; then
                eqawarn "${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.eclass::progress
+       for v in PYTHON_BDEPEND PYTHON_MULTIPLE_ABIS PYTHON_ABI_TYPE \
+               PYTHON_RESTRICTED_ABIS PYTHON_TESTS_FAILURES_TOLERANT_ABIS \
+               PYTHON_CFFI_MODULES_GENERATION_COMMANDS
+       do
+               if [[ ${!v} ]]; then
+                       eqawarn "${v} is invalid for python-r1 suite"
+               fi
+       done
 }
 
 python_pkg_setup() {
@@ -1300,5 +1310,31 @@ python_mod_cleanup() {
        eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#Python_byte-code_compilation"
 }
 
+# python.eclass::progress
+
+python_abi_depend() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
+python_install_executables() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
+python_get_extension_module_suffix() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
+python_byte-compile_modules() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
+python_clean_byte-compiled_modules() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
+python_generate_cffi_modules() {
+       eqawarn "${FUNCNAME}() is invalid for python-r1 suite"
+}
+
 _PYTHON_UTILS_R1=1
 fi