Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog perl-module.eclass
Date: Sun, 01 Feb 2015 12:01:12
Message-Id: 20150201120106.6877D10D24@oystercatcher.gentoo.org
1 dilfridge 15/02/01 12:01:06
2
3 Modified: ChangeLog perl-module.eclass
4 Log:
5 Drop support for EAPI=4
6
7 Revision Changes Path
8 1.1520 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1520&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1520&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1519&r2=1.1520
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.1519
18 retrieving revision 1.1520
19 diff -u -r1.1519 -r1.1520
20 --- ChangeLog 31 Jan 2015 10:16:12 -0000 1.1519
21 +++ ChangeLog 1 Feb 2015 12:01:06 -0000 1.1520
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1519 2015/01/31 10:16:12 jer Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1520 2015/02/01 12:01:06 dilfridge Exp $
27 +
28 + 01 Feb 2015; Andreas K. Huettel <dilfridge@g.o> perl-module.eclass:
29 + Drop support for EAPI=4
30
31 31 Jan 2015; Jeroen Roovers <jer@g.o> intel-sdp.eclass:
32 Spelling.
33
34
35
36 1.162 eclass/perl-module.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.162&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.162&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.161&r2=1.162
41
42 Index: perl-module.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v
45 retrieving revision 1.161
46 retrieving revision 1.162
47 diff -u -r1.161 -r1.162
48 --- perl-module.eclass 17 Dec 2014 16:40:53 -0000 1.161
49 +++ perl-module.eclass 1 Feb 2015 12:01:06 -0000 1.162
50 @@ -1,6 +1,6 @@
51 -# Copyright 1999-2014 Gentoo Foundation
52 +# Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.161 2014/12/17 16:40:53 dilfridge Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.162 2015/02/01 12:01:06 dilfridge Exp $
56
57 # @ECLASS: perl-module.eclass
58 # @MAINTAINER:
59 @@ -18,25 +18,18 @@
60 PERL_EXPF="src_unpack src_prepare src_configure src_compile src_test src_install"
61
62 case "${EAPI:-0}" in
63 - 4|5)
64 + 5)
65 [[ ${CATEGORY} == "perl-core" ]] && \
66 PERL_EXPF+=" pkg_postinst pkg_postrm"
67
68 case "${GENTOO_DEPEND_ON_PERL:-yes}" in
69 yes)
70 - case "${EAPI:-0}" in
71 - 5)
72 - case "${GENTOO_DEPEND_ON_PERL_SUBSLOT:-yes}" in
73 - yes)
74 - DEPEND="dev-lang/perl:=[-build(-)]"
75 - ;;
76 - *)
77 - DEPEND="dev-lang/perl[-build(-)]"
78 - ;;
79 - esac
80 + case "${GENTOO_DEPEND_ON_PERL_SUBSLOT:-yes}" in
81 + yes)
82 + DEPEND="dev-lang/perl:=[-build(-)]"
83 ;;
84 *)
85 - DEPEND="|| ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )"
86 + DEPEND="dev-lang/perl[-build(-)]"
87 ;;
88 esac
89 RDEPEND="${DEPEND}"
90 @@ -48,20 +41,6 @@
91 ;;
92 esac
93
94 -case "${EAPI:-0}" in
95 - 5)
96 - ;;
97 - *)
98 - ewarn
99 - ewarn "******************************************************************"
100 - ewarn "${EBUILD}:"
101 - ewarn "Support for EAPI=${EAPI:-0} in perl-module.eclass will be removed"
102 - ewarn "on 1/Feb/2015. Please fix your overlay ebuilds to use EAPI=5."
103 - ewarn "******************************************************************"
104 - ewarn
105 - ;;
106 -esac
107 -
108 case "${PERL_EXPORT_PHASE_FUNCTIONS:-yes}" in
109 yes)
110 EXPORT_FUNCTIONS ${PERL_EXPF}