1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Perl extension for looking up the whois information for ip addresses"
13 KEYWORDS="~amd64 ~x86"
16 "test.pl" # gets installed otherwise :(
22 virtual/perl-ExtUtils-MakeMaker
26 "Net::Whois::IP ${DIST_VERSION}"
29 for dep in "${MODULES[@]}"; do
30 ebegin "Compile testing ${dep}"
31 perl -Mblib="${S}" -M"${dep} ()" -e1
32 eend $? || failed+=( "$dep" )
34 if [[ ${failed[@]} ]]; then
36 eerror "One or more modules failed compile:";
37 for dep in "${failed[@]}"; do
40 die "Failing due to module compilation errors";
42 # # All tests defined require networking
44 # https://rt.cpan.org/Public/Bug/Display.html?id=110961
45 # local my_test_control
46 # my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
47 # if ! has network ${my_test_control} ; then
48 # perl_rm_files "t/test1.t" "t/testx.t"
50 # perl-module_src_test