commit:     662a34beb8244945a97ee1c39c02a4849a2e5ab7
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 20:19:38 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 20:19:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=662a34be

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

- EAPI7
- Unconditionally patch out bad tests
- Convert "sed" hack to a patch

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

 .../DBIx-Class-UserStamp-0.110.0-r2.ebuild         | 35 ++++++++++++++++++++++
 .../DBIx-Class-UserStamp-0.11-no-dot-inc.patch     | 21 +++++++++++++
 2 files changed, 56 insertions(+)

diff --git 
a/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r2.ebuild 
b/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r2.ebuild
new file mode 100644
index 00000000000..1701a8d1ee5
--- /dev/null
+++ b/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=JGOULAH
+DIST_VERSION=0.11
+inherit perl-module
+
+DESCRIPTION="Automatically set update and create user id fields"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-perl/Class-Accessor-Grouped
+       dev-perl/DBIx-Class-DynamicDefault
+       dev-perl/DBIx-Class
+"
+BDEPEND="${RDEPEND}
+       test? ( dev-perl/DBD-SQLite )
+"
+PERL_RM_FILES=(
+       t/02pod.t
+       t/03podcoverage.t
+)
+PATCHES=(
+       "${FILESDIR}/${PN}-0.11-no-dot-inc.patch"
+)
+
+# Parallel tests fail sometimes due to sharing a sqlite db path
+# and recreating the same table
+DIST_TEST="do"

diff --git 
a/dev-perl/DBIx-Class-UserStamp/files/DBIx-Class-UserStamp-0.11-no-dot-inc.patch
 
b/dev-perl/DBIx-Class-UserStamp/files/DBIx-Class-UserStamp-0.11-no-dot-inc.patch
new file mode 100644
index 00000000000..58ecebb29d0
--- /dev/null
+++ 
b/dev-perl/DBIx-Class-UserStamp/files/DBIx-Class-UserStamp-0.11-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 4a2406d0013f5f7fac7d008eba7fcb77e618d9a7 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <[email protected]>
+Date: Tue, 14 Jul 2020 08:15:59 +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 4fff0bd..42fe07d 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ 
+ name 'DBIx-Class-UserStamp';
+-- 
+2.27.0
+

Reply via email to