diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-01-02 00:14:25 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-01-02 00:14:25 +0000 |
commit | 7e9d4ed5550c0be44b3b9962ecdbda8d032f99ab (patch) | |
tree | f6f82d2e0ec0938c6acc1e542b7ed766a42d45ea /eclass | |
parent | Remove obsolete PYTHON_DEPEND. (diff) | |
download | gentoo-2-7e9d4ed5550c0be44b3b9962ecdbda8d032f99ab.tar.gz gentoo-2-7e9d4ed5550c0be44b3b9962ecdbda8d032f99ab.tar.bz2 gentoo-2-7e9d4ed5550c0be44b3b9962ecdbda8d032f99ab.zip |
Add progress overlay-specific commands and variables to the invalid command/variable lists.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/python-utils-r1.eclass | 40 |
2 files changed, 43 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 8ee4ce042223..8c155c399b33 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -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: diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 02af357d1fae..8c8681eae9bb 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -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 |