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

EAPI=6

DIST_VERSION=${PV%0.0}
DIST_AUTHOR=RATCLIFFE
DIST_EXAMPLES=( "examples/*" )
inherit perl-module

DESCRIPTION="Access SANE-compatible scanners from Perl"

SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="test"

RDEPEND="
	dev-perl/Exception-Class
	dev-perl/Readonly
	>=media-gfx/sane-backends-1.0.19"
DEPEND="${RDEPEND}
	dev-perl/ExtUtils-Depends
	dev-perl/ExtUtils-PkgConfig
	test? (
		dev-perl/Test-Requires
		dev-perl/Try-Tiny
	)
"
# https://rt.cpan.org/Ticket/Display.html?id=122380
PERL_RM_FILES=( t/{90_MANIFEST,91_critic,pod,81_scanimage-perl}.t )