public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Torsten Veller" <tove@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/perl-overlay:master commit in: dev-lang/perl/, profiles/
Date: Thu, 17 May 2012 16:43:38 +0000 (UTC)	[thread overview]
Message-ID: <1337272955.fe9dd28f0218fe567c33d6869bda3900d67226cc.tove@gentoo> (raw)

commit:     fe9dd28f0218fe567c33d6869bda3900d67226cc
Author:     Torsten Veller <tove <AT> gentoo <DOT> org>
AuthorDate: Thu May 17 16:42:35 2012 +0000
Commit:     Torsten Veller <tove <AT> gentoo <DOT> org>
CommitDate: Thu May 17 16:42:35 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=fe9dd28f

[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=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN=""
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_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="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~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 ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff 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 cpan2dist
+	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 piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	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_data
+	src_remove_dual      perl-core/Module-CoreList    2.660.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage 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/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${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 <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [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="${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 <tove@gentoo.org> 11 May 2012
+# Torsten Veller <tove@gentoo.org> (11 May 2012)
 # Mask perl-5.16 for testing (#415485)
 =dev-lang/perl-5.16*
 
-# Kent Fredric <kentfredric@gmail.com> 14 Nov 2011
+# Kent Fredric <kentfredric@gmail.com> (14 Nov 2011)
 # Depend on Not-Yet-Available Module::Build 0.390.0
 =dev-perl/Catalyst-Plugin-Singleton-0.200.0
 
-# Kent Fredric <kentfredric@gmail.com> 14 Nov 2011
+# Kent Fredric <kentfredric@gmail.com> (14 Nov 2011)
 # Old virtuals only for 5.10.x 5.8.x
 =virtual/perl-Exporter-5.580.0
 =virtual/perl-Math-Complex-1.350.0



             reply	other threads:[~2012-05-17 16:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 16:43 Torsten Veller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-13 15:40 [gentoo-commits] proj/perl-overlay:master commit in: dev-lang/perl/, profiles/ Torsten Veller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337272955.fe9dd28f0218fe567c33d6869bda3900d67226cc.tove@gentoo \
    --to=tove@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox