blob: 5dc8ade036ea9e8a601df09ba0d860c501bcd575 (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=RKITOVER
MODULE_VERSION=0.04
inherit perl-module
DESCRIPTION='detect if English number is ordinal or cardinal'
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() {
# Exporter
echo virtual/perl-Exporter
# Lingua::EN::FindNumber
echo dev-perl/Lingua-EN-FindNumber
# strict
echo dev-lang/perl
# warnings
echo dev-lang/perl
}
perl_meta_test() {
# File::Find
echo dev-lang/perl
# File::Temp
echo virtual/perl-File-Temp
# Test::Fatal
echo dev-perl/Test-Fatal
# 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"
|