diff options
-rw-r--r-- | perl-core/XSLoader/ChangeLog | 19 | ||||
-rw-r--r-- | perl-core/XSLoader/XSLoader-0.10.ebuild | 17 | ||||
-rw-r--r-- | perl-core/XSLoader/files/91152fc1_rt54132_version081.patch | 27 | ||||
-rw-r--r-- | perl-core/XSLoader/metadata.xml | 5 |
4 files changed, 68 insertions, 0 deletions
diff --git a/perl-core/XSLoader/ChangeLog b/perl-core/XSLoader/ChangeLog new file mode 100644 index 000000000000..bf82780db84f --- /dev/null +++ b/perl-core/XSLoader/ChangeLog @@ -0,0 +1,19 @@ +# ChangeLog for perl-core/XSLoader +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/perl-core/XSLoader/ChangeLog,v 1.1 2010/07/29 20:15:42 tove Exp $ + + 29 Jul 2010; Torsten Veller <tove@gentoo.org> + +files/91152fc1_rt54132_version081.patch, +XSLoader-0.10.ebuild, + +metadata.xml: + Initial import from perl-experimental for Mouse + + 21 Jun 2010; Torsten Veller <tove@gentoo.org> + +files/91152fc1_rt54132_version081.patch, XSLoader-0.10.ebuild: + Patch for version-0.81 (rt 54132) + +*XSLoader-0.10 (18 Dec 2009) + + 18 Dec 2009; Torsten Veller <tove@gentoo.org> +XSLoader-0.10.ebuild, + +metadata.xml: + Inital commit + diff --git a/perl-core/XSLoader/XSLoader-0.10.ebuild b/perl-core/XSLoader/XSLoader-0.10.ebuild new file mode 100644 index 000000000000..73810b6a0d4f --- /dev/null +++ b/perl-core/XSLoader/XSLoader-0.10.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/perl-core/XSLoader/XSLoader-0.10.ebuild,v 1.1 2010/07/29 20:15:42 tove Exp $ + +EAPI=2 + +MODULE_AUTHOR=SAPER +inherit perl-module + +DESCRIPTION="Dynamically load C libraries into Perl code" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PATCHES=( "${FILESDIR}"/91152fc1_rt54132_version081.patch ) +SRC_TEST=do diff --git a/perl-core/XSLoader/files/91152fc1_rt54132_version081.patch b/perl-core/XSLoader/files/91152fc1_rt54132_version081.patch new file mode 100644 index 000000000000..be052eb0a52e --- /dev/null +++ b/perl-core/XSLoader/files/91152fc1_rt54132_version081.patch @@ -0,0 +1,27 @@ +diff --git a/dist/XSLoader/t/XSLoader.t b/dist/XSLoader/t/XSLoader.t +index 038986e..211c4d8 100644 +--- a/dist/XSLoader/t/XSLoader.t ++++ b/dist/XSLoader/t/XSLoader.t +@@ -30,7 +30,7 @@ my %modules = ( + 'Time::HiRes'=> q| ::can_ok( 'Time::HiRes' => 'usleep' ) |, # 5.7.3 + ); + +-plan tests => keys(%modules) * 4 + 5; ++plan tests => keys(%modules) * 3 + 5; + + # Try to load the module + use_ok( 'XSLoader' ); +@@ -65,11 +65,9 @@ for my $module (sort keys %modules) { + SKIP: { + skip "$module not available", 4 if $extensions !~ /\b$module\b/; + +- eval qq{ package $module; XSLoader::load('$module', "qunckkk"); }; +- like( $@, "/^$module object version \\S+ does not match bootstrap parameter (?:qunckkk|0)/", ++ eval qq{ package $module; XSLoader::load('$module', "12345678"); }; ++ like( $@, "/^$module object version \\S+ does not match bootstrap parameter (?:12345678|0)/", + "calling XSLoader::load() with a XS module and an incorrect version" ); +- like( $warnings, "/^\$|^Version string 'qunckkk' contains invalid data; ignoring: 'qunckkk'/", +- "in Perl 5.10, DynaLoader warns about the incorrect version string" ); + + eval qq{ package $module; XSLoader::load('$module'); }; + is( $@, '', "XSLoader::load($module)"); diff --git a/perl-core/XSLoader/metadata.xml b/perl-core/XSLoader/metadata.xml new file mode 100644 index 000000000000..801e9385a1e0 --- /dev/null +++ b/perl-core/XSLoader/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>perl</herd> +</pkgmetadata> |