commit:     294fb5f3cba60c3bb656dc4e1d478873b9c015ca
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Jun 20 20:39:15 2015 +0000
Commit:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Sat Jun 20 20:39:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/perl-overlay.git/commit/?id=294fb5f3

[eclass] drop support for EAPIs other than 5 and 2 entirely

 eclass/perl-module.eclass | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index d2e5522..c768b43 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -18,12 +18,7 @@ inherit eutils multiprocessing unpacker perl-functions
 PERL_EXPF="src_unpack src_compile src_test src_install"
 
 case "${EAPI:-0}" in
-       0|1)
-               eqawarn "$P: EAPI 0 and 1 are deprecated both in ::gentoo and 
::perl-experimental"
-               perl_qafatal "eapi" "EAPI 0 and 1 are deprecated";
-               PERL_EXPF+=" pkg_setup pkg_preinst pkg_postinst pkg_prerm 
pkg_postrm"
-               ;;
-       2|3|4|5)
+       2|5)
                PERL_EXPF+=" src_prepare src_configure"
                [[ ${CATEGORY} == "perl-core" ]] && \
                        PERL_EXPF+=" pkg_postinst pkg_postrm"

Reply via email to