Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl: perl-5.20.1-r3.ebuild ChangeLog
Date: Fri, 28 Nov 2014 23:50:32
Message-Id: 20141128235028.AB273B1E5@oystercatcher.gentoo.org
1 dilfridge 14/11/28 23:50:28
2
3 Modified: ChangeLog
4 Added: perl-5.20.1-r3.ebuild
5 Log:
6 Disable extra optimizations in Digest-SHA, breaks multilib; bug 506818
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.458 dev-lang/perl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.458&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.458&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?r1=1.457&r2=1.458
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v
20 retrieving revision 1.457
21 retrieving revision 1.458
22 diff -u -r1.457 -r1.458
23 --- ChangeLog 28 Nov 2014 23:21:51 -0000 1.457
24 +++ ChangeLog 28 Nov 2014 23:50:28 -0000 1.458
25 @@ -1,6 +1,12 @@
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.457 2014/11/28 23:21:51 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.458 2014/11/28 23:50:28 dilfridge Exp $
30 +
31 +*perl-5.20.1-r3 (28 Nov 2014)
32 +
33 + 28 Nov 2014; Andreas K. Huettel <dilfridge@g.o>
34 + +perl-5.20.1-r3.ebuild:
35 + Disable extra optimizations in Digest-SHA, breaks multilib; bug 506818
36
37 28 Nov 2014; Andreas K. Huettel <dilfridge@g.o>
38 -files/perl-5.8.7-MakeMaker-RUNPATH.patch,
39
40
41
42 1.1 dev-lang/perl/perl-5.20.1-r3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.1-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.20.1-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: perl-5.20.1-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.1-r3.ebuild,v 1.1 2014/11/28 23:50:28 dilfridge Exp $
52
53 EAPI=5
54
55 inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
56
57 PATCH_VER=2
58
59 PERL_OLDVERSEN="5.20.0"
60 MODULE_AUTHOR=RJBS
61
62 SHORT_PV="${PV%.*}"
63 MY_P="perl-${PV/_rc/-RC}"
64 MY_PV="${PV%_rc*}"
65
66 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
67
68 SRC_URI="
69 mirror://cpan/src/5.0/${MY_P}.tar.bz2
70 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
71 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
72 http://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
73 "
74 HOMEPAGE="http://www.perl.org/"
75
76 LICENSE="|| ( Artistic GPL-1+ )"
77 SLOT="0/${SHORT_PV}"
78 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"
79 IUSE="berkdb debug doc gdbm ithreads"
80
81 RDEPEND="
82 berkdb? ( sys-libs/db )
83 gdbm? ( >=sys-libs/gdbm-1.8.3 )
84 app-arch/bzip2
85 sys-libs/zlib
86 "
87 DEPEND="${RDEPEND}
88 !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
89 "
90 PDEPEND="
91 >=app-admin/perl-cleaner-2.5
92 >=virtual/perl-File-Temp-0.230.400-r2
93 "
94 # bug 390719
95
96 S="${WORKDIR}/${MY_P}"
97
98 dual_scripts() {
99 src_remove_dual perl-core/Archive-Tar 1.960.0 ptar ptardiff ptargrep
100 src_remove_dual perl-core/Digest-SHA 5.880.0 shasum
101 src_remove_dual perl-core/CPAN 2.50.0 cpan
102 src_remove_dual perl-core/Encode 2.600.0 enc2xs piconv
103 src_remove_dual perl-core/ExtUtils-MakeMaker 6.980.0 instmodsh
104 src_remove_dual perl-core/ExtUtils-ParseXS 3.240.0 xsubpp
105 src_remove_dual perl-core/IO-Compress 2.64.0 zipdetails
106 src_remove_dual perl-core/JSON-PP 2.272.30 json_pp
107 src_remove_dual perl-core/Module-Build 0.420.500 config_data
108 src_remove_dual perl-core/Module-CoreList 5.20.1 corelist
109 src_remove_dual perl-core/Pod-Parser 1.620.0 pod2usage podchecker podselect
110 src_remove_dual perl-core/Pod-Perldoc 3.230.0 perldoc
111 src_remove_dual perl-core/Test-Harness 3.330.0 prove
112 src_remove_dual perl-core/podlators 2.5.3 pod2man pod2text
113 src_remove_dual_man perl-core/podlators 2.5.3 /usr/share/man/man1/perlpodstyle.1
114 }
115
116 # eblit-include [--skip] <function> [version]
117 eblit-include() {
118 local skipable=false
119 [[ $1 == "--skip" ]] && skipable=true && shift
120 [[ $1 == pkg_* ]] && skipable=true
121
122 local e v func=$1 ver=$2
123 [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
124 for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
125 e="${FILESDIR}/eblits/${func}${v}.eblit"
126 if [[ -e ${e} ]] ; then
127 . "${e}"
128 return 0
129 fi
130 done
131 ${skipable} && return 0
132 die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
133 }
134
135 # eblit-run-maybe <function>
136 # run the specified function if it is defined
137 eblit-run-maybe() {
138 [[ $(type -t "$@") == "function" ]] && "$@"
139 }
140
141 # eblit-run <function> [version]
142 # aka: src_unpack() { eblit-run src_unpack ; }
143 eblit-run() {
144 eblit-include --skip common "${*:2}"
145 eblit-include "$@"
146 eblit-run-maybe eblit-$1-pre
147 eblit-${PN}-$1
148 eblit-run-maybe eblit-$1-post
149 }
150
151 #src_unpack() { eblit-run src_unpack v50160001 ; }
152 src_prepare() { eblit-run src_prepare v50160001 ; }
153 src_configure() { eblit-run src_configure v50180002 ; }
154 #src_compile() { eblit-run src_compile v50160001 ; }
155 src_test() { eblit-run src_test v50160001 ; }
156 src_install() { eblit-run src_install v50160001 ; }
157
158 # FILESDIR might not be available during binpkg install
159 # FIXME: version passing
160 for x in setup {pre,post}{inst,rm} ; do
161 e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
162 if [[ -e ${e} ]] ; then
163 . "${e}"
164 eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
165 fi
166 done