Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 03 Dec 2015 20:25:00
Message-Id: 1449174004.b58797425a09bbe302f756d4134a19cb9f21e461.dilfridge@gentoo
1 commit: b58797425a09bbe302f756d4134a19cb9f21e461
2 Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 20:59:17 2015 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 20:20:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5879742
7
8 perl-app.eclass: die in EAPI=6, let's get rid of this silly stub
9
10 eclass/perl-app.eclass | 11 +++++++++++
11 1 file changed, 11 insertions(+)
12
13 diff --git a/eclass/perl-app.eclass b/eclass/perl-app.eclass
14 index eb109f9..2ad9bdc 100644
15 --- a/eclass/perl-app.eclass
16 +++ b/eclass/perl-app.eclass
17 @@ -9,6 +9,17 @@
18 : ${GENTOO_DEPEND_ON_PERL_SUBSLOT:="no"}
19 inherit perl-module
20
21 +case "${EAPI:-0}" in
22 + 5)
23 + ;;
24 + 6)
25 + die "EAPI=${EAPI} is not supported by perl-app.eclass. Please use perl-module.eclass instead."
26 + ;;
27 + *)
28 + die "EAPI=${EAPI} is not supported by perl-app.eclass"
29 + ;;
30 +esac
31 +
32 # @FUNCTION: perl-app_src_prep
33 # @USAGE: perl-app_src_prep
34 # @DESCRIPTION: