summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-01-03 21:11:23 +1300
committerKent Fredric <kentnl@gentoo.org>2018-01-03 23:56:36 +1300
commit8a3e8374c10472dfadabda49f4f63401fefd5c43 (patch)
tree3f922a57d3384e31380d19a69053e518e7f12462 /dev-perl/RedisDB-Parser
parentdev-perl/URI-redis: Add w/ version 0.20.0 (diff)
downloadgentoo-8a3e8374c10472dfadabda49f4f63401fefd5c43.tar.gz
gentoo-8a3e8374c10472dfadabda49f4f63401fefd5c43.tar.bz2
gentoo-8a3e8374c10472dfadabda49f4f63401fefd5c43.zip
dev-perl/RedisDB-Parser: Bump to version 2.220.0
- EAPI6 - Parallel Testing - Patch out unwanted README.pod in @INC - Add missing CPAN remote-id's Upstream: - Create special error objects for MOVED and ASK redirections from redis cluster - Parse method now returns number of parsed replies Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-perl/RedisDB-Parser')
-rw-r--r--dev-perl/RedisDB-Parser/Manifest1
-rw-r--r--dev-perl/RedisDB-Parser/RedisDB-Parser-2.220.0.ebuild29
-rw-r--r--dev-perl/RedisDB-Parser/files/RedisDB-Parser-2.22-readmepod.patch39
-rw-r--r--dev-perl/RedisDB-Parser/metadata.xml9
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-perl/RedisDB-Parser/Manifest b/dev-perl/RedisDB-Parser/Manifest
index 394cb49d0948..7cec6e31c569 100644
--- a/dev-perl/RedisDB-Parser/Manifest
+++ b/dev-perl/RedisDB-Parser/Manifest
@@ -1 +1,2 @@
DIST RedisDB-Parser-2.20.tar.gz 30894 BLAKE2B 115648486911509e5e0f67150843c88817fdfe1ea2858e3892db44f09d74374fe83254fa795026329d3f269c6135788241000e50cad484e0f9476fcfc89db677 SHA512 3d01ade1d08006ecd2975719ccc1c4b5b755118c34f1cb0dbecc703bda83f9f619bced182691af5a7eb46f85931ef2170d09f25e7302fc16790585380f2c2224
+DIST RedisDB-Parser-2.22.tar.gz 31497 BLAKE2B 583628330b3b23a16966160848acb84fd92b3b767bc9e05f832f688ed0d44b81c0ff691081d0e851e7a193924086a614a07f32bd56d39d12a6fb80bdaa029bf0 SHA512 c8efbb6d7d978940415f066c2d3dfd4c1c1c38cbd5309f667d102b0bcd2f113d36ffb1fc9718b6f1ac739fb8801eb2a09bb690eb373be0561ddad1d3d3de8205
diff --git a/dev-perl/RedisDB-Parser/RedisDB-Parser-2.220.0.ebuild b/dev-perl/RedisDB-Parser/RedisDB-Parser-2.220.0.ebuild
new file mode 100644
index 000000000000..7919cada583e
--- /dev/null
+++ b/dev-perl/RedisDB-Parser/RedisDB-Parser-2.220.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ZWON
+DIST_VERSION=2.22
+inherit perl-module
+
+DESCRIPTION="Redis protocol parser for RedisDB"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=virtual/perl-Encode-2.100.0
+ dev-perl/Try-Tiny
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.300.200
+ >=virtual/perl-ExtUtils-CBuilder-0.270.0
+ test? (
+ dev-perl/Test-FailWarnings
+ >=dev-perl/Test-Most-0.220.0
+ >=virtual/perl-Test-Simple-0.940.0
+ )
+"
+PATCHES=( "${FILESDIR}/${PN}-2.22-readmepod.patch" )
diff --git a/dev-perl/RedisDB-Parser/files/RedisDB-Parser-2.22-readmepod.patch b/dev-perl/RedisDB-Parser/files/RedisDB-Parser-2.22-readmepod.patch
new file mode 100644
index 000000000000..c639d9bc6143
--- /dev/null
+++ b/dev-perl/RedisDB-Parser/files/RedisDB-Parser-2.22-readmepod.patch
@@ -0,0 +1,39 @@
+From d802d2aacd08605db24f58f7021df2f452d9b1e1 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 3 Jan 2018 20:40:13 +1300
+Subject: Prevent installing README.pod to INC
+
+Unfortunately, ".pod" extensions are treated the same as top-level
+'.pl' and '.pm' extensions and installed to @INC under the packages
+prefix directory.
+
+This avoids this problem by filtering out the .pod file in the blib/
+to DESTDIR install stage.
+
+Bug: https://github.com/trinitum/perl-RedisDB-Parser/pull/1
+---
+ INSTALL.SKIP | 1 +
+ MANIFEST | 1 +
+ 2 files changed, 2 insertions(+)
+ create mode 100644 INSTALL.SKIP
+
+diff --git a/INSTALL.SKIP b/INSTALL.SKIP
+new file mode 100644
+index 0000000..4fd94be
+--- /dev/null
++++ b/INSTALL.SKIP
+@@ -0,0 +1 @@
++README\.pod$
+diff --git a/MANIFEST b/MANIFEST
+index 8bb93d3..967554a 100644
+--- a/MANIFEST
++++ b/MANIFEST
+@@ -1,4 +1,5 @@
+ Changes
++INSTALL.SKIP
+ lib/RedisDB/Parser.pm
+ lib/RedisDB/Parser/Error.pm
+ lib/RedisDB/Parser/PP.pm
+--
+2.15.1
+
diff --git a/dev-perl/RedisDB-Parser/metadata.xml b/dev-perl/RedisDB-Parser/metadata.xml
index 2b9a936fc0a1..5502129e560b 100644
--- a/dev-perl/RedisDB-Parser/metadata.xml
+++ b/dev-perl/RedisDB-Parser/metadata.xml
@@ -5,4 +5,13 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="cpan">RedisDB-Parser</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser::Error</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser::Error::ASK</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser::Error::MOVED</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser::PP</remote-id>
+ <remote-id type="cpan-module">RedisDB::Parser::XS</remote-id>
+ </upstream>
</pkgmetadata>