Permalink
Browse files

FL-709: perl-5.18.1, masked for testing

  • Loading branch information...
1 parent 7aee44f commit e350f844f0148e8b89bf13c660a4cb82a2504bd1 @angryvincent angryvincent committed Sep 15, 2013
View
1 dev-lang/perl/Manifest
@@ -6,3 +6,4 @@ DIST perl-5.14.2-1.tar.bz2 5103 SHA256 0f553de072f80670880b96ef8ca0a79e4e1505f9b
DIST perl-5.14.2.tar.bz2 13226972 SHA256 c2a2362e8d1fdd2bfbfde801fcd78241f154c164f00fba76065ab8cc5c7b06cd
DIST perl-5.16.1-1.tar.bz2 13843 SHA256 829fb8facfcd527ee10e490d105049b9138a7b9367bcd9ba7677330e0c326751 SHA512 0dc6cfc9f948a523127fd36fbe8dcc5af581937ad491a7e91cc2f5cf7d4f4fdeb6b7a24346ebfa4e78f839895b4cbd6da9a6a183d816d58792060c5d73d1d6b6 WHIRLPOOL ead851b1b8ecd64165f7af152b1aec8a46e76f0caa6842b7725aea7f0ef8c5516fa9461bcedd11565c60179c0acad5b1682129277a670129bc19dd2a8706025b
DIST perl-5.16.1.tar.bz2 13550613 SHA256 0704b1421fe50015becd32c8b7ed05843e8b6c188a8c16cb0c11d76986375fd0 SHA512 df221f3d0bf3877e4fdf724bc8c10d6d3dd6cd7d762cc164d4fe67636806831ba14d2c52d30d927b87091a1004af68f730ed6f32cd06c29af5fa42d35212415c WHIRLPOOL c46a015916d00516e458e4c4c20a31f8c4c2d983d1a74fa73ce6721d6bce9321c2c2f4b5ac3e4caeda4db07d629e55d06c6bdb26233e8e95d3e95a5643d1d198
+DIST perl-5.18.1.tar.bz2 14059628 SHA256 bf46c732c68fb160ea276b4b0cda26971646a206e31951abb8623a60f0ee5249 SHA512 d55f7a746044bcfd6058959ae912bf4d40208b2d6f4067ccf5f42797c5faeec0ec8e41f9e600fdea3d467c3bf0f614c8f94bce8ff06fe444e8aa1080c709f7f9 WHIRLPOOL dcae1c2ca80adab1e35b5b52ff20e6aa5e3d0bd9cdd199e5a475d4a246578e65762f47653707dd50a322d93834c60b9c78e44e3b54a3003f0bd380b048e2ba0f
View
2 dev-lang/perl/perl-5.16.1.ebuild
@@ -1,6 +1,4 @@
-# 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.16.1.ebuild,v 1.1 2012/08/09 14:38:29 tove Exp $
EAPI=4
View
115 dev-lang/perl/perl-5.18.1.ebuild
@@ -0,0 +1,115 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.18.0"
+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="
+$(true 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
+$(true mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2)
+$(true http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2)
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0/${SHORT_PV}"
+KEYWORDS="~*"
+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"
+PROVIDE="sys-devel/libperl"
+
+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/IO-Compress 2.48.0 zipdetails
+ src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
+ src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
+ src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
+ src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
+ src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
+ 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
+ . "${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 v50160001 ; }
+src_prepare() { eblit-run src_prepare v50160001 ; }
+src_configure() { eblit-run src_configure v50160001 ; }
+#src_compile() { eblit-run src_compile v50160001 ; }
+src_test() { eblit-run src_test v50160001 ; }
+src_install() { eblit-run src_install v50160001 ; }
+
+# 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}-v50160001.eblit"
+ if [[ -e ${e} ]] ; then
+ . "${e}"
+ eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+ fi
+done
View
3 profiles/package.mask/funtoo-staging
@@ -1,5 +1,8 @@
# Keep the most recent masks in a reverse chrono order
# newest on top
+# Oleg VInichenko (15 Sep 2013)
+# perl-5.18.1, masked for testing, FL-709
+>=dev-lang/perl-5.18.1
#Daniel Robbins (19 Dec 2011)
#I am working on this ebuild - not yet ready for prime time.

0 comments on commit e350f84

Please sign in to comment.