1 |
commit: 506962d96e5e6f6a6e3111912aeafa22fe9400ad |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 23:32:31 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 23:32:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506962d9 |
7 |
|
8 |
dev-perl/MooseX-Types-DateTime-ButMaintained: Add build fix for Perl 5.26, bug 617142 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild | 17 +++++++++++------ |
13 |
1 file changed, 11 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild b/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild |
16 |
index de1ef9c2935..ee7bef5ed59 100644 |
17 |
--- a/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild |
18 |
+++ b/dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
-MODULE_AUTHOR=ECARROLL |
28 |
-MODULE_VERSION=0.16 |
29 |
+DIST_AUTHOR=ECARROLL |
30 |
+DIST_VERSION=0.16 |
31 |
inherit perl-module |
32 |
|
33 |
DESCRIPTION="DateTime related constraints and coercions for Moose" |
34 |
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND} |
35 |
>=dev-perl/Test-Exception-0.27 |
36 |
>=virtual/perl-Test-Simple-1.1.10 |
37 |
>=dev-perl/Time-Duration-Parse-0.06 |
38 |
- )" |
39 |
+ ) |
40 |
+" |
41 |
|
42 |
-SRC_TEST=do |
43 |
+src_prepare() { |
44 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
45 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
46 |
+ perl-module_src_prepare |
47 |
+} |