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

EAPI=8

DIST_VERSION=5
DIST_AUTHOR=RATCLIFFE
DIST_EXAMPLES=( "examples/*" )
inherit perl-module

DESCRIPTION="Access SANE-compatible scanners from Perl"

SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-perl/Exception-Class
	dev-perl/Readonly
	>=media-gfx/sane-backends-1.0.19
"
DEPEND="${RDEPEND}
"
BDEPEND="${RDEPEND}
	dev-perl/ExtUtils-Depends
	dev-perl/ExtUtils-PkgConfig
	test? (
		dev-perl/Test-Requires
		dev-perl/Try-Tiny
		virtual/imagemagick-tools
	)
"

PERL_RM_FILES=( t/{90_MANIFEST,91_critic,pod}.t )