diff options
Diffstat (limited to 'dev-perl/Class-Container')
-rw-r--r-- | dev-perl/Class-Container/Class-Container-0.120.0-r2.ebuild | 20 | ||||
-rw-r--r-- | dev-perl/Class-Container/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/Class-Container/files/Class-Container-0.120.0-dot-inc.patch | 40 | ||||
-rw-r--r-- | dev-perl/Class-Container/metadata.xml | 12 |
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-perl/Class-Container/Class-Container-0.120.0-r2.ebuild b/dev-perl/Class-Container/Class-Container-0.120.0-r2.ebuild new file mode 100644 index 000000000000..4ce2aace1e62 --- /dev/null +++ b/dev-perl/Class-Container/Class-Container-0.120.0-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=KWILLIAMS +DIST_VERSION=0.12 +inherit perl-module + +DESCRIPTION="Glue object frameworks together transparently" + +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc sparc x86" +IUSE="" + +RDEPEND=">=dev-perl/Params-Validate-0.24-r1 + >=virtual/perl-Scalar-List-Utils-1.08" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.28" +PATCHES=( "${FILESDIR}/${P}-dot-inc.patch" ) diff --git a/dev-perl/Class-Container/Manifest b/dev-perl/Class-Container/Manifest new file mode 100644 index 000000000000..6663e7fac49a --- /dev/null +++ b/dev-perl/Class-Container/Manifest @@ -0,0 +1,4 @@ +AUX Class-Container-0.120.0-dot-inc.patch 1132 BLAKE2B 9ba783e37a17dc171b017b9f36613fb559a5698caa6d4f4e0920ee470f52bc550b8cdfa86dba9f378938bf0fabb41b6de9a834b581c998566e317c9dfecc3bf0 SHA512 1bf4f3594f71069e6e094a8423228e06366ff13b6727804875228d0023ecc09a9e57d406bc2efde9f6bdbe3beef6831a5c140d570ce75d7cee7b3594da14622c +DIST Class-Container-0.12.tar.gz 19401 BLAKE2B 67cdb657fe28eef84c2bad95cf6fdb8cbe5d3d6e5199582cf13ec0f07a26390ef3ea0007472412b9bbd9d9b875ac9c3db234c025e237413769308a4f01663fed SHA512 7342154422de316c10fbc78d894e999dbcd8097f67fe9a5aafcf27a407c08988dde8d42dac89f535140c44a52892435da15c77fb43a1d7c3558d273e00244720 +EBUILD Class-Container-0.120.0-r2.ebuild 477 BLAKE2B b03bca0a56220a07f1fce56f02aaa564e8925624499d1c4d8ccf4d4b91eb5aec286a91015be9c6c8ae00b066c9359eda2f323bda164b3de3e1d2e5ce57bf79f8 SHA512 443107541116a94e338bc654cad3b9a19d67b55c5b22a72e68af4c4eb7e446fa2c656338be0ce105e67720efc0f61ad5bfd87db6504fa4f2bd75ea13d384bc14 +MISC metadata.xml 402 BLAKE2B a9fb03d73b539c9f53936d055ccb910c8a30080ff569173639388cbb039af8860606f8b6ec53e08b39d7566954a521fa5177ebd5628ea04764787035bc31efb0 SHA512 b0d4b816a724f2275a48202eab83ebb634f85bc5a0b131941f58eda638769875835c46bc5f72cd5784b8c6dd4e1c6a5ea810feb2db1071c39c8ffe54f868f5c3 diff --git a/dev-perl/Class-Container/files/Class-Container-0.120.0-dot-inc.patch b/dev-perl/Class-Container/files/Class-Container-0.120.0-dot-inc.patch new file mode 100644 index 000000000000..6efc5c4eae11 --- /dev/null +++ b/dev-perl/Class-Container/files/Class-Container-0.120.0-dot-inc.patch @@ -0,0 +1,40 @@ +From 430b1922a9eade34d61e7d962e34b68a167528c2 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 18 Oct 2017 09:37:56 +1300 +Subject: Fix tests failing on Perl 5.26 w/o '.' in @INC + +Bug: https://rt.cpan.org/Ticket/Display.html?id=123312 +--- + t/01-basic.t | 2 +- + t/02-decorator.t | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/t/01-basic.t b/t/01-basic.t +index 931073b..a458303 100644 +--- a/t/01-basic.t ++++ b/t/01-basic.t +@@ -12,7 +12,7 @@ use Test; + use Class::Container; + use Params::Validate qw(:types); + use File::Spec; +-require File::Spec->catfile('t', 'classes.pl'); ++require File::Spec->rel2abs(File::Spec->catfile('t', 'classes.pl')); + + my $HAVE_WEAKEN = 0 + exists $INC{'Scalar/Util.pm'}; + +diff --git a/t/02-decorator.t b/t/02-decorator.t +index ea75057..0e2ca83 100644 +--- a/t/02-decorator.t ++++ b/t/02-decorator.t +@@ -6,7 +6,7 @@ BEGIN { plan tests => 24 } + use Class::Container; + use Params::Validate qw(:types); + use File::Spec; +-require File::Spec->catfile('t', 'classes.pl'); ++require File::Spec->rel2abs(File::Spec->catfile('t', 'classes.pl')); + + + +-- +2.14.2 + diff --git a/dev-perl/Class-Container/metadata.xml b/dev-perl/Class-Container/metadata.xml new file mode 100644 index 000000000000..e72dd50a1794 --- /dev/null +++ b/dev-perl/Class-Container/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Class-Container</remote-id> + <remote-id type="cpan-module">Class::Container</remote-id> + </upstream> +</pkgmetadata> |