You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild

36 lines
709 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=BDFOY
DIST_VERSION=3.004
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Work with ISBN as objects"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test barcode"
RDEPEND="
barcode? (
dev-perl/GD-Barcode
dev-perl/GD[png]
)
>=dev-perl/Business-ISBN-Data-20140910.2.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-Test-Simple-0.950.0
)
"
src_test() {
perl_rm_files t/pod{,_coverage.t}
sed -i -e '/^pod\.t/d;/^pod_coverage\.t/d' t/test_manifest || die "Can't fix test_manifest"
perl-module_src_test
}