blob: 87707c873f5695072ffcbc2a8d09498b27d93a69 (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=VINSWORLD
DIST_VERSION=1.11
inherit perl-module
DESCRIPTION="Automate telnet sessions w/ routers&switches"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 ~mips ~ppc ppc64 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-perl/Net-Telnet-3.20.0"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( dev-perl/TermReadKey )
"
PATCHES=( "${FILESDIR}/${PN}-1.11-no-interactive-test.patch" )
PERL_RM_FILES=( "t/02-pod-coverage.t" )
src_test() {
if [[ -z $CISCO_TEST_ROUTER ]]; then
elog "Comprehensive testing requires a configured, network accessible Cisco Router"
elog "to test against. For details, see:"
elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
fi
perl-module_src_test
}
|