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
This commit is contained in:
Kent Fredric
2018-01-03 21:11:23 +13:00
parent a6ff571555
commit 8a3e8374c1
4 changed files with 78 additions and 0 deletions

View File

@@ -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

View File

@@ -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" )

View File

@@ -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

View File

@@ -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>