From 56ccb7bdb165a4cc79621e9c4a2a3a60fdb5e05b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20H=C3=BCttel?= Date: Sun, 9 Nov 2014 18:10:24 +0000 Subject: [PATCH] All in-tree ebuilds with EAPI=4 using perl-module.eclass are gone. Switch deprecation message to super-annoying mode. --- eclass/ChangeLog | 6 +++++- eclass/perl-module.eclass | 41 +++++++++++++-------------------------- 2 files changed, 19 insertions(+), 28 deletions(-) diff --git a/eclass/ChangeLog b/eclass/ChangeLog index ba8207684b3c..46cab36442cc 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1409 2014/11/09 15:10:32 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1410 2014/11/09 18:10:24 dilfridge Exp $ + + 09 Nov 2014; Andreas K. Huettel perl-module.eclass: + All in-tree ebuilds with EAPI=4 using perl-module.eclass are gone. Switch + deprecation message to super-annoying mode. 09 Nov 2014; Sebastian Pipping python-r1.eclass: Use python 3.4 rather than dead 3.2 in python-r1 examples diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index dbae12142fcb..8f7458747eb6 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.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/perl-module.eclass,v 1.146 2014/11/05 00:24:33 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.147 2014/11/09 18:10:24 dilfridge Exp $ # @ECLASS: perl-module.eclass # @MAINTAINER: @@ -49,21 +49,19 @@ case "${EAPI:-0}" in ;; esac -# we will need this again soon -# -#case "${EAPI:-0}" in -# 5) -# ;; -# *) -# ewarn -# ewarn "******************************************************************" -# ewarn "${EBUILD}:" -# ewarn "Support for EAPI=${EAPI:-0} in perl-module.eclass will be removed" -# ewarn "on XX/XX/2015. Please fix your overlay ebuilds to use EAPI=5." -# ewarn "******************************************************************" -# ewarn -# ;; -#esac +case "${EAPI:-0}" in + 5) + ;; + *) + ewarn + ewarn "******************************************************************" + ewarn "${EBUILD}:" + ewarn "Support for EAPI=${EAPI:-0} in perl-module.eclass will be removed" + ewarn "on 1/Feb/2015. Please fix your overlay ebuilds to use EAPI=5." + ewarn "******************************************************************" + ewarn + ;; +esac case "${PERL_EXPORT_PHASE_FUNCTIONS:-yes}" in yes) @@ -101,17 +99,6 @@ perlinfo_done=false perl-module_src_unpack() { debug-print-function $FUNCNAME "$@" - case "${EAPI:-0}" in - 5) - ;; - 4) - eqawarn "Support for EAPI=${EAPI:-0} in perl-module.eclass is deprecated." - eqawarn "Please fix your ebuilds to use EAPI=5." - ;; - *) - ;; - esac - unpacker_src_unpack has src_prepare ${PERL_EXPF} || perl-module_src_prepare } -- 2.26.2