dilfridge    14/10/19 20:59:15

  Modified:             ChangeLog perl-module.eclass
  Log:
  Move EAPI=0,1,2,3 warning into global scope to become ultra-annoying. Add QA 
deprecation warning about EAPI=4.

Revision  Changes    Path
1.1389               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1389&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1389&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1388&r2=1.1389

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1388
retrieving revision 1.1389
diff -u -r1.1388 -r1.1389
--- ChangeLog   18 Oct 2014 22:36:17 -0000      1.1388
+++ ChangeLog   19 Oct 2014 20:59:15 -0000      1.1389
@@ -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.1388 2014/10/18 
22:36:17 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1389 2014/10/19 
20:59:15 dilfridge Exp $
+
+  19 Oct 2014; Andreas K. Huettel <[email protected]> perl-module.eclass:
+  Move EAPI=0,1,2,3 warning into global scope to become ultra-annoying. Add QA
+  deprecation warning about EAPI=4.
 
   18 Oct 2014; Mike Gilbert <[email protected]> python-utils-r1.eclass:
   Improve error messaging when python_export is called without a defined python



1.142                eclass/perl-module.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.142&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.142&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.141&r2=1.142

Index: perl-module.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- perl-module.eclass  27 Sep 2014 20:54:42 -0000      1.141
+++ perl-module.eclass  19 Oct 2014 20:59:15 -0000      1.142
@@ -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.141 
2014/09/27 20:54:42 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.142 
2014/10/19 20:59:15 dilfridge Exp $
 
 # @ECLASS: perl-module.eclass
 # @MAINTAINER:
@@ -52,6 +52,19 @@
                ;;
 esac
 
+case "${EAPI:-0}" in
+       4|5)
+               ;;
+       *)
+               ewarn
+               ewarn 
"******************************************************************"
+               ewarn "Support for EAPI=${EAPI:-0} in perl-module.eclass will 
be removed"
+               ewarn "on 1/Nov/2014. Please fix your overlay ebuilds to use 
EAPI=5."
+               ewarn 
"******************************************************************"
+               ewarn
+               ;;
+esac
+
 case "${PERL_EXPORT_PHASE_FUNCTIONS:-yes}" in
        yes)
                EXPORT_FUNCTIONS ${PERL_EXPF}
@@ -89,15 +102,13 @@
        debug-print-function $FUNCNAME "$@"
 
        case "${EAPI:-0}" in
-               4|5)
+               5)
+                       ;;
+               4)
+                       eqawarn "Support for EAPI=${EAPI:-0} in 
perl-module.eclass is deprecated."
+                       eqawarn "Please fix your ebuilds to use EAPI=5."
                        ;;
                *)
-                       ewarn
-                       ewarn 
"******************************************************************"
-                       ewarn "Support for EAPI=${EAPI:-0} in 
perl-module.eclass will be removed"
-                       ewarn "on 1/Nov/2014. Please fix your overlay ebuilds 
to use EAPI=5."
-                       ewarn 
"******************************************************************"
-                       ewarn
                        ;;
        esac
 




Reply via email to