commit:     00cdf1ba210ebefb9b8f81eb78d649239aebeb50
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 20:06:18 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 20:06:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cdf1ba

dev-perl/DBIx-Class-InflateColumn-IP: -r bump for EAPI7 + fixes

- EAPI7
- Move 'sed' hacks to a patch
- Unconditionally prune bad test files

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../DBIx-Class-InflateColumn-IP-0.20.30-r2.ebuild  | 31 ++++++++++++++++++++++
 ...Class-InflateColumn-IP-0.02003-no-dot-inc.patch | 24 +++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git 
a/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r2.ebuild
 
b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r2.ebuild
new file mode 100644
index 00000000000..be97246c9fb
--- /dev/null
+++ 
b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=ILMARI
+DIST_VERSION=0.02003
+inherit perl-module
+
+DESCRIPTION="Auto-create NetAddr::IP objects from columns"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-perl/NetAddr-IP
+       >=dev-perl/DBIx-Class-0.81.70
+"
+BDEPEND="${RDEPEND}
+       test? ( dev-perl/DBD-SQLite )
+"
+PERL_RM_FILES=(
+       t/pod-coverage.t
+       t/pod-t.
+       t/style-notabs.t
+)
+PATCHES=(
+       "${FILESDIR}/${PN}-0.02003-no-dot-inc.patch"
+)

diff --git 
a/dev-perl/DBIx-Class-InflateColumn-IP/files/DBIx-Class-InflateColumn-IP-0.02003-no-dot-inc.patch
 
b/dev-perl/DBIx-Class-InflateColumn-IP/files/DBIx-Class-InflateColumn-IP-0.02003-no-dot-inc.patch
new file mode 100644
index 00000000000..11d943c3551
--- /dev/null
+++ 
b/dev-perl/DBIx-Class-InflateColumn-IP/files/DBIx-Class-InflateColumn-IP-0.02003-no-dot-inc.patch
@@ -0,0 +1,24 @@
+From 1346fbc9264cd17ec0082042d91ea5d6c2966a03 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <ken...@gentoo.org>
+Date: Tue, 14 Jul 2020 07:59:34 +1200
+Subject: Include '.' in @INC on perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index df23607..6aa04ff 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,6 +1,7 @@
+ use strict;
+ use warnings;
+ use 5.008001;
++use lib '.';
+ use inc::Module::Install 1.05;
+ 
+ name 'DBIx-Class-InflateColumn-IP';
+-- 
+2.27.0
+

Reply via email to