Gentoo Archives: gentoo-commits

From: "Vladimir Smirnov (civil)" <civil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl: perl-5.20.0.ebuild ChangeLog
Date: Tue, 27 May 2014 10:28:09
Message-Id: 20140527102805.6C6722004E@flycatcher.gentoo.org
1 civil 14/05/27 10:28:05
2
3 Modified: ChangeLog
4 Added: perl-5.20.0.ebuild
5 Log:
6 Version bump. Should not be used until unmasked.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xA832680F)
9
10 Revision Changes Path
11 1.420 dev-lang/perl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.420&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.420&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?r1=1.419&r2=1.420
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v
20 retrieving revision 1.419
21 retrieving revision 1.420
22 diff -u -r1.419 -r1.420
23 --- ChangeLog 30 Apr 2014 14:47:53 -0000 1.419
24 +++ ChangeLog 27 May 2014 10:28:05 -0000 1.420
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lang/perl
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.419 2014/04/30 14:47:53 civil Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.420 2014/05/27 10:28:05 civil Exp $
30 +
31 +*perl-5.20.0 (27 May 2014)
32 +
33 + 27 May 2014; Vladimir Smirnov +perl-5.20.0.ebuild:
34 + Version bump. Should not be used until unmasked.
35
36 30 Apr 2014; Vladimir Smirnov +files/eblits/src_prepare-v50180002.eblit,
37 perl-5.18.2.ebuild:
38
39
40
41 1.1 dev-lang/perl/perl-5.20.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: perl-5.20.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.0.ebuild,v 1.1 2014/05/27 10:28:05 civil Exp $
51
52 EAPI=5
53
54 inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
55
56 PATCH_VER=1
57
58 PERL_OLDVERSEN=""
59 MODULE_AUTHOR=RJBS
60
61 SHORT_PV="${PV%.*}"
62 MY_P="perl-${PV/_rc/-RC}"
63 MY_PV="${PV%_rc*}"
64
65 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
66
67 SRC_URI="
68 mirror://cpan/src/5.0/${MY_P}.tar.bz2
69 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
70 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2
71 http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-patches-${PATCH_VER}.tar.bz2
72 "
73 HOMEPAGE="http://www.perl.org/"
74
75 LICENSE="|| ( Artistic GPL-1+ )"
76 SLOT="0/${SHORT_PV}"
77 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
78 IUSE="berkdb debug doc gdbm ithreads"
79
80 RDEPEND="
81 berkdb? ( sys-libs/db )
82 gdbm? ( >=sys-libs/gdbm-1.8.3 )
83 app-arch/bzip2
84 sys-libs/zlib
85 "
86 DEPEND="${RDEPEND}
87 !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
88 "
89 PDEPEND=">=app-admin/perl-cleaner-2.5"
90
91 S="${WORKDIR}/${MY_P}"
92
93 dual_scripts() {
94 src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
95 src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
96 src_remove_dual perl-core/CPAN 1.980.0 cpan
97 src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
98 src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
99 src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
100 src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
101 src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
102 src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
103 src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
104 src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
105 src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
106 src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
107 src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
108 src_remove_dual perl-core/Test-Harness 3.230.0 prove
109 src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
110 src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
111 }
112
113 # eblit-include [--skip] <function> [version]
114 eblit-include() {
115 local skipable=false
116 [[ $1 == "--skip" ]] && skipable=true && shift
117 [[ $1 == pkg_* ]] && skipable=true
118
119 local e v func=$1 ver=$2
120 [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
121 for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
122 e="${FILESDIR}/eblits/${func}${v}.eblit"
123 if [[ -e ${e} ]] ; then
124 . "${e}"
125 return 0
126 fi
127 done
128 ${skipable} && return 0
129 die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
130 }
131
132 # eblit-run-maybe <function>
133 # run the specified function if it is defined
134 eblit-run-maybe() {
135 [[ $(type -t "$@") == "function" ]] && "$@"
136 }
137
138 # eblit-run <function> [version]
139 # aka: src_unpack() { eblit-run src_unpack ; }
140 eblit-run() {
141 eblit-include --skip common "${*:2}"
142 eblit-include "$@"
143 eblit-run-maybe eblit-$1-pre
144 eblit-${PN}-$1
145 eblit-run-maybe eblit-$1-post
146 }
147
148 #src_unpack() { eblit-run src_unpack v50160001 ; }
149 src_prepare() { eblit-run src_prepare v50160001 ; }
150 src_configure() { eblit-run src_configure v50180002 ; }
151 #src_compile() { eblit-run src_compile v50160001 ; }
152 src_test() { eblit-run src_test v50160001 ; }
153 src_install() { eblit-run src_install v50160001 ; }
154
155 # FILESDIR might not be available during binpkg install
156 # FIXME: version passing
157 for x in setup {pre,post}{inst,rm} ; do
158 e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
159 if [[ -e ${e} ]] ; then
160 . "${e}"
161 eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
162 fi
163 done