summaryrefslogtreecommitdiff
blob: 2324cd51ec6d701b44d379b3e2493d31a619090d (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
MODULE_AUTHOR=KENTNL
MODULE_VERSION="0.05070419"
inherit perl-module

DESCRIPTION="Sugar Syntax for moose 'has' fields"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
comment() { echo ''; }
# I make this module upstream =).
# But sadly, MB doesn't natively support test-requires
# so this is the best way to support test-requires until 
# it supports it when it adds it ( soon ! )

PERL_REQUIRES="
	$(comment virtual/perl-Carp)
	dev-perl/Sub-Exporter
"
PERL_CONFIGURE_REQUIRES="
>=virtual/perl-Module-Build-0.36.01 $(comment 0.360.100)
"
PERL_BUILD_REQUIRES="
	$(comment virtual/perl-English)
	$(comment virtual/perl-File-Find)
	virtual/perl-File-Temp
	>=virtual/perl-Module-Build-0.36.01 $(comment 0.360.100)
	dev-perl/Moose
	dev-perl/MooseX-Types $(comment MooseX::Types::Moose)
	dev-perl/Test-Fatal
	>=virtual/perl-Test-Simple-0.88 $(comment Test::More 0.880.0)
	dev-perl/namespace-autoclean

"
PERL_TEST_REQUIRES=""

DEPEND="${PERL_REQUIRES}"
DEPEND="${DEPEND} ${PERL_BUILD_REQUIRES} ${PERL_TEST_REQUIRES}"
#DEPEND="${DEPEND} ${PERL_BUILD_REQUIRES} test? ( ${PERL_TEST_REQUIRES} )"

RDEPEND="
	${PERL_REQUIRES}
"
SRC_TEST="do"