summaryrefslogtreecommitdiff
blob: 16742afe8a44ab89ce4618a9ea338fe236a2308f (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
48
49
50
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
MODULE_AUTHOR=MADCAT
MODULE_VERSION=1.08
inherit perl-module

DESCRIPTION='"proper" handling of DBI based connections in Mojolicious'
LICENSE=" || ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
perl_meta_configure() {
	# ExtUtils::MakeMaker 6.30 ( 6.300.0 )
	echo \>=virtual/perl-ExtUtils-MakeMaker-6.30
}
perl_meta_runtime() {
	# DBI
	echo dev-perl/DBI
	# Mojo::Base
	echo dev-perl/Mojolicious
	# strict
	echo dev-lang/perl
	# warnings
	echo dev-lang/perl
}
perl_meta_test() {
	# DBD::SQLite
	echo dev-perl/DBD-SQLite
	# File::Temp
	echo virtual/perl-File-Temp
	# Mojolicious::Lite
	echo dev-perl/Mojolicious
	# Test::Mojo
	echo dev-perl/Mojolicious
	# Test::More
	echo virtual/perl-Test-Simple
	# Try::Tiny
	echo dev-perl/Try-Tiny
}
DEPEND="
	$(perl_meta_configure)
	$(perl_meta_runtime)
	test? ( $(perl_meta_test) )
"
RDEPEND="
	$(perl_meta_runtime)
"
SRC_TEST="do"