diff options
Diffstat (limited to 'dev-perl/DBIx-Class-UserStamp')
-rw-r--r-- | dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r2.ebuild | 35 | ||||
-rw-r--r-- | dev-perl/DBIx-Class-UserStamp/files/DBIx-Class-UserStamp-0.11-no-dot-inc.patch | 21 |
2 files changed, 56 insertions, 0 deletions
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 000000000000..1701a8d1ee5a --- /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 000000000000..58ecebb29d09 --- /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 <kentnl@gentoo.org> +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 + |