diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-11-11 19:34:33 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-11-11 19:47:56 +0100 |
commit | 97db47e856b598f1bede0d44cf010d7729b5ae72 (patch) | |
tree | 4eba7232e514adbe125f94a6011f0764c9780e24 /dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild | |
parent | dev-perl/LWP-UserAgent-Determined: EAPI=8 bump (diff) | |
download | gentoo-97db47e856b598f1bede0d44cf010d7729b5ae72.tar.gz gentoo-97db47e856b598f1bede0d44cf010d7729b5ae72.tar.bz2 gentoo-97db47e856b598f1bede0d44cf010d7729b5ae72.zip |
dev-perl/LWPx-ParanoidAgent: EAPI=8 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild')
-rw-r--r-- | dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild b/dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild new file mode 100644 index 000000000000..b9edccec2a3b --- /dev/null +++ b/dev-perl/LWPx-ParanoidAgent/LWPx-ParanoidAgent-1.120.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_SECTION=lwp +DIST_AUTHOR=SAXJAZMAN +DIST_VERSION=1.12 +inherit perl-module + +DESCRIPTION="Subclass of LWP::UserAgent that protects you from harm" + +SLOT="0" +KEYWORDS="amd64 ~x86" + +RDEPEND=" + dev-perl/libwww-perl + dev-perl/Net-DNS + virtual/perl-Time-HiRes +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" + +src_test() { + local my_test_control + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} + if has network ${my_test_control}; then + einfo "Enabling ONLINE_TESTS" + export ONLINE_TESTS=1 + else + ewarn "Comprehensive testing requires network access. For details see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}" + fi + perl_rm_files t/40-slowserver.t t/50-stuckserver.t + perl-module_src_test +} |