From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SV3no-0006R0-1U for garchives@archives.gentoo.org; Thu, 17 May 2012 16:43:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8EE8E084E; Thu, 17 May 2012 16:43:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A9EEAE084E for ; Thu, 17 May 2012 16:43:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC05C1B4014 for ; Thu, 17 May 2012 16:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A8059E5429 for ; Thu, 17 May 2012 16:43:38 +0000 (UTC) From: "Torsten Veller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Torsten Veller" Message-ID: <1337272955.fe9dd28f0218fe567c33d6869bda3900d67226cc.tove@gentoo> Subject: [gentoo-commits] proj/perl-overlay:master commit in: dev-lang/perl/, profiles/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: dev-lang/perl/perl-5.16.0_rc2.ebuild profiles/package.mask X-VCS-Directories: dev-lang/perl/ profiles/ X-VCS-Committer: tove X-VCS-Committer-Name: Torsten Veller X-VCS-Revision: fe9dd28f0218fe567c33d6869bda3900d67226cc X-VCS-Branch: master Date: Thu, 17 May 2012 16:43:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 27146cc0-f640-448e-a634-daa126a92649 X-Archives-Hash: 7ba2f85be7e4c33b69faac027e185337 commit: fe9dd28f0218fe567c33d6869bda3900d67226cc Author: Torsten Veller gentoo org> AuthorDate: Thu May 17 16:42:35 2012 +0000 Commit: Torsten Veller gentoo org> CommitDate: Thu May 17 16:42:35 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3Dfe9dd28f [bump] dev-lang/perl-5.16.0_rc2 --- dev-lang/perl/perl-5.16.0_rc2.ebuild | 113 ++++++++++++++++++++++++++++= ++++++ profiles/package.mask | 6 +- 2 files changed, 116 insertions(+), 3 deletions(-) diff --git a/dev-lang/perl/perl-5.16.0_rc2.ebuild b/dev-lang/perl/perl-5.= 16.0_rc2.ebuild new file mode 100644 index 0000000..8dee1c3 --- /dev/null +++ b/dev-lang/perl/perl-5.16.0_rc2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.14.2.ebuild,v 1.= 4 2012/03/03 12:29:38 grobian Exp $ + +EAPI=3D4 + +inherit eutils alternatives flag-o-matic toolchain-funcs multilib + +PATCH_VER=3D1 + +PERL_OLDVERSEN=3D"" +MODULE_AUTHOR=3DRJBS + +SHORT_PV=3D"${PV%.*}" +MY_P=3D"perl-${PV/_rc/-RC}" +MY_PV=3D"${PV%_rc*}" + +DESCRIPTION=3D"Larry Wall's Practical Extraction and Report Language" + +SRC_URI=3D" + mirror://cpan/src/${MY_P}.tar.bz2 + mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MO= DULE_AUTHOR}/${MY_P}.tar.bz2 + mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 + http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH= _VER}.tar.bz2" +HOMEPAGE=3D"http://www.perl.org/" + +LICENSE=3D"|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT=3D"0" +KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390= ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux = ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x= 64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solar= is ~x86-solaris" +IUSE=3D"berkdb debug doc gdbm ithreads" + +RDEPEND=3D" + berkdb? ( sys-libs/db ) + gdbm? ( >=3Dsys-libs/gdbm-1.8.3 ) + app-arch/bzip2 + sys-libs/zlib +" +DEPEND=3D"${RDEPEND} + !prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) ) +" +PDEPEND=3D">=3Dapp-admin/perl-cleaner-2.5" + +S=3D"${WORKDIR}/${MY_P}" + +dual_scripts() { + src_remove_dual perl-core/Archive-Tar 1.820.0 ptar pta= rdiff ptargrep + src_remove_dual perl-core/Digest-SHA 5.710.0 shasum + src_remove_dual perl-core/CPAN 1.980.0 cpan + src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cp= an2dist + src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin= /cpanp-run-perl + src_remove_dual perl-core/Encode 2.440.0 enc2xs p= iconv + src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmods= h + src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp + src_remove_dual perl-core/JSON-PP 2.272.0 json_pp + src_remove_dual perl-core/Module-Build 0.390.100 config_d= ata + src_remove_dual perl-core/Module-CoreList 2.660.0 corelist + src_remove_dual perl-core/PodParser 1.510.0 pod2usag= e podchecker podselect + src_remove_dual perl-core/Test-Harness 3.230.0 prove + src_remove_dual perl-core/podlators 2.4.0 pod2man = pod2text + src_remove_dual_man perl-core/podlators 2.4.0 /usr/sha= re/man/man1/perlpodstyle.1 +} + +# eblit-include [--skip] [version] +eblit-include() { + local skipable=3Dfalse + [[ $1 =3D=3D "--skip" ]] && skipable=3Dtrue && shift + [[ $1 =3D=3D pkg_* ]] && skipable=3Dtrue + + local e v func=3D$1 ver=3D$2 + [[ -z ${func} ]] && die "Usage: eblit-include [version]" + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e=3D"${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + source "${e}" + return 0 + fi + done + ${skipable} && return 0 + die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# run the specified function if it is defined +eblit-run-maybe() { + [[ $(type -t "$@") =3D=3D "function" ]] && "$@" +} + +# eblit-run [version] +# aka: src_unpack() { eblit-run src_unpack ; } +eblit-run() { + eblit-include --skip common "${*:2}" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +#src_unpack() { eblit-run src_unpack v50140021 ; } +src_prepare() { eblit-run src_prepare v50140021 ; } +src_configure() { eblit-run src_configure v50140021 ; } +#src_compile() { eblit-run src_compile v50140021 ; } +src_test() { eblit-run src_test v50140021 ; } +src_install() { eblit-run src_install v50140021 ; } + +# FILESDIR might not be available during binpkg install +# FIXME: version passing +for x in setup {pre,post}{inst,rm} ; do + e=3D"${FILESDIR}/eblits/pkg_${x}-v50140021.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + eval "pkg_${x}() { eblit-run pkg_${x} v50140021 ; }" + fi +done diff --git a/profiles/package.mask b/profiles/package.mask index c558f84..2272a32 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -1,12 +1,12 @@ -# Torsten Veller 11 May 2012 +# Torsten Veller (11 May 2012) # Mask perl-5.16 for testing (#415485) =3Ddev-lang/perl-5.16* =20 -# Kent Fredric 14 Nov 2011 +# Kent Fredric (14 Nov 2011) # Depend on Not-Yet-Available Module::Build 0.390.0 =3Ddev-perl/Catalyst-Plugin-Singleton-0.200.0 =20 -# Kent Fredric 14 Nov 2011 +# Kent Fredric (14 Nov 2011) # Old virtuals only for 5.10.x 5.8.x =3Dvirtual/perl-Exporter-5.580.0 =3Dvirtual/perl-Math-Complex-1.350.0