1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="create a temporary database from a DBIx::Class::Schema"
13 KEYWORDS="~amd64 ~x86"
15 RESTRICT="!test? ( test )"
17 RDEPEND="virtual/perl-File-Temp
18 >=dev-perl/DBD-SQLite-1.290.0
19 dev-perl/SQL-Translator
22 >=virtual/perl-ExtUtils-MakeMaker-6.360.0
25 >=virtual/perl-Test-Simple-1.1.10
28 PERL_RM_FILES=("MYMETA.json" "MYMETA.yml") # https://rt.cpan.org/Ticket/Display.html?id=108141
31 sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
32 die "Can't patch Makefile.PL for 5.26 dot-in-inc"
33 perl-module_src_prepare