summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2015-06-21 08:39:15 +1200
committerKent Fredric <kentfredric@gmail.com>2015-06-21 08:39:15 +1200
commit294fb5f3cba60c3bb656dc4e1d478873b9c015ca (patch)
tree6f62f6840ac0385a5a14625363c8b0323f668cea /eclass
parent[eclass] Split all non-phase functions in use into perl-functions.eclass (diff)
downloadperl-overlay-294fb5f3cba60c3bb656dc4e1d478873b9c015ca.tar.gz
perl-overlay-294fb5f3cba60c3bb656dc4e1d478873b9c015ca.tar.bz2
perl-overlay-294fb5f3cba60c3bb656dc4e1d478873b9c015ca.zip
[eclass] drop support for EAPIs other than 5 and 2 entirely
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index d2e5522d5..c768b4336 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"