summaryrefslogtreecommitdiff
blob: 01089ef5af6cd80306360a0943ac6d556a687102 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=CFAERBER
DIST_VERSION=1.074
DIST_EXAMPLES=("eg/*")
inherit perl-module

DESCRIPTION="Simple calculations with RGB colors"

SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test minimal"
RESTRICT="!test? ( test )"

RDEPEND=">=dev-perl/Graphics-ColorNames-2.100.0
	>=dev-perl/Graphics-ColorNames-WWW-0.10.0
	!minimal? ( >=dev-perl/Graphics-ColorObject-0.5.0 )
	>=dev-perl/Params-Validate-0.750.0"

DEPEND="${RDEPEND}
	>=dev-perl/Module-Build-0.420.0
	test? (
		virtual/perl-Test-Simple
		dev-perl/Test-NoWarnings
	)"

src_test() {
	perl_rm_files t/10pod.t t/11pod_cover.t
	perl-module_src_test
}