Gentoo Archives: gentoo-commits

From: "Mikle Kolyada (zlogene)" <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: perl-module.eclass
Date: Sun, 30 Mar 2014 19:25:19
Message-Id: 20140330192514.5BA7A20057@flycatcher.gentoo.org
1 zlogene 14/03/30 19:25:14
2
3 Modified: perl-module.eclass
4 Log:
5 Drop base.eclass (bug #497048)
6
7 Revision Changes Path
8 1.139 eclass/perl-module.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.139&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.139&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.138&r2=1.139
13
14 Index: perl-module.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v
17 retrieving revision 1.138
18 retrieving revision 1.139
19 diff -u -r1.138 -r1.139
20 --- perl-module.eclass 29 Dec 2013 21:37:09 -0000 1.138
21 +++ perl-module.eclass 30 Mar 2014 19:25:14 -0000 1.139
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2013 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.138 2013/12/29 21:37:09 dilfridge Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.139 2014/03/30 19:25:14 zlogene Exp $
27
28 # @ECLASS: perl-module.eclass
29 # @MAINTAINER:
30 @@ -12,7 +12,7 @@
31 # The perl-module eclass is designed to allow easier installation of perl
32 # modules, and their incorporation into the Gentoo Linux system.
33
34 -inherit eutils base multiprocessing
35 +inherit eutils multiprocessing unpacker
36 [[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
37
38 PERL_EXPF="src_unpack src_compile src_test src_install"
39 @@ -87,13 +87,16 @@
40
41 perl-module_src_unpack() {
42 debug-print-function $FUNCNAME "$@"
43 - base_src_unpack
44 + unpacker_src_unpack
45 has src_prepare ${PERL_EXPF} || perl-module_src_prepare
46 }
47
48 perl-module_src_prepare() {
49 debug-print-function $FUNCNAME "$@"
50 - has src_prepare ${PERL_EXPF} && base_src_prepare
51 + has src_prepare ${PERL_EXPF} && \
52 + [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
53 + debug-print "$FUNCNAME: applying user patches"
54 + epatch_user
55 perl_fix_osx_extra
56 esvn_clean
57 }