Skip to content

Commit

Permalink
dev-perl/DBIx-Class-DynamicDefault: -r bump for EAPI7
Browse files Browse the repository at this point in the history
- EAPI7
- Parallel Tests
- Move sed hack to 'patch'

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <[email protected]>
  • Loading branch information
kentfredric committed Jul 13, 2020
1 parent e25cd60 commit ce6457e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=MSTROUT
DIST_VERSION=0.04
inherit perl-module

DESCRIPTION="Automatically set and update fields"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
>=dev-perl/DBIx-Class-0.81.270
"
BDEPEND="
${RDEPEND}
test? (
virtual/perl-parent
dev-perl/DBICx-TestDatabase
)
"
PATCHES=(
"${FILESDIR}/${PN}-0.04-no-dot-inc.patch"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 79f5dec79787a75779a06977094ffa24d8f76942 Mon Sep 17 00:00:00 2001
From: Kent Fredric <[email protected]>
Date: Fri, 10 Jul 2020 23:41:56 +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 77f1e3a..61381ad 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,6 @@
use strict;
use warnings;
+use lib '.';
use inc::Module::Install;

name 'DBIx-Class-DynamicDefault';
--
2.27.0

0 comments on commit ce6457e

Please sign in to comment.