dilfridge    14/11/01 17:34:28

  Modified:             ChangeLog perl-module.eclass
  Log:
  Drop EAPI=0,1,2,3 support in perl-module.eclass, this time for real. Further 
cleanups will follow.

Revision  Changes    Path
1.1398               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1397
retrieving revision 1.1398
diff -u -r1.1397 -r1.1398
--- ChangeLog   31 Oct 2014 00:57:49 -0000      1.1397
+++ ChangeLog   1 Nov 2014 17:34:28 -0000       1.1398
@@ -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.1397 2014/10/31 
00:57:49 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1398 2014/11/01 
17:34:28 dilfridge Exp $
+
+  01 Nov 2014; Andreas K. Huettel <[email protected]> perl-module.eclass:
+  Drop EAPI=0,1,2,3 support in perl-module.eclass, this time for real. Further
+  cleanups will follow.
 
   31 Oct 2014; Davide Pesavento <[email protected]> multibuild.eclass:
   Make sure BUILD_DIR exists before pushd'ing into it.



1.144                eclass/perl-module.eclass

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

Index: perl-module.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- perl-module.eclass  20 Oct 2014 12:47:32 -0000      1.143
+++ perl-module.eclass  1 Nov 2014 17:34:28 -0000       1.144
@@ -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.143 
2014/10/20 12:47:32 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.144 
2014/11/01 17:34:28 dilfridge Exp $
 
 # @ECLASS: perl-module.eclass
 # @MAINTAINER:
@@ -18,10 +18,7 @@
 PERL_EXPF="src_unpack src_compile src_test src_install"
 
 case "${EAPI:-0}" in
-       0|1)
-               PERL_EXPF+=" pkg_setup pkg_preinst pkg_postinst pkg_prerm 
pkg_postrm"
-               ;;
-       2|3|4|5)
+       4|5)
                PERL_EXPF+=" src_prepare src_configure"
                [[ ${CATEGORY} == "perl-core" ]] && \
                        PERL_EXPF+=" pkg_postinst pkg_postrm"
@@ -52,19 +49,21 @@
                ;;
 esac
 
-case "${EAPI:-0}" in
-       4|5)
-               ;;
-       *)
-               ewarn
-               ewarn 
"******************************************************************"
-               ewarn "${EBUILD}:"
-               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
+# 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 "${PERL_EXPORT_PHASE_FUNCTIONS:-yes}" in
        yes)
@@ -434,13 +433,4 @@
 
 perl_set_eprefix() {
        debug-print-function $FUNCNAME "$@"
-       case ${EAPI:-0} in
-               0|1|2)
-                       if ! use prefix; then
-                               EPREFIX=
-                               ED=${D}
-                               EROOT=${ROOT}
-                       fi
-                       ;;
-       esac
 }




Reply via email to