diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Module-Info | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Module-Info')
-rw-r--r-- | dev-perl/Module-Info/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/Module-Info/Module-Info-0.370.0-r1.ebuild | 28 | ||||
-rw-r--r-- | dev-perl/Module-Info/files/Module-Info-0.370.0-no-dot-inc.patch | 63 | ||||
-rw-r--r-- | dev-perl/Module-Info/metadata.xml | 16 |
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-perl/Module-Info/Manifest b/dev-perl/Module-Info/Manifest new file mode 100644 index 000000000000..8f56bc696cc5 --- /dev/null +++ b/dev-perl/Module-Info/Manifest @@ -0,0 +1,4 @@ +AUX Module-Info-0.370.0-no-dot-inc.patch 1712 BLAKE2B 12fe239524234df13130fab8f697aae0b7a5eb95fdb0b57d3f556d44e496bf59f51129c660d01eea79789074fe74d8db58f472689c7c19cd42b68e44dcb3a478 SHA512 072e0f99c83e443d6b98f7c1e379ea1badf024b04fe722cccc577f9b9e0f6b48288897585da0cad32b48bedd1b77b05dfa11f9c0cf5cfd4716b9e5b19a3efb53 +DIST Module-Info-0.37.tar.gz 42864 BLAKE2B 63d41a5d54201a62bb98cc4b40f03bfef3173a26282561972aae8b5d54d4d4a1e6fa9359d35d76a420edef8553fb5ade4bf4b52889686131bd19d22035f95e89 SHA512 4a9fb295c6a0b7ac701543b292804ce880129b883da7d8f27b255a198e28dc105b11753330c2861241e65898f726a1127c7daf46af09361e3713bdcd5b89227e +EBUILD Module-Info-0.370.0-r1.ebuild 578 BLAKE2B 6fa2667559bd558c4f0881e82ecc480b2df8053b85cc066fb23e55102d54aa09b4ef9d0d1b6b9778aee058c3937211096228c12b3b79c8bfebabb87d368fd822 SHA512 5ca87e1c42d2a74fd2850df971f25839099f9b26e5974719c1c568ec2c8a1a30a7842ffd77903239276d96b4e5f3ddd61cfffa1d865bf7757275ab4edb01de9b +MISC metadata.xml 657 BLAKE2B d33b4d78a2660a458673a0769654da2033d8d83fb249e7a0bd31fa92563d36885b2b2bc0707e6c3a3a98059896f7e931874d60939caa444bee0245f8005f05a8 SHA512 7cc7f77e2a7946fcf3bfe2fb5cf9ec7c566cb78d869d68042d674edad9bbe741206d41af65e9535bcc8f8586dbd9daacda47622cf87d86c151b87f4e556930a7 diff --git a/dev-perl/Module-Info/Module-Info-0.370.0-r1.ebuild b/dev-perl/Module-Info/Module-Info-0.370.0-r1.ebuild new file mode 100644 index 000000000000..5395d819d107 --- /dev/null +++ b/dev-perl/Module-Info/Module-Info-0.370.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=NEILB +DIST_VERSION=0.37 +inherit perl-module + +DESCRIPTION="Information about Perl modules" + +SLOT="0" +KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 x86" +IUSE="test" + +RDEPEND=" + >=dev-perl/B-Utils-0.270.0 + virtual/perl-Carp + >=virtual/perl-File-Spec-0.800.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" +PATCHES=("${FILESDIR}/${PN}-0.370.0-no-dot-inc.patch") +src_test() { + perl_rm_files "t/zz_pod.t" "t/zy_pod_coverage.t" + perl-module_src_test +} diff --git a/dev-perl/Module-Info/files/Module-Info-0.370.0-no-dot-inc.patch b/dev-perl/Module-Info/files/Module-Info-0.370.0-no-dot-inc.patch new file mode 100644 index 000000000000..39a70cc5ff81 --- /dev/null +++ b/dev-perl/Module-Info/files/Module-Info-0.370.0-no-dot-inc.patch @@ -0,0 +1,63 @@ +From 35d199fe62f7185ac03fec4cd1cb06aaf21f0172 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Mon, 30 Oct 2017 20:07:40 +1300 +Subject: Fix test failures without '.' in @INC on Perl 5.26 + +Where: PERL_USE_UNSAFE_INC=0 + +Bug: https://bugs.gentoo.org/617110 +Bug: https://rt.cpan.org/Ticket/Display.html?id=121035 +Bug: https://github.com/neilb/Module-Info/pull/3 +--- + t/Module-Info.t | 4 ++-- + t/lib/Foo.pm | 8 ++++---- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/t/Module-Info.t b/t/Module-Info.t +index bb62479..5c59214 100644 +--- a/t/Module-Info.t ++++ b/t/Module-Info.t +@@ -203,8 +203,8 @@ SKIP: { + my @mods = $module->modules_used; + is( @mods, 8, 'modules_used' ); + is_deeply( [sort @mods], +- [sort qw(strict vars Carp Exporter t/lib/Bar.pm t/lib/NotHere.pm +- t/lib/Foo.pm lib)] ); ++ [sort qw(strict vars Carp Exporter ./t/lib/Bar.pm ./t/lib/NotHere.pm ++ ./t/lib/Foo.pm lib)] ); + + $module->name('Foo'); + my @isa = $module->superclasses; +diff --git a/t/lib/Foo.pm b/t/lib/Foo.pm +index 956a79f..2602df2 100644 +--- a/t/lib/Foo.pm ++++ b/t/lib/Foo.pm +@@ -2,7 +2,7 @@ package Foo; + + use strict; + require Exporter; +-require "t/lib/Foo.pm"; ++require "./t/lib/Foo.pm"; + use vars qw(@ISA $VERSION); + $VERSION = 7.254; + +@@ -56,13 +56,13 @@ sub croak { + + return sub { + main::wibble('call insde anon sub inside sub'); +- require 't/lib/NotHere.pm'; ++ require './t/lib/NotHere.pm'; + } + } + + BEGIN { +- require 't/lib/Bar.pm'; ++ require './t/lib/Bar.pm'; + } + +-my $mod = 't/lib/Bar.pm'; ++my $mod = './t/lib/Bar.pm'; + require $mod; +-- +2.14.3 + diff --git a/dev-perl/Module-Info/metadata.xml b/dev-perl/Module-Info/metadata.xml new file mode 100644 index 000000000000..bfcb46578b19 --- /dev/null +++ b/dev-perl/Module-Info/metadata.xml @@ -0,0 +1,16 @@ +<?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">Module-Info</remote-id> + <remote-id type="cpan-module">B::Module::Info</remote-id> + <remote-id type="cpan-module">Module::Info</remote-id> + <remote-id type="cpan-module">Module::Info::Safe</remote-id> + <remote-id type="cpan-module">Module::Info::Unsafe</remote-id> + <remote-id type="cpan-module">Module::Info::_version</remote-id> + </upstream> +</pkgmetadata> |