Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl: perl-5.16.0.ebuild ChangeLog
Date: Tue, 05 Jun 2012 17:52:55
Message-Id: 20120605175235.ABB882004F@flycatcher.gentoo.org
1 tove 12/06/05 17:52:35
2
3 Modified: ChangeLog
4 Added: perl-5.16.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.382 dev-lang/perl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.382&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.382&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?r1=1.381&r2=1.382
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v
20 retrieving revision 1.381
21 retrieving revision 1.382
22 diff -u -r1.381 -r1.382
23 --- ChangeLog 26 Apr 2012 12:59:46 -0000 1.381
24 +++ ChangeLog 5 Jun 2012 17:52:35 -0000 1.382
25 @@ -1,6 +1,27 @@
26 # ChangeLog for dev-lang/perl
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.381 2012/04/26 12:59:46 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.382 2012/06/05 17:52:35 tove Exp $
30 +
31 +*perl-5.16.0 (05 Jun 2012)
32 +
33 + 05 Jun 2012; Torsten Veller <tove@g.o>
34 + +files/eblits/common-v50160001.eblit,
35 + +files/eblits/pkg_postinst-v50160001.eblit,
36 + +files/eblits/pkg_postrm-v50160001.eblit,
37 + +files/eblits/pkg_setup-v50160001.eblit,
38 + +files/eblits/src_configure-v50160001.eblit,
39 + +files/eblits/src_install-v50160001.eblit,
40 + +files/eblits/src_prepare-v50160001.eblit,
41 + +files/eblits/src_test-v50160001.eblit, +perl-5.16.0.ebuild:
42 + Version bump.
43 + - Use eblits
44 + - Move prefix patches to the patchset.
45 + - Use debian patch list for -V
46 + - Fix Dsiteprefix, Dsiteman1dir and Dsiteman3dir
47 + - Move perllocal.pod from site_install to DESTINSTALLSITEARCH
48 + - Remove the rebuild-modules-before-system-is-usable-again warning from
49 + pkg-pretend again (#389771)
50 + - Drop the build useflag
51
52 26 Apr 2012; Alexis Ballier <aballier@g.o> perl-5.12.4-r2.ebuild:
53 keyword ~amd64-fbsd
54
55
56
57 1.1 dev-lang/perl/perl-5.16.0.ebuild
58
59 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.16.0.ebuild?rev=1.1&view=markup
60 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.16.0.ebuild?rev=1.1&content-type=text/plain
61
62 Index: perl-5.16.0.ebuild
63 ===================================================================
64 # Copyright 1999-2012 Gentoo Foundation
65 # Distributed under the terms of the GNU General Public License v2
66 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.0.ebuild,v 1.1 2012/06/05 17:52:35 tove Exp $
67
68 EAPI=4
69
70 inherit eutils alternatives flag-o-matic toolchain-funcs multilib
71
72 PATCH_VER=3
73
74 PERL_OLDVERSEN=""
75 MODULE_AUTHOR=RJBS
76
77 SHORT_PV="${PV%.*}"
78 MY_P="perl-${PV/_rc/-RC}"
79 MY_PV="${PV%_rc*}"
80
81 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
82
83 SRC_URI="
84 mirror://cpan/src/${MY_P}.tar.bz2
85 mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
86 mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
87 http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
88 "
89 HOMEPAGE="http://www.perl.org/"
90
91 LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
92 SLOT="0"
93 KEYWORDS="~alpha ~amd64 ~arm ~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"
94 IUSE="berkdb debug doc gdbm ithreads"
95
96 RDEPEND="
97 berkdb? ( sys-libs/db )
98 gdbm? ( >=sys-libs/gdbm-1.8.3 )
99 app-arch/bzip2
100 sys-libs/zlib
101 "
102 DEPEND="${RDEPEND}
103 !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
104 "
105 PDEPEND=">=app-admin/perl-cleaner-2.5"
106
107 S="${WORKDIR}/${MY_P}"
108
109 dual_scripts() {
110 src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
111 src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
112 src_remove_dual perl-core/CPAN 1.980.0 cpan
113 src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
114 src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
115 src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
116 src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
117 src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
118 src_remove_dual perl-core/IO-Compress 2.480.0 zipdetails
119 src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
120 src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
121 src_remove_dual perl-core/Module-CoreList 2.660.0 corelist
122 src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
123 src_remove_dual perl-core/Test-Harness 3.230.0 prove
124 src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
125 src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
126 }
127
128 # eblit-include [--skip] <function> [version]
129 eblit-include() {
130 local skipable=false
131 [[ $1 == "--skip" ]] && skipable=true && shift
132 [[ $1 == pkg_* ]] && skipable=true
133
134 local e v func=$1 ver=$2
135 [[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
136 for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
137 e="${FILESDIR}/eblits/${func}${v}.eblit"
138 if [[ -e ${e} ]] ; then
139 . "${e}"
140 return 0
141 fi
142 done
143 ${skipable} && return 0
144 die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
145 }
146
147 # eblit-run-maybe <function>
148 # run the specified function if it is defined
149 eblit-run-maybe() {
150 [[ $(type -t "$@") == "function" ]] && "$@"
151 }
152
153 # eblit-run <function> [version]
154 # aka: src_unpack() { eblit-run src_unpack ; }
155 eblit-run() {
156 eblit-include --skip common "${*:2}"
157 eblit-include "$@"
158 eblit-run-maybe eblit-$1-pre
159 eblit-${PN}-$1
160 eblit-run-maybe eblit-$1-post
161 }
162
163 #src_unpack() { eblit-run src_unpack v50160001 ; }
164 src_prepare() { eblit-run src_prepare v50160001 ; }
165 src_configure() { eblit-run src_configure v50160001 ; }
166 #src_compile() { eblit-run src_compile v50160001 ; }
167 src_test() { eblit-run src_test v50160001 ; }
168 src_install() { eblit-run src_install v50160001 ; }
169
170 # FILESDIR might not be available during binpkg install
171 # FIXME: version passing
172 for x in setup {pre,post}{inst,rm} ; do
173 e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
174 if [[ -e ${e} ]] ; then
175 . "${e}"
176 eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
177 fi
178 done