summaryrefslogtreecommitdiff
blob: 421617b611ef4bfb87843e50f233e0f2ef83ef1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

MODULE_AUTHOR=ILMARI
MODULE_VERSION=0.11021
inherit perl-module

DESCRIPTION="Manipulate structured data definitions (SQL and more)"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-aix ~x86-solaris"
IUSE="test"

RDEPEND="
	dev-perl/Carp-Clan
	>=dev-perl/DBI-1.540.0
	virtual/perl-Digest-SHA
	>=dev-perl/File-ShareDir-1.0.0
	>=dev-perl/List-MoreUtils-0.90.0
	>=dev-perl/Moo-1.0.3
	>=dev-perl/Package-Variant-1.1.1
	>=dev-perl/Parse-RecDescent-1.967.9
	>=dev-perl/Try-Tiny-0.40.0
"
DEPEND="${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.590.0
	>=dev-perl/JSON-2
	>=dev-perl/XML-Writer-0.500.0
	>=dev-perl/YAML-0.660.0
	test? (
		dev-perl/HTML-Parser
		dev-perl/Spreadsheet-ParseExcel
		>=dev-perl/Template-Toolkit-2.200.0
		dev-perl/Test-Exception
		dev-perl/Test-Differences
		>=dev-perl/XML-LibXML-1.690.0
	)
"

SRC_TEST=do

src_prepare() {
	sed -i -e 's/use inc::Module::Install /use lib q[.];\nuse inc::Module::Install /' Makefile.PL ||
		die "Can't patch Makefile.PL for 5.26 dot-in-inc"
	perl-module_src_prepare
}