diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-01-02 00:15:15 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-01-02 00:15:15 +0000 |
commit | d056be8d20024ef9bab4fd1ed9f92fbcc0cc2195 (patch) | |
tree | 09052e8a7022c6a9c4560f618603b576fcc2d3b2 /eclass/python-utils-r1.eclass | |
parent | Add progress overlay-specific commands and variables to the invalid command/v... (diff) | |
download | gentoo-2-d056be8d20024ef9bab4fd1ed9f92fbcc0cc2195.tar.gz gentoo-2-d056be8d20024ef9bab4fd1ed9f92fbcc0cc2195.tar.bz2 gentoo-2-d056be8d20024ef9bab4fd1ed9f92fbcc0cc2195.zip |
Make python.eclass commands/variables fatal once again since all in-tree ebuilds seem to have been fixed.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 8c8681eae9bb..af7f51fa2af3 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1,6 +1,6 @@ # 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.74 2015/01/02 00:14:25 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.75 2015/01/02 00:15:15 mgorny Exp $ # @ECLASS: python-utils-r1 # @MAINTAINER: @@ -1176,14 +1176,14 @@ _python_check_dead_variables() { for v in PYTHON_DEPEND PYTHON_USE_WITH{,_OR,_OPT} {RESTRICT,SUPPORT}_PYTHON_ABIS do if [[ ${!v} ]]; then - eqawarn "${v} is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#Ebuild_head" + die "${v} is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#Ebuild_head" fi done for v in PYTHON_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS} do if [[ ${!v} ]]; then - eqawarn "${v} is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#PYTHON_CFLAGS" + 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 @@ -1191,7 +1191,7 @@ _python_check_dead_variables() { PYTHON_VERSIONED_{SCRIPTS,EXECUTABLES} PYTHON_NONVERSIONED_EXECUTABLES do if [[ ${!v} ]]; then - eqawarn "${v} is invalid for python-r1 suite" + die "${v} is invalid for python-r1 suite" fi done @@ -1199,12 +1199,12 @@ _python_check_dead_variables() { DISTUTILS_GLOBAL_OPTIONS DISTUTILS_SRC_TEST PYTHON_MODNAME do if [[ ${!v} ]]; then - eqawarn "${v} is invalid for distutils-r1, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#${v}" + 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 - eqawarn "${v} is invalid for distutils-r1, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#DISTUTILS_SRC_TEST" + 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.eclass::progress @@ -1213,127 +1213,127 @@ _python_check_dead_variables() { PYTHON_CFFI_MODULES_GENERATION_COMMANDS do if [[ ${!v} ]]; then - eqawarn "${v} is invalid for python-r1 suite" + die "${v} is invalid for python-r1 suite" fi done } python_pkg_setup() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#pkg_setup" + die "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#pkg_setup" } python_convert_shebangs() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#python_convert_shebangs" + die "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#python_convert_shebangs" } python_clean_py-compile_files() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_clean_installation_image() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_execute_function() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#python_execute_function" + die "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#python_execute_function" } python_generate_wrapper_scripts() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_merge_intermediate_installation_images() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_set_active_version() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#pkg_setup" + die "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#pkg_setup" } python_need_rebuild() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } PYTHON() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#.24.28PYTHON.29.2C_.24.7BEPYTHON.7D" + die "${FUNCNAME}() is invalid for python-r1 suite, please take a look @ https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion#.24.28PYTHON.29.2C_.24.7BEPYTHON.7D" } python_get_implementation() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_implementational_package() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_libdir() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_library() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_version() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_implementation_and_version() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_execute_nosetests() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_execute_py.test() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_execute_trial() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_enable_pyc() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_disable_pyc() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_mod_optimize() { - 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" + die "${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_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" + die "${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" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_install_executables() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_get_extension_module_suffix() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_byte-compile_modules() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_clean_byte-compiled_modules() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } python_generate_cffi_modules() { - eqawarn "${FUNCNAME}() is invalid for python-r1 suite" + die "${FUNCNAME}() is invalid for python-r1 suite" } _PYTHON_UTILS_R1=1 |