From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-Whois-IP/
Date: Sun, 17 Dec 2017 09:05:11 +0000 (UTC) [thread overview]
Message-ID: <1513501251.94d9bbee1b0cf8cf08e3267810ed0c50afd0e08c.kentnl@gentoo> (raw)
commit: 94d9bbee1b0cf8cf08e3267810ed0c50afd0e08c
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 02:50:12 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 09:00:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d9bbee
dev-perl/Net-Whois-IP: Add custom tests
- Add basic compile tests
- Add CPAN remote-ids
Package-Manager: Portage-2.3.18, Repoman-2.3.6
.../Net-Whois-IP/Net-Whois-IP-1.190.0-r1.ebuild | 51 ++++++++++++++++++++++
dev-perl/Net-Whois-IP/metadata.xml | 4 ++
2 files changed, 55 insertions(+)
diff --git a/dev-perl/Net-Whois-IP/Net-Whois-IP-1.190.0-r1.ebuild b/dev-perl/Net-Whois-IP/Net-Whois-IP-1.190.0-r1.ebuild
new file mode 100644
index 00000000000..32f794ca21f
--- /dev/null
+++ b/dev-perl/Net-Whois-IP/Net-Whois-IP-1.190.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_VERSION=${PV%0.0}
+DIST_AUTHOR=BSCHMITZ
+inherit perl-module
+
+DESCRIPTION="Perl extension for looking up the whois information for ip addresses"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+PERL_RM_FILES=(
+ "test.pl" # gets installed otherwise :(
+)
+RDEPEND="
+ dev-perl/Regexp-IPv6
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+src_test() {
+ local MODULES=(
+ "Net::Whois::IP ${DIST_VERSION}"
+ )
+ local failed=()
+ for dep in "${MODULES[@]}"; do
+ ebegin "Compile testing ${dep}"
+ perl -Mblib="${S}" -M"${dep} ()" -e1
+ eend $? || failed+=( "$dep" )
+ done
+ if [[ ${failed[@]} ]]; then
+ echo
+ eerror "One or more modules failed compile:";
+ for dep in "${failed[@]}"; do
+ eerror " ${dep}"
+ done
+ die "Failing due to module compilation errors";
+ fi
+ # # All tests defined require networking
+ # and all fail.
+ # https://rt.cpan.org/Public/Bug/Display.html?id=110961
+ # local my_test_control
+ # my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
+ # if ! has network ${my_test_control} ; then
+ # perl_rm_files "t/test1.t" "t/testx.t"
+ # fi
+ # perl-module_src_test
+}
diff --git a/dev-perl/Net-Whois-IP/metadata.xml b/dev-perl/Net-Whois-IP/metadata.xml
index 74081c2bc74..dffda38316d 100644
--- a/dev-perl/Net-Whois-IP/metadata.xml
+++ b/dev-perl/Net-Whois-IP/metadata.xml
@@ -9,4 +9,8 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="cpan">Net-Whois-IP</remote-id>
+ <remote-id type="cpan-module">Net::Whois::IP</remote-id>
+ </upstream>
</pkgmetadata>
next reply other threads:[~2017-12-17 9:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 9:05 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-14 19:58 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-Whois-IP/ Florian Schmaus
2021-07-17 16:35 Andreas K. Hüttel
2018-07-15 3:40 Kent Fredric
2017-09-26 19:30 Kent Fredric
2016-04-07 23:26 Andreas Hüttel
2016-03-05 20:32 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513501251.94d9bbee1b0cf8cf08e3267810ed0c50afd0e08c.kentnl@gentoo \
--to=kentnl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox