diff options
Diffstat (limited to 'dev-perl/MooseX-Types-DateTime-ButMaintained')
-rw-r--r-- | dev-perl/MooseX-Types-DateTime-ButMaintained/MooseX-Types-DateTime-ButMaintained-0.160.0.ebuild | 17 |
1 files changed, 11 insertions, 6 deletions
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 index de1ef9c29358..ee7bef5ed599 100644 --- 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 @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -MODULE_AUTHOR=ECARROLL -MODULE_VERSION=0.16 +DIST_AUTHOR=ECARROLL +DIST_VERSION=0.16 inherit perl-module DESCRIPTION="DateTime related constraints and coercions for Moose" @@ -31,6 +31,11 @@ DEPEND="${RDEPEND} >=dev-perl/Test-Exception-0.27 >=virtual/perl-Test-Simple-1.1.10 >=dev-perl/Time-Duration-Parse-0.06 - )" + ) +" -SRC_TEST=do +src_prepare() { + sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +} |