summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-04-11 18:38:48 +1200
committerKent Fredric <kentnl@gentoo.org>2017-09-17 12:07:33 +1200
commit47de0a8955d04e02ef2cebd2b574417229c154f1 (patch)
tree2f16bb798a940b512ae6f63437b6d897a26d7385 /eclass
parentperl-module.eclass: remove defaults for SRC_TEST and perlinfo_done (diff)
downloadperl-overlay-47de0a8955d04e02ef2cebd2b574417229c154f1.tar.gz
perl-overlay-47de0a8955d04e02ef2cebd2b574417229c154f1.tar.bz2
perl-overlay-47de0a8955d04e02ef2cebd2b574417229c154f1.zip
perl-module.eclass: ban direct use of perl-module_src_unpack in EAPI6
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index c07599eab..6460e874a 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -179,7 +179,7 @@ pm_echovar=""
# This function is to be called during the ebuild src_unpack() phase.
perl-module_src_unpack() {
debug-print-function $FUNCNAME "$@"
-
+ [[ ${EAPI:-0} == 5 ]] || die "perl-module_src_unpack is banned in EAPI=6 or later"
unpacker_src_unpack
has src_prepare ${PERL_EXPF} || perl-module_src_prepare
}