Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/android:master commit in: dev-lang/perl/, dev-lang/perl/files/eblits/
Date: Thu, 02 Jun 2016 23:54:55
Message-Id: 1464861133.dd56d20d780ebe8f5fcc007d4f54cd5f1c1095bf.heroxbd@gentoo
1 commit: dd56d20d780ebe8f5fcc007d4f54cd5f1c1095bf
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 09:52:13 2016 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 09:52:13 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/android.git/commit/?id=dd56d20d
7
8 dev-lang/perl: sync with main repo, drop perl-5.18.
9
10 dev-lang/perl/files/eblits/common-v50160001.eblit | 2 +-
11 ...mmon-v50160001.eblit => common-v50240001.eblit} | 2 +-
12 .../perl/files/eblits/pkg_postinst-v50160001.eblit | 2 +-
13 .../perl/files/eblits/pkg_postinst-v50240001.eblit | 36 ++++++++++++
14 .../perl/files/eblits/pkg_postrm-v50160001.eblit | 2 +-
15 .../perl/files/eblits/pkg_postrm-v50240001.eblit | 7 +++
16 .../perl/files/eblits/pkg_setup-v50160001.eblit | 2 +-
17 ...p-v50160001.eblit => pkg_setup-v50240001.eblit} | 24 ++++----
18 .../files/eblits/src_configure-v50180002.eblit | 55 ++++++++++++++----
19 ...0180002.eblit => src_configure-v50240001.eblit} | 55 ++++++++++++++----
20 .../perl/files/eblits/src_install-v50160001.eblit | 2 +-
21 .../perl/files/eblits/src_install-v50200001.eblit | 2 +-
22 ...v50200001.eblit => src_install-v50240001.eblit} | 2 +-
23 .../perl/files/eblits/src_prepare-v50160001.eblit | 2 +-
24 ...v50160001.eblit => src_prepare-v50240001.eblit} | 4 +-
25 .../perl/files/eblits/src_test-v50160001.eblit | 2 +-
26 .../{perl-5.20.2-r1.ebuild => perl-5.24.0.ebuild} | 66 +++++++++++-----------
27 17 files changed, 189 insertions(+), 78 deletions(-)
28
29 diff --git a/dev-lang/perl/files/eblits/common-v50160001.eblit b/dev-lang/perl/files/eblits/common-v50160001.eblit
30 index e108d2a..2a8d815 100644
31 --- a/dev-lang/perl/files/eblits/common-v50160001.eblit
32 +++ b/dev-lang/perl/files/eblits/common-v50160001.eblit
33 @@ -1,6 +1,6 @@
34 # Copyright 1999-2012 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/common-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
37 +# $Id$
38
39 src_remove_dual_file() {
40 local i pkg ver
41
42 diff --git a/dev-lang/perl/files/eblits/common-v50160001.eblit b/dev-lang/perl/files/eblits/common-v50240001.eblit
43 similarity index 92%
44 copy from dev-lang/perl/files/eblits/common-v50160001.eblit
45 copy to dev-lang/perl/files/eblits/common-v50240001.eblit
46 index e108d2a..2a8d815 100644
47 --- a/dev-lang/perl/files/eblits/common-v50160001.eblit
48 +++ b/dev-lang/perl/files/eblits/common-v50240001.eblit
49 @@ -1,6 +1,6 @@
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/common-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
53 +# $Id$
54
55 src_remove_dual_file() {
56 local i pkg ver
57
58 diff --git a/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit
59 index ad743bc..cc864d0 100644
60 --- a/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit
61 +++ b/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit
62 @@ -1,6 +1,6 @@
63 # Copyright 1999-2012 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
66 +# $Id$
67
68 eblit-perl-pkg_postinst() {
69 dual_scripts
70
71 diff --git a/dev-lang/perl/files/eblits/pkg_postinst-v50240001.eblit b/dev-lang/perl/files/eblits/pkg_postinst-v50240001.eblit
72 new file mode 100644
73 index 0000000..2603ef4
74 --- /dev/null
75 +++ b/dev-lang/perl/files/eblits/pkg_postinst-v50240001.eblit
76 @@ -0,0 +1,36 @@
77 +# Copyright 1999-2015 Gentoo Foundation
78 +# Distributed under the terms of the GNU General Public License v2
79 +# $Id$
80 +
81 +eblit-perl-pkg_postinst() {
82 + dual_scripts
83 +
84 + if [[ "${ROOT}" = "/" ]] ; then
85 + local INC DIR file
86 + INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
87 + einfo "Removing old .ph files"
88 + for DIR in ${INC} ; do
89 + if [[ -d "${DIR}" ]] ; then
90 + for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
91 + rm -f "${file}"
92 + einfo "<< ${file}"
93 + done
94 + fi
95 + done
96 + # Silently remove the now empty dirs
97 + for DIR in ${INC} ; do
98 + if [[ -d "${DIR}" ]] ; then
99 + find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
100 + fi
101 + done
102 +
103 +# einfo "Converting C header files to the corresponding Perl format (ignore any error)"
104 +# # Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
105 +# pushd /usr/include >/dev/null
106 +# h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
107 +# asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
108 +# sys/socket.h sys/time.h wait.h sysexits.h
109 +# popd >/dev/null
110 +
111 + fi
112 +}
113
114 diff --git a/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit
115 index a4d5ad6..02b5944 100644
116 --- a/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit
117 +++ b/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit
118 @@ -1,6 +1,6 @@
119 # Copyright 1999-2012 Gentoo Foundation
120 # Distributed under the terms of the GNU General Public License v2
121 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
122 +# $Id$
123
124 eblit-perl-pkg_postrm(){
125 dual_scripts
126
127 diff --git a/dev-lang/perl/files/eblits/pkg_postrm-v50240001.eblit b/dev-lang/perl/files/eblits/pkg_postrm-v50240001.eblit
128 new file mode 100644
129 index 0000000..ed98a86
130 --- /dev/null
131 +++ b/dev-lang/perl/files/eblits/pkg_postrm-v50240001.eblit
132 @@ -0,0 +1,7 @@
133 +# Copyright 1999-2015 Gentoo Foundation
134 +# Distributed under the terms of the GNU General Public License v2
135 +# $Id$
136 +
137 +eblit-perl-pkg_postrm(){
138 + dual_scripts
139 +}
140
141 diff --git a/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
142 index f8d01f8..a7b734f 100644
143 --- a/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
144 +++ b/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
145 @@ -1,6 +1,6 @@
146 # Copyright 1999-2013 Gentoo Foundation
147 # Distributed under the terms of the GNU General Public License v2
148 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit,v 1.2 2013/11/22 08:56:13 haubi Exp $
149 +# $Id$
150
151 eblit-perl-pkg_setup() {
152 case ${CHOST} in
153
154 diff --git a/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_setup-v50240001.eblit
155 similarity index 71%
156 copy from dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
157 copy to dev-lang/perl/files/eblits/pkg_setup-v50240001.eblit
158 index f8d01f8..9ce8e99 100644
159 --- a/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
160 +++ b/dev-lang/perl/files/eblits/pkg_setup-v50240001.eblit
161 @@ -1,6 +1,6 @@
162 -# Copyright 1999-2013 Gentoo Foundation
163 +# Copyright 1999-2015 Gentoo Foundation
164 # Distributed under the terms of the GNU General Public License v2
165 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit,v 1.2 2013/11/22 08:56:13 haubi Exp $
166 +# $Id$
167
168 eblit-perl-pkg_setup() {
169 case ${CHOST} in
170 @@ -33,12 +33,10 @@ eblit-perl-pkg_setup() {
171
172 if use ithreads ; then
173 echo ""
174 - ewarn "THREADS WARNING:"
175 - ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
176 - ewarn "interpreter-level threading enabled."
177 - ewarn "Threading is not supported by all applications "
178 - ewarn "that compile against perl. You use threading at "
179 - ewarn "your own discretion. "
180 + ewarn "THREADS WARNING"
181 + ewarn "PLEASE NOTE: You are compiling ${MY_P} with interpreter-level threading enabled."
182 + ewarn "Threading is not supported by all applications that compile against perl. You"
183 + ewarn "use threading at your own discretion."
184 fi
185 check_rebuild
186 dual_scripts
187 @@ -48,13 +46,12 @@ check_rebuild() {
188 if has_version "<dev-lang/perl-${SHORT_PV}" ; then
189 echo ""
190 ewarn "UPDATE THE PERL MODULES:"
191 - ewarn "After updating dev-lang/perl you must reinstall"
192 - ewarn "the installed perl modules."
193 + ewarn "After updating dev-lang/perl the installed Perl modules will"
194 + ewarn "have to be re-installed. In most cases, this is done automatically"
195 + ewarn "by the package manager, but you should still call perl-cleaner to"
196 + ewarn "make sure your system is consistent."
197 ewarn "Use: perl-cleaner --all"
198 elif has_version dev-lang/perl ; then
199 - # doesnot work
200 - #if ! has_version dev-lang/perl[ithreads=,debug=] ; then
201 - #if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
202 if ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
203 ( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
204 ( use debug && ! has_version dev-lang/perl[debug] ) || \
205 @@ -67,4 +64,3 @@ check_rebuild() {
206 fi
207 fi
208 }
209 -
210
211 diff --git a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
212 index 7a2460c..05fa86b 100644
213 --- a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
214 +++ b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
215 @@ -1,6 +1,6 @@
216 # Copyright 1999-2014 Gentoo Foundation
217 # Distributed under the terms of the GNU General Public License v2
218 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v 1.3 2014/09/26 11:00:50 grobian Exp $
219 +# $Id$
220
221 myconf() {
222 # the myconf array is declared in src_configure
223 @@ -74,8 +74,10 @@ eblit-perl-src_configure() {
224
225 [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
226
227 - # Make sure we can do the final link #523730
228 - [[ ${CHOST} == *-darwin* ]] && myconf "-Dld=$(tc-getCC)"
229 + # Make sure we can do the final link #523730, need to set deployment
230 + # target to override hardcoded 10.3 which breaks on modern OSX
231 + [[ ${CHOST} == *-darwin* ]] && \
232 + myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
233
234 # Prefix: the host system needs not to follow Gentoo multilib stuff, and in
235 # Prefix itself we don't do multilib either, so make sure perl can find
236 @@ -90,10 +92,6 @@ eblit-perl-src_configure() {
237 # Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
238 local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
239 myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
240 -
241 - # Configure checks for /system/lib/libandroid.so to override linux into linux-android,
242 - # which is not intended for Gentoo
243 - sed -i "/libandroid.so/d" Configure || die "sed failed"
244 elif [[ $(get_libdir) != "lib" ]] ; then
245 # We need to use " and not ', as the written config.sh use ' ...
246 myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
247 @@ -109,6 +107,46 @@ eblit-perl-src_configure() {
248
249 myconf -Dnoextensions="${disabled_extensions}"
250
251 + echo Configuring Perl as follows:
252 + echo sh Configure \
253 + -des \
254 + -Duseshrplib \
255 + -Darchname="${myarch}" \
256 + -Dcc="$(tc-getCC)" \
257 + -Doptimize="${CFLAGS}" \
258 + -Dldflags="${LDFLAGS}" \
259 + -Dprefix="${EPREFIX}"'/usr' \
260 + -Dinstallprefix="${EPREFIX}"'/usr' \
261 + -Dsiteprefix="${EPREFIX}"'/usr/local' \
262 + -Dvendorprefix="${EPREFIX}"'/usr' \
263 + -Dscriptdir="${EPREFIX}"'/usr/bin' \
264 + -Dprivlib="${EPREFIX}${PRIV_LIB}" \
265 + -Darchlib="${EPREFIX}${ARCH_LIB}" \
266 + -Dsitelib="${EPREFIX}${SITE_LIB}" \
267 + -Dsitearch="${EPREFIX}${SITE_ARCH}" \
268 + -Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
269 + -Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
270 + -Dman1dir="${EPREFIX}"/usr/share/man/man1 \
271 + -Dman3dir="${EPREFIX}"/usr/share/man/man3 \
272 + -Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
273 + -Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
274 + -Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
275 + -Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
276 + -Dman1ext='1' \
277 + -Dman3ext='3pm' \
278 + -Dlibperl="${LIBPERL}" \
279 + -Dlocincpth="${EPREFIX}"'/usr/include ' \
280 + -Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
281 + -Duselargefiles \
282 + -Dd_semctl_semun \
283 + -Dcf_by='Gentoo' \
284 + -Dmyhostname='localhost' \
285 + -Dperladmin='root@localhost' \
286 + -Dinstallusrbinperl='n' \
287 + -Ud_csh \
288 + -Uusenm \
289 + "${myconf[@]}"
290 +
291 sh Configure \
292 -des \
293 -Duseshrplib \
294 @@ -146,8 +184,5 @@ eblit-perl-src_configure() {
295 -Dinstallusrbinperl='n' \
296 -Ud_csh \
297 -Uusenm \
298 - -Dsh="${EPREFIX}"/bin/sh \
299 - -Dtargetsh="${EPREFIX}"/bin/sh \
300 - -Dsysroot="${EROOT}" \
301 "${myconf[@]}" || die "Unable to configure"
302 }
303
304 diff --git a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit b/dev-lang/perl/files/eblits/src_configure-v50240001.eblit
305 similarity index 74%
306 copy from dev-lang/perl/files/eblits/src_configure-v50180002.eblit
307 copy to dev-lang/perl/files/eblits/src_configure-v50240001.eblit
308 index 7a2460c..05fa86b 100644
309 --- a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
310 +++ b/dev-lang/perl/files/eblits/src_configure-v50240001.eblit
311 @@ -1,6 +1,6 @@
312 # Copyright 1999-2014 Gentoo Foundation
313 # Distributed under the terms of the GNU General Public License v2
314 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v 1.3 2014/09/26 11:00:50 grobian Exp $
315 +# $Id$
316
317 myconf() {
318 # the myconf array is declared in src_configure
319 @@ -74,8 +74,10 @@ eblit-perl-src_configure() {
320
321 [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
322
323 - # Make sure we can do the final link #523730
324 - [[ ${CHOST} == *-darwin* ]] && myconf "-Dld=$(tc-getCC)"
325 + # Make sure we can do the final link #523730, need to set deployment
326 + # target to override hardcoded 10.3 which breaks on modern OSX
327 + [[ ${CHOST} == *-darwin* ]] && \
328 + myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
329
330 # Prefix: the host system needs not to follow Gentoo multilib stuff, and in
331 # Prefix itself we don't do multilib either, so make sure perl can find
332 @@ -90,10 +92,6 @@ eblit-perl-src_configure() {
333 # Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
334 local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
335 myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
336 -
337 - # Configure checks for /system/lib/libandroid.so to override linux into linux-android,
338 - # which is not intended for Gentoo
339 - sed -i "/libandroid.so/d" Configure || die "sed failed"
340 elif [[ $(get_libdir) != "lib" ]] ; then
341 # We need to use " and not ', as the written config.sh use ' ...
342 myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
343 @@ -109,6 +107,46 @@ eblit-perl-src_configure() {
344
345 myconf -Dnoextensions="${disabled_extensions}"
346
347 + echo Configuring Perl as follows:
348 + echo sh Configure \
349 + -des \
350 + -Duseshrplib \
351 + -Darchname="${myarch}" \
352 + -Dcc="$(tc-getCC)" \
353 + -Doptimize="${CFLAGS}" \
354 + -Dldflags="${LDFLAGS}" \
355 + -Dprefix="${EPREFIX}"'/usr' \
356 + -Dinstallprefix="${EPREFIX}"'/usr' \
357 + -Dsiteprefix="${EPREFIX}"'/usr/local' \
358 + -Dvendorprefix="${EPREFIX}"'/usr' \
359 + -Dscriptdir="${EPREFIX}"'/usr/bin' \
360 + -Dprivlib="${EPREFIX}${PRIV_LIB}" \
361 + -Darchlib="${EPREFIX}${ARCH_LIB}" \
362 + -Dsitelib="${EPREFIX}${SITE_LIB}" \
363 + -Dsitearch="${EPREFIX}${SITE_ARCH}" \
364 + -Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
365 + -Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
366 + -Dman1dir="${EPREFIX}"/usr/share/man/man1 \
367 + -Dman3dir="${EPREFIX}"/usr/share/man/man3 \
368 + -Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
369 + -Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
370 + -Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
371 + -Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
372 + -Dman1ext='1' \
373 + -Dman3ext='3pm' \
374 + -Dlibperl="${LIBPERL}" \
375 + -Dlocincpth="${EPREFIX}"'/usr/include ' \
376 + -Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
377 + -Duselargefiles \
378 + -Dd_semctl_semun \
379 + -Dcf_by='Gentoo' \
380 + -Dmyhostname='localhost' \
381 + -Dperladmin='root@localhost' \
382 + -Dinstallusrbinperl='n' \
383 + -Ud_csh \
384 + -Uusenm \
385 + "${myconf[@]}"
386 +
387 sh Configure \
388 -des \
389 -Duseshrplib \
390 @@ -146,8 +184,5 @@ eblit-perl-src_configure() {
391 -Dinstallusrbinperl='n' \
392 -Ud_csh \
393 -Uusenm \
394 - -Dsh="${EPREFIX}"/bin/sh \
395 - -Dtargetsh="${EPREFIX}"/bin/sh \
396 - -Dsysroot="${EROOT}" \
397 "${myconf[@]}" || die "Unable to configure"
398 }
399
400 diff --git a/dev-lang/perl/files/eblits/src_install-v50160001.eblit b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
401 index d31e90e..aa90fae 100644
402 --- a/dev-lang/perl/files/eblits/src_install-v50160001.eblit
403 +++ b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
404 @@ -1,6 +1,6 @@
405 # Copyright 1999-2013 Gentoo Foundation
406 # Distributed under the terms of the GNU General Public License v2
407 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50160001.eblit,v 1.3 2013/03/14 12:46:31 tove Exp $
408 +# $Id$
409
410 eblit-perl-src_install() {
411 local i
412
413 diff --git a/dev-lang/perl/files/eblits/src_install-v50200001.eblit b/dev-lang/perl/files/eblits/src_install-v50200001.eblit
414 index 1df4296..fafff82 100644
415 --- a/dev-lang/perl/files/eblits/src_install-v50200001.eblit
416 +++ b/dev-lang/perl/files/eblits/src_install-v50200001.eblit
417 @@ -1,6 +1,6 @@
418 # Copyright 1999-2014 Gentoo Foundation
419 # Distributed under the terms of the GNU General Public License v2
420 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50200001.eblit,v 1.1 2014/12/19 18:52:46 dilfridge Exp $
421 +# $Id$
422
423 eblit-perl-src_install() {
424 local i
425
426 diff --git a/dev-lang/perl/files/eblits/src_install-v50200001.eblit b/dev-lang/perl/files/eblits/src_install-v50240001.eblit
427 similarity index 92%
428 copy from dev-lang/perl/files/eblits/src_install-v50200001.eblit
429 copy to dev-lang/perl/files/eblits/src_install-v50240001.eblit
430 index 1df4296..fafff82 100644
431 --- a/dev-lang/perl/files/eblits/src_install-v50200001.eblit
432 +++ b/dev-lang/perl/files/eblits/src_install-v50240001.eblit
433 @@ -1,6 +1,6 @@
434 # Copyright 1999-2014 Gentoo Foundation
435 # Distributed under the terms of the GNU General Public License v2
436 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50200001.eblit,v 1.1 2014/12/19 18:52:46 dilfridge Exp $
437 +# $Id$
438
439 eblit-perl-src_install() {
440 local i
441
442 diff --git a/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit b/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
443 index 075e576..a12b773 100644
444 --- a/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
445 +++ b/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
446 @@ -1,6 +1,6 @@
447 # Copyright 1999-2012 Gentoo Foundation
448 # Distributed under the terms of the GNU General Public License v2
449 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
450 +# $Id$
451
452 src_prepare_update_patchlevel_h() {
453 # Copied and modified from debian:
454
455 diff --git a/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit b/dev-lang/perl/files/eblits/src_prepare-v50240001.eblit
456 similarity index 93%
457 copy from dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
458 copy to dev-lang/perl/files/eblits/src_prepare-v50240001.eblit
459 index 075e576..5387d4b 100644
460 --- a/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
461 +++ b/dev-lang/perl/files/eblits/src_prepare-v50240001.eblit
462 @@ -1,6 +1,6 @@
463 # Copyright 1999-2012 Gentoo Foundation
464 # Distributed under the terms of the GNU General Public License v2
465 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
466 +# $Id$
467
468 src_prepare_update_patchlevel_h() {
469 # Copied and modified from debian:
470 @@ -66,5 +66,7 @@ eblit-perl-src_prepare() {
471 ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
472 ln -s ${LIBPERL} libperl$(get_libname ) || die
473 fi
474 +
475 + default
476 }
477
478
479 diff --git a/dev-lang/perl/files/eblits/src_test-v50160001.eblit b/dev-lang/perl/files/eblits/src_test-v50160001.eblit
480 index 86acdc4..9e241ec 100644
481 --- a/dev-lang/perl/files/eblits/src_test-v50160001.eblit
482 +++ b/dev-lang/perl/files/eblits/src_test-v50160001.eblit
483 @@ -1,6 +1,6 @@
484 # Copyright 1999-2012 Gentoo Foundation
485 # Distributed under the terms of the GNU General Public License v2
486 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_test-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
487 +# $Id$
488
489 eblit-perl-src_test() {
490 if [[ ${EUID} == 0 ]] ; then
491
492 diff --git a/dev-lang/perl/perl-5.20.2-r1.ebuild b/dev-lang/perl/perl-5.24.0.ebuild
493 similarity index 51%
494 rename from dev-lang/perl/perl-5.20.2-r1.ebuild
495 rename to dev-lang/perl/perl-5.24.0.ebuild
496 index 43247b6..53bf104 100644
497 --- a/dev-lang/perl/perl-5.20.2-r1.ebuild
498 +++ b/dev-lang/perl/perl-5.24.0.ebuild
499 @@ -1,15 +1,15 @@
500 -# Copyright 1999-2015 Gentoo Foundation
501 +# Copyright 1999-2016 Gentoo Foundation
502 # Distributed under the terms of the GNU General Public License v2
503 # $Id$
504
505 -EAPI=5
506 +EAPI=6
507
508 -inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing prefix
509 +inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
510
511 -PATCH_VER=2
512 +PATCH_VER=1
513
514 -PERL_OLDVERSEN="5.20.0 5.20.1"
515 -MODULE_AUTHOR=SHAY
516 +PERL_OLDVERSEN=""
517 +MODULE_AUTHOR=RJBS
518
519 SHORT_PV="${PV%.*}"
520 MY_P="perl-${PV/_rc/-RC}"
521 @@ -21,13 +21,13 @@ SRC_URI="
522 mirror://cpan/src/5.0/${MY_P}.tar.bz2
523 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
524 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
525 - http://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
526 + https://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
527 "
528 HOMEPAGE="http://www.perl.org/"
529
530 LICENSE="|| ( Artistic GPL-1+ )"
531 SLOT="0/${SHORT_PV}"
532 -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"
533 +KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~hppa-hpux ~ia64 ~ia64-hpux ~ia64-linux ~m68k ~m68k-mint ~mips ~ppc ~ppc64 ~ppc-aix ~ppc-macos ~s390 ~sh ~sparc ~sparc64-solaris ~sparc-solaris ~x64-freebsd ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~x86-linux ~x86-macos ~x86-solaris"
534 IUSE="berkdb debug doc gdbm ithreads"
535
536 RDEPEND="
537 @@ -43,27 +43,28 @@ PDEPEND="
538 >=app-admin/perl-cleaner-2.5
539 >=virtual/perl-File-Temp-0.230.400-r2
540 >=virtual/perl-Data-Dumper-2.154.0
541 + virtual/perl-Test-Harness
542 "
543 # bug 390719, bug 523624
544 +# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
545
546 S="${WORKDIR}/${MY_P}"
547
548 dual_scripts() {
549 - src_remove_dual perl-core/Archive-Tar 1.960.0 ptar ptardiff ptargrep
550 - src_remove_dual perl-core/Digest-SHA 5.880.0 shasum
551 - src_remove_dual perl-core/CPAN 2.50.0 cpan
552 - src_remove_dual perl-core/Encode 2.600.0 enc2xs piconv
553 - src_remove_dual perl-core/ExtUtils-MakeMaker 6.980.0 instmodsh
554 - src_remove_dual perl-core/ExtUtils-ParseXS 3.240.0 xsubpp
555 - src_remove_dual perl-core/IO-Compress 2.64.0 zipdetails
556 - src_remove_dual perl-core/JSON-PP 2.272.30 json_pp
557 - src_remove_dual perl-core/Module-Build 0.420.500 config_data
558 - src_remove_dual perl-core/Module-CoreList 5.201.502.140 corelist
559 - src_remove_dual perl-core/Pod-Parser 1.620.0 pod2usage podchecker podselect
560 - src_remove_dual perl-core/Pod-Perldoc 3.230.0 perldoc
561 - src_remove_dual perl-core/Test-Harness 3.330.0 prove
562 - src_remove_dual perl-core/podlators 2.5.3 pod2man pod2text
563 - src_remove_dual_man perl-core/podlators 2.5.3 /usr/share/man/man1/perlpodstyle.1
564 + src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
565 + src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
566 + src_remove_dual perl-core/CPAN 2.110.0 cpan
567 + src_remove_dual perl-core/Encode 2.800.0 enc2xs piconv
568 + src_remove_dual perl-core/ExtUtils-MakeMaker 7.100.100_rc instmodsh
569 + src_remove_dual perl-core/ExtUtils-ParseXS 3.310.0 xsubpp
570 + src_remove_dual perl-core/IO-Compress 2.69.0 zipdetails
571 + src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
572 + src_remove_dual perl-core/Module-CoreList 5.201.605.60 corelist
573 + src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
574 + src_remove_dual perl-core/Pod-Perldoc 3.250.200_rc perldoc
575 + src_remove_dual perl-core/Test-Harness 3.360.0 prove
576 + src_remove_dual perl-core/podlators 4.70.0 pod2man pod2text
577 + src_remove_dual_man perl-core/podlators 4.70.0 /usr/share/man/man1/perlpodstyle.1
578 }
579
580 # eblit-include [--skip] <function> [version]
581 @@ -101,26 +102,25 @@ eblit-run() {
582 eblit-run-maybe eblit-$1-post
583 }
584
585 -#src_unpack() { eblit-run src_unpack v50160001 ; }
586 -src_prepare() {
587 - eblit-run src_prepare v50160001
588 - epatch "${FILESDIR}"/${PN}-cwd-prefix.patch
589 - eprefixify dist/PathTools/Cwd.pm
590 -}
591 -src_configure() { eblit-run src_configure v50180002 ; }
592 +src_prepare() { eblit-run src_prepare v50240001 ; }
593 +
594 +src_configure() { eblit-run src_configure v50240001 ; }
595 +
596 #src_compile() { eblit-run src_compile v50160001 ; }
597 +
598 src_test() {
599 export NO_GENTOO_NETWORK_TESTS=1;
600 eblit-run src_test v50160001 ;
601 }
602 -src_install() { eblit-run src_install v50200001 ; }
603 +
604 +src_install() { eblit-run src_install v50240001 ; }
605
606 # FILESDIR might not be available during binpkg install
607 # FIXME: version passing
608 for x in setup {pre,post}{inst,rm} ; do
609 - e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
610 + e="${FILESDIR}/eblits/pkg_${x}-v50240001.eblit"
611 if [[ -e ${e} ]] ; then
612 . "${e}"
613 - eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
614 + eval "pkg_${x}() { eblit-run pkg_${x} v50240001 ; }"
615 fi
616 done