perl-app.eclass: die in EAPI=6, let's get rid of this silly stub
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>
Sat, 28 Nov 2015 20:59:17 +0000 (21:59 +0100)
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>
Thu, 3 Dec 2015 20:20:04 +0000 (21:20 +0100)
eclass/perl-app.eclass

index eb109f9c67aa4cecd459420f01c91befff553d81..2ad9bdca468925a344df9ec142459c556b138351 100644 (file)
@@ -9,6 +9,17 @@
 : ${GENTOO_DEPEND_ON_PERL_SUBSLOT:="no"}
 inherit perl-module
 
+case "${EAPI:-0}" in
+       5)
+               ;;
+       6)
+               die "EAPI=${EAPI} is not supported by perl-app.eclass. Please use perl-module.eclass instead."
+               ;;
+       *)
+               die "EAPI=${EAPI} is not supported by perl-app.eclass"
+               ;;
+esac
+
 # @FUNCTION: perl-app_src_prep
 # @USAGE: perl-app_src_prep
 # @DESCRIPTION: