Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl: ChangeLog perl-5.20.0-r1.ebuild perl-5.18.2-r1.ebuild perl-5.18.2.ebuild perl-5.20.0.ebuild
Date: Mon, 07 Jul 2014 12:44:15
Message-Id: 20140707124412.86DB62004F@flycatcher.gentoo.org
1 pinkbyte 14/07/07 12:44:12
2
3 Modified: ChangeLog
4 Added: perl-5.20.0-r1.ebuild perl-5.18.2-r1.ebuild
5 Removed: perl-5.18.2.ebuild perl-5.20.0.ebuild
6 Log:
7 Revision bump: apply workaround for bug #157774 - do not build gdbm stuff when USE='-gdbm'. Drop old revisions
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
10
11 Revision Changes Path
12 1.424 dev-lang/perl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.424&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.424&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?r1=1.423&r2=1.424
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v
21 retrieving revision 1.423
22 retrieving revision 1.424
23 diff -u -r1.423 -r1.424
24 --- ChangeLog 4 Jul 2014 20:36:37 -0000 1.423
25 +++ ChangeLog 7 Jul 2014 12:44:12 -0000 1.424
26 @@ -1,6 +1,15 @@
27 # ChangeLog for dev-lang/perl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.423 2014/07/04 20:36:37 dilfridge Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.424 2014/07/07 12:44:12 pinkbyte Exp $
31 +
32 +*perl-5.20.0-r1 (07 Jul 2014)
33 +*perl-5.18.2-r1 (07 Jul 2014)
34 +
35 + 07 Jul 2014; Sergey Popov <pinkbyte@g.o> -perl-5.18.2.ebuild,
36 + +perl-5.18.2-r1.ebuild, -perl-5.20.0.ebuild, +perl-5.20.0-r1.ebuild,
37 + files/eblits/src_configure-v50180002.eblit:
38 + Revision bump: apply workaround for bug #157774 - do not build gdbm stuff
39 + when USE='-gdbm'. Drop old revisions
40
41 04 Jul 2014; Andreas K. Huettel <dilfridge@g.o>
42 -perl-5.12.4-r1.ebuild:
43
44
45
46 1.1 dev-lang/perl/perl-5.20.0-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.0-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.0-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: perl-5.20.0-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.0-r1.ebuild,v 1.1 2014/07/07 12:44:12 pinkbyte Exp $
56
57 EAPI=5
58
59 inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
60
61 PATCH_VER=1
62
63 PERL_OLDVERSEN=""
64 MODULE_AUTHOR=RJBS
65
66 SHORT_PV="${PV%.*}"
67 MY_P="perl-${PV/_rc/-RC}"
68 MY_PV="${PV%_rc*}"
69
70 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
71
72 SRC_URI="
73 mirror://cpan/src/5.0/${MY_P}.tar.bz2
74 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
75 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2
76 http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-patches-${PATCH_VER}.tar.bz2
77 "
78 HOMEPAGE="http://www.perl.org/"
79
80 LICENSE="|| ( Artistic GPL-1+ )"
81 SLOT="0/${SHORT_PV}"
82 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"
83 IUSE="berkdb debug doc gdbm ithreads"
84
85 RDEPEND="
86 berkdb? ( sys-libs/db )
87 gdbm? ( >=sys-libs/gdbm-1.8.3 )
88 app-arch/bzip2
89 sys-libs/zlib
90 "
91 DEPEND="${RDEPEND}
92 !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
93 "
94 PDEPEND=">=app-admin/perl-cleaner-2.5"
95
96 S="${WORKDIR}/${MY_P}"
97
98 dual_scripts() {
99 src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
100 src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
101 src_remove_dual perl-core/CPAN 1.980.0 cpan
102 src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
103 src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
104 src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
105 src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
106 src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
107 src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
108 src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
109 src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
110 src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
111 src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
112 src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
113 src_remove_dual perl-core/Test-Harness 3.230.0 prove
114 src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
115 src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
116 }
117
118 # eblit-include [--skip] <function> [version]
119 eblit-include() {
120 local skipable=false
121 [[ $1 == "--skip" ]] && skipable=true && shift
122 [[ $1 == pkg_* ]] && skipable=true
123
124 local e v func=$1 ver=$2
125 [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
126 for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
127 e="${FILESDIR}/eblits/${func}${v}.eblit"
128 if [[ -e ${e} ]] ; then
129 . "${e}"
130 return 0
131 fi
132 done
133 ${skipable} && return 0
134 die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
135 }
136
137 # eblit-run-maybe <function>
138 # run the specified function if it is defined
139 eblit-run-maybe() {
140 [[ $(type -t "$@") == "function" ]] && "$@"
141 }
142
143 # eblit-run <function> [version]
144 # aka: src_unpack() { eblit-run src_unpack ; }
145 eblit-run() {
146 eblit-include --skip common "${*:2}"
147 eblit-include "$@"
148 eblit-run-maybe eblit-$1-pre
149 eblit-${PN}-$1
150 eblit-run-maybe eblit-$1-post
151 }
152
153 #src_unpack() { eblit-run src_unpack v50160001 ; }
154 src_prepare() { eblit-run src_prepare v50160001 ; }
155 src_configure() { eblit-run src_configure v50180002 ; }
156 #src_compile() { eblit-run src_compile v50160001 ; }
157 src_test() { eblit-run src_test v50160001 ; }
158 src_install() { eblit-run src_install v50160001 ; }
159
160 # FILESDIR might not be available during binpkg install
161 # FIXME: version passing
162 for x in setup {pre,post}{inst,rm} ; do
163 e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
164 if [[ -e ${e} ]] ; then
165 . "${e}"
166 eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
167 fi
168 done
169
170
171
172 1.1 dev-lang/perl/perl-5.18.2-r1.ebuild
173
174 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.18.2-r1.ebuild?rev=1.1&view=markup
175 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.18.2-r1.ebuild?rev=1.1&content-type=text/plain
176
177 Index: perl-5.18.2-r1.ebuild
178 ===================================================================
179 # Copyright 1999-2014 Gentoo Foundation
180 # Distributed under the terms of the GNU General Public License v2
181 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.18.2-r1.ebuild,v 1.1 2014/07/07 12:44:12 pinkbyte Exp $
182
183 EAPI=5
184
185 inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
186
187 PATCH_VER=2
188
189 PERL_OLDVERSEN="5.18.0 5.18.1"
190 MODULE_AUTHOR=RJBS
191
192 SHORT_PV="${PV%.*}"
193 MY_P="perl-${PV/_rc/-RC}"
194 MY_PV="${PV%_rc*}"
195
196 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
197
198 SRC_URI="
199 mirror://cpan/src/5.0/${MY_P}.tar.bz2
200 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
201 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2
202 http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-patches-${PATCH_VER}.tar.bz2
203 "
204 HOMEPAGE="http://www.perl.org/"
205
206 LICENSE="|| ( Artistic GPL-1+ )"
207 SLOT="0/${SHORT_PV}"
208 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"
209 IUSE="berkdb debug doc gdbm ithreads"
210
211 RDEPEND="
212 berkdb? ( sys-libs/db )
213 gdbm? ( >=sys-libs/gdbm-1.8.3 )
214 app-arch/bzip2
215 sys-libs/zlib
216 "
217 DEPEND="${RDEPEND}
218 !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
219 "
220 PDEPEND=">=app-admin/perl-cleaner-2.5"
221
222 S="${WORKDIR}/${MY_P}"
223
224 dual_scripts() {
225 src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
226 src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
227 src_remove_dual perl-core/CPAN 1.980.0 cpan
228 src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
229 src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
230 src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
231 src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
232 src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
233 src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
234 src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
235 src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
236 src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
237 src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
238 src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
239 src_remove_dual perl-core/Test-Harness 3.230.0 prove
240 src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
241 src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
242 }
243
244 # eblit-include [--skip] <function> [version]
245 eblit-include() {
246 local skipable=false
247 [[ $1 == "--skip" ]] && skipable=true && shift
248 [[ $1 == pkg_* ]] && skipable=true
249
250 local e v func=$1 ver=$2
251 [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
252 for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
253 e="${FILESDIR}/eblits/${func}${v}.eblit"
254 if [[ -e ${e} ]] ; then
255 . "${e}"
256 return 0
257 fi
258 done
259 ${skipable} && return 0
260 die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
261 }
262
263 # eblit-run-maybe <function>
264 # run the specified function if it is defined
265 eblit-run-maybe() {
266 [[ $(type -t "$@") == "function" ]] && "$@"
267 }
268
269 # eblit-run <function> [version]
270 # aka: src_unpack() { eblit-run src_unpack ; }
271 eblit-run() {
272 eblit-include --skip common "${*:2}"
273 eblit-include "$@"
274 eblit-run-maybe eblit-$1-pre
275 eblit-${PN}-$1
276 eblit-run-maybe eblit-$1-post
277 }
278
279 #src_unpack() { eblit-run src_unpack v50160001 ; }
280 src_prepare() { eblit-run src_prepare v50160001 ; }
281 src_configure() { eblit-run src_configure v50180002 ; }
282 #src_compile() { eblit-run src_compile v50160001 ; }
283 src_test() { eblit-run src_test v50160001 ; }
284 src_install() { eblit-run src_install v50160001 ; }
285
286 # FILESDIR might not be available during binpkg install
287 # FIXME: version passing
288 for x in setup {pre,post}{inst,rm} ; do
289 e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
290 if [[ -e ${e} ]] ; then
291 . "${e}"
292 eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
293 fi
294 done