diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-03-21 14:55:33 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-03-21 14:55:33 +0000 |
commit | d633fd66e2ce7e5d1d61498f50c785381eee6f06 (patch) | |
tree | 4cb8108bd8c53c6adb5ca44eceed4ece105589b4 /eclass/python-utils-r1.eclass | |
parent | x86 stable, see bug 504082 (diff) | |
download | gentoo-2-d633fd66e2ce7e5d1d61498f50c785381eee6f06.tar.gz gentoo-2-d633fd66e2ce7e5d1d61498f50c785381eee6f06.tar.bz2 gentoo-2-d633fd66e2ce7e5d1d61498f50c785381eee6f06.zip |
Ban new EAPI < 5 packages for python-r1 & python-single-r1.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a3534a7e5ca8..beabcc62721c 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.81 2015/02/21 08:07:30 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.82 2015/03/21 14:55:33 mgorny Exp $ # @ECLASS: python-utils-r1 # @MAINTAINER: @@ -1127,22 +1127,6 @@ python_export_utf8_locale() { return 0 } -# @FUNCTION: _python_check_EAPI -# @INTERNAL -# @DESCRIPTION: -# Check whether the ebuild is not using deprecated EAPI 4. Output -# a QA warning if it does. -_python_check_EAPI() { - if [[ ${EAPI} == 4 && ! ${_PYTHON_WARNED_EAPI} ]]; then - eqawarn "This package is still using EAPI=4. This results in package" - eqawarn "dependencies violating PMS and causing issues for package managers." - eqawarn "For this reason, using EAPI=4 in new Python packages will be banned" - eqawarn "on 2015-03-20 (2 years and 6 months after approving EAPI 5)." - - _PYTHON_WARNED_EAPI=1 - fi -} - # -- python.eclass functions -- _python_check_dead_variables() { |