summaryrefslogtreecommitdiff
path: root/dev-perl/Graphics-ColorNames/Graphics-ColorNames-3.5.0.ebuild
blob: 965552235b8877ea3ac4f1f05e473b86c785b5dd (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=RRWO
DIST_VERSION=v${PV}
inherit perl-module

DESCRIPTION="Defines RGB values for common color names"

SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	virtual/perl-File-Spec
	virtual/perl-IO
	>=virtual/perl-Module-Load-0.100.0
	virtual/perl-Module-Loaded
	dev-perl/Color-Library
	dev-perl/Tie-Sub
"

BDEPEND="${RDEPEND}
	test? (
		dev-perl/Test-Exception
		virtual/perl-Test-Simple
		dev-perl/Test-Most
	)
"

src_test() {
	perl_rm_files t/90-pod-coverage.t t/90-pod.t \
		t/90-file-port.t
	perl-module_src_test
}