blob: 105bfdd999a0b291a482c6382699a394b7108da9 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=BDFOY
MODULE_VERSION=2.05
inherit perl-module
DESCRIPTION="Work with ISBN as objects"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=dev-perl/Business-ISBN-Data-20081208.0.0
"
DEPEND="${RDEPEND}
test? (
dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage
)
"
SRC_TEST=do
src_prepare() {
perl-module_src_prepare
sed -i '/URI/d' Makefile.PL || die # unused dependency
}
src_test() {
mv t/xisbn10.t{,.disable} || die # online test
sed -i 's,9997022576,9999922579,' t/isbn1{0,3}.t || die # non-existing block
perl-module_src_test
}
|