summaryrefslogtreecommitdiff
path: root/dev-perl/Pod-Parser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-perl/Pod-Parser
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-perl/Pod-Parser')
-rw-r--r--dev-perl/Pod-Parser/Manifest4
-rw-r--r--dev-perl/Pod-Parser/Pod-Parser-1.630.0-r1.ebuild40
-rw-r--r--dev-perl/Pod-Parser/files/Pod-Parser-1.63-no-binscript.patch25
-rw-r--r--dev-perl/Pod-Parser/metadata.xml8
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-perl/Pod-Parser/Manifest b/dev-perl/Pod-Parser/Manifest
new file mode 100644
index 000000000000..a893a2ec5b73
--- /dev/null
+++ b/dev-perl/Pod-Parser/Manifest
@@ -0,0 +1,4 @@
+AUX Pod-Parser-1.63-no-binscript.patch 683 BLAKE2B dc24a7385d5eb06abf6ae4cc81c503d1a90227e24ef989114913f039d15b1294617f91305ee6d67cfa8431c0c9d163f2495879a2463fde4aeaa840cb5ed89952 SHA512 84d7351ca7a27d361521ea5b916b0dc0b10697594f322b96babc889dac80127ea2801bd3b25b1f156cc90465383b719fd2d2ec6b6b8dee8e02de0f26338c2fa9
+DIST Pod-Parser-1.63.tar.gz 79707 BLAKE2B b53c9ac63f967e712f45af0f935d7a10318e6f39d7489605a9ec013d3249615736ac2ec5206f9d50eedd5eeffb4f0c0df67e071903b08c77946a4c7fbc8e0971 SHA512 55f5741bb906701705f489b2314d3f11cd6d63ca5b64a60fdbda7eed0388945f2e68262735c7cc33b7089794630393049e619f9900e85c71bf9223243bc0984a
+EBUILD Pod-Parser-1.630.0-r1.ebuild 1329 BLAKE2B 6f217cd1812415a1ad0532c7b581a365f4becac1202528342323a52fa02a3d9b1fedc6b098df7978e3f42cb7a4a856528b4d8bbc8f8ce8444790bcf3bad36002 SHA512 3797d0fa5cdebe4afeb25c52d6b5f18a658ddd1136a4310ddcef533d94284b5df973455052a3b95617f08aeb567459ffcd7d2ff5b72034e3b6d081dff95c1367
+MISC metadata.xml 257 BLAKE2B 04035438572dc9c398ed29172f6454a150c86d72e6cad7947b0adb3ec8fcc084c68530bca43988c6e1683f4b89d4698796cbe212e9a44b5dfe1908999a8444f0 SHA512 80cde0da56c3ac4023da7b0c17c62eae85139aaefd8ba453dd0c0718da1d40102c57d5beb5b8f984dcbeacad930517347e4d91dd5bd94e973fb81974d078a18e
diff --git a/dev-perl/Pod-Parser/Pod-Parser-1.630.0-r1.ebuild b/dev-perl/Pod-Parser/Pod-Parser-1.630.0-r1.ebuild
new file mode 100644
index 000000000000..6157c7d2d2fd
--- /dev/null
+++ b/dev-perl/Pod-Parser/Pod-Parser-1.630.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=MAREKR
+DIST_VERSION=1.63
+inherit perl-module
+
+DESCRIPTION="POD filters and translators"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ virtual/perl-File-Spec
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Test-Simple
+ )
+"
+src_prepare() {
+ # This avoids filename collision in /usr/bin on perl <5.32
+ # which previously had this script. But no decollisioning needed for the modules
+ # due to that already being handled by @INC stuff
+ # Though, it does mean that with this installed, the podselect shipped in perl <5.32
+ # will consume modules shipped by this ebuild, but that doesn't look very problematic
+ # looking at the code (its just a dumb shim with arg-parsing)
+ if has_version -r "<dev-lang/perl-5.32"; then
+ einfo "Stripping podselect for compat with perl <5.32";
+ perl_rm_files "scripts/podselect.PL" \
+ "t/pod/podselect.t"
+ eapply "${FILESDIR}/${PN}-1.63-no-binscript.patch"
+ fi
+ perl-module_src_prepare
+}
diff --git a/dev-perl/Pod-Parser/files/Pod-Parser-1.63-no-binscript.patch b/dev-perl/Pod-Parser/files/Pod-Parser-1.63-no-binscript.patch
new file mode 100644
index 000000000000..20efa9b8ac24
--- /dev/null
+++ b/dev-perl/Pod-Parser/files/Pod-Parser-1.63-no-binscript.patch
@@ -0,0 +1,25 @@
+From c3049f6c575836f19ff234635cd9ac8cf23cc930 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Tue, 11 Aug 2020 10:13:39 +1200
+Subject: Don't compile podselect bin script
+
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 258f51e..e6cac08 100755
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -31,7 +31,7 @@ $DISTMOD = 'Pod::Parser'; ## The "title" module of this distribution
+ );
+
+ ## The executable scripts to be installed
+-@SCRIPTS = qw( podselect
++@SCRIPTS = qw(
+ );
+ sub script($) { File::Spec->catfile ('scripts', @_) }
+ my @EXE_FILES = ();
+--
+2.28.0
+
diff --git a/dev-perl/Pod-Parser/metadata.xml b/dev-perl/Pod-Parser/metadata.xml
new file mode 100644
index 000000000000..2b9a936fc0a1
--- /dev/null
+++ b/dev-perl/Pod-Parser/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>