From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/perl-overlay:perl514virtuals commit in: dev-perl/Test-WWW-Mechanize/, dev-perl/Test-WWW-Mechanize/files/1.30/
Date: Sat, 23 Apr 2011 13:00:23 +0000 (UTC) [thread overview]
Message-ID: <cfdff7d4fa5321d7d9d4e6156d619b8a2f08c708.kent@gentoo> (raw)
Message-ID: <20110423130023.5-a5aktmwXgkuorE23HLm5veKqbzIL9rorYKY7y1Q60@z> (raw)
commit: cfdff7d4fa5321d7d9d4e6156d619b8a2f08c708
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Thu Apr 21 10:58:36 2011 +0000
Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Thu Apr 21 10:58:36 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=cfdff7d4
[added] Test-WWW-Mechanize-1.30-r1 with fix_dns patch to avoid https://bugs.gentoo.org/show_bug.cgi?id=328899
(Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key 0A0CB301)
---
dev-perl/Test-WWW-Mechanize/ChangeLog | 177 ++++++++++++++++++++
.../Test-WWW-Mechanize-1.30-r1.ebuild | 27 +++
.../Test-WWW-Mechanize/files/1.30/fix_dns.patch | 66 ++++++++
dev-perl/Test-WWW-Mechanize/metadata.xml | 8 +
4 files changed, 278 insertions(+), 0 deletions(-)
diff --git a/dev-perl/Test-WWW-Mechanize/ChangeLog b/dev-perl/Test-WWW-Mechanize/ChangeLog
new file mode 100644
index 0000000..f57481e
--- /dev/null
+++ b/dev-perl/Test-WWW-Mechanize/ChangeLog
@@ -0,0 +1,177 @@
+# ChangeLog for dev-perl/Test-WWW-Mechanize
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-WWW-Mechanize/ChangeLog,v 1.34 2011/01/04 19:11:47 tove Exp $
+
+*Test-WWW-Mechanize-1.30-r1 (21 Apr 2011)
+
+ 21 Apr 2011; Kent Fredric <kentfredric@gmail.com> +files/1.30/fix_dns.patch,
+ +Test-WWW-Mechanize-1.30-r1.ebuild, +metadata.xml:
+ Added with patch because upstream are taking their sweet time fixing this
+
+ 04 Jan 2011; Torsten Veller <tove@gentoo.org>
+ -Test-WWW-Mechanize-1.16.ebuild, -Test-WWW-Mechanize-1.20.ebuild,
+ -Test-WWW-Mechanize-1.24.ebuild:
+ Cleanup
+
+ 21 Jun 2010; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.28.ebuild:
+ sparc stable wrt #323529
+
+ 15 Jun 2010; Torsten Veller <tove@gentoo.org>
+ Test-WWW-Mechanize-1.28.ebuild:
+ Stable on amd64 and x86 (#323529)
+
+*Test-WWW-Mechanize-1.30 (12 Jun 2010)
+
+ 12 Jun 2010; Torsten Veller <tove@gentoo.org>
+ +Test-WWW-Mechanize-1.30.ebuild:
+ Version bump
+
+*Test-WWW-Mechanize-1.28 (15 Apr 2010)
+
+ 15 Apr 2010; Torsten Veller <tove@gentoo.org>
+ +Test-WWW-Mechanize-1.28.ebuild:
+ Version bump
+
+ 14 Jan 2010; Fabian Groffen <grobian@gentoo.org>
+ Test-WWW-Mechanize-1.24.ebuild:
+ Transfer Prefix keywords
+
+ 13 Sep 2009; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.16.ebuild, Test-WWW-Mechanize-1.20.ebuild,
+ Test-WWW-Mechanize-1.24.ebuild:
+ Drop ia64 keyword
+
+ 03 Jun 2009; Torsten Veller <tove@gentoo.org>
+ -Test-WWW-Mechanize-1.22.ebuild:
+ Cleanup
+
+*Test-WWW-Mechanize-1.24 (19 Jan 2009)
+
+ 19 Jan 2009; Torsten Veller <tove@gentoo.org>
+ +Test-WWW-Mechanize-1.24.ebuild:
+ Version bump
+
+*Test-WWW-Mechanize-1.22 (08 Dec 2008)
+
+ 08 Dec 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +Test-WWW-Mechanize-1.22.ebuild:
+ Version bump.
+
+ 15 Sep 2008; Torsten Veller <tove@gentoo.org>
+ -Test-WWW-Mechanize-1.08.ebuild, -Test-WWW-Mechanize-1.12.ebuild,
+ -Test-WWW-Mechanize-1.14.ebuild:
+ Cleanup
+
+ 17 Jul 2008; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.20.ebuild:
+ ia64/sparc/x86 stable
+
+*Test-WWW-Mechanize-1.20 (24 Apr 2008)
+
+ 24 Apr 2008; Yuval Yaari <yuval@gentoo.org>
+ +Test-WWW-Mechanize-1.20.ebuild:
+ Version bump
+
+ 23 Jan 2008; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.16.ebuild:
+ ia64/sparc/x86 stable
+
+*Test-WWW-Mechanize-1.16 (19 Nov 2007)
+
+ 19 Nov 2007; Christian Hartmann <ian@gentoo.org>
+ +Test-WWW-Mechanize-1.16.ebuild:
+ Version bump
+
+ 10 Nov 2007; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.14.ebuild:
+ ia64 stable
+
+ 10 Nov 2007; Samuli Suominen <drac@gentoo.org>
+ Test-WWW-Mechanize-1.14.ebuild:
+ amd64 stable
+
+ 14 Jul 2007; Raúl Porcel <armin76@gentoo.org>
+ Test-WWW-Mechanize-1.14.ebuild:
+ Re-add ~ia64 and x86 stable
+
+ 21 Jun 2007; Michael Cummings <mcummings@gentoo.org>
+ Test-WWW-Mechanize-1.14.ebuild:
+ Marking sparc stable
+
+ 12 May 2007; Michael Cummings <mcummings@gentoo.org>
+ +Test-WWW-Mechanize-1.14.ebuild:
+ Version bump
+
+*Test-WWW-Mechanize-1.14 (12 May 2007)
+
+ 12 May 2007; Michael Cummings <mcummings@gentoo.org>
+ +Test-WWW-Mechanize-1.14.ebuild:
+ Version bump
+
+ 23 Mar 2007; Andrej Kacian <ticho@gentoo.org>
+ Test-WWW-Mechanize-1.12.ebuild:
+ Stable on x86, bug #169152.
+
+ 20 Oct 2006; Aron Griffis <agriffis@gentoo.org>
+ Test-WWW-Mechanize-1.12.ebuild:
+ Mark 1.12 stable on ia64
+
+ 15 Oct 2006; Michael Cummings <mcummings@gentoo.org>
+ -Test-WWW-Mechanize-1.04.ebuild, Test-WWW-Mechanize-1.08.ebuild,
+ -Test-WWW-Mechanize-1.10.ebuild, Test-WWW-Mechanize-1.12.ebuild:
+ Keywording amd64, sparc stable; cleaning up stale ebuilds
+
+ 15 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
+ Test-WWW-Mechanize-1.08.ebuild:
+ Stable on ia64.
+
+ 06 Aug 2006; Michael Cummings <mcummings@gentoo.org>
+ Test-WWW-Mechanize-1.04.ebuild, Test-WWW-Mechanize-1.08.ebuild,
+ Test-WWW-Mechanize-1.10.ebuild, Test-WWW-Mechanize-1.12.ebuild:
+ Adding perl dep; fixed DEPEND
+
+*Test-WWW-Mechanize-1.12 (07 Jul 2006)
+
+ 07 Jul 2006; Christian Hartmann <ian@gentoo.org>
+ +Test-WWW-Mechanize-1.12.ebuild:
+ Version bump
+
+ 05 Jul 2006; Christian Hartmann <ian@gentoo.org>
+ Test-WWW-Mechanize-1.04.ebuild, Test-WWW-Mechanize-1.08.ebuild,
+ Test-WWW-Mechanize-1.10.ebuild:
+ Fixed RDEPEND wrt bug #134781; fixed header
+
+*Test-WWW-Mechanize-1.10 (23 Jun 2006)
+
+ 23 Jun 2006; Michael Cummings <mcummings@gentoo.org>
+ +Test-WWW-Mechanize-1.10.ebuild:
+ Version bump upstream
+
+ 30 Mar 2006; Aron Griffis <agriffis@gentoo.org>
+ Test-WWW-Mechanize-1.08.ebuild:
+ Mark 1.08 ~ia64
+
+ 13 Jan 2006; Michael Cummings <mcummings@gentoo.org>
+ Test-WWW-Mechanize-1.08.ebuild:
+ Marking sparc x86 stable
+
+ 08 Jan 2006; Joseph Jezak <josejx@gentoo.org>
+ Test-WWW-Mechanize-1.08.ebuild:
+ Marked ~ppc for bug #114350.
+
+*Test-WWW-Mechanize-1.08 (03 Dec 2005)
+
+ 03 Dec 2005; Michael Cummings <mcummings@gentoo.org>
+ +Test-WWW-Mechanize-1.08.ebuild:
+ Version bump
+
+ 13 Jun 2005; David Holm <dholm@gentoo.org> Test-WWW-Mechanize-1.04.ebuild:
+ Added to ~ppc.
+
+*Test-WWW-Mechanize-1.04 (12 Jun 2005)
+
+ 12 Jun 2005; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +Test-WWW-Mechanize-1.04.ebuild:
+ Initial ebuild. www-apps/rt dependency. Okd by beu.
+
diff --git a/dev-perl/Test-WWW-Mechanize/Test-WWW-Mechanize-1.30-r1.ebuild b/dev-perl/Test-WWW-Mechanize/Test-WWW-Mechanize-1.30-r1.ebuild
new file mode 100644
index 0000000..3e0cee6
--- /dev/null
+++ b/dev-perl/Test-WWW-Mechanize/Test-WWW-Mechanize-1.30-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-WWW-Mechanize/Test-WWW-Mechanize-1.30.ebuild,v 1.1 2010/06/12 11:58:40 tove Exp $
+
+EAPI=3
+
+MODULE_AUTHOR=PETDANCE
+inherit perl-module
+
+DESCRIPTION="Testing-specific WWW::Mechanize subclass"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="test"
+PATCHES=(
+ "${FILESDIR}/${PV}/fix_dns.patch"
+)
+RDEPEND=">=dev-perl/WWW-Mechanize-1.24
+ dev-perl/Carp-Assert-More
+ dev-perl/URI
+ >=dev-perl/Test-LongString-0.12"
+DEPEND="${RDEPEND}
+ test? ( >=dev-perl/HTTP-Server-Simple-0.35
+ dev-perl/Test-Pod
+ dev-perl/Test-Pod-Coverage )"
+
+SRC_TEST="do"
diff --git a/dev-perl/Test-WWW-Mechanize/files/1.30/fix_dns.patch b/dev-perl/Test-WWW-Mechanize/files/1.30/fix_dns.patch
new file mode 100644
index 0000000..eb5ef5d
--- /dev/null
+++ b/dev-perl/Test-WWW-Mechanize/files/1.30/fix_dns.patch
@@ -0,0 +1,66 @@
+This is a suggested fix for http://code.google.com/p/www-mechanize/issues/detail?id=157
+It solves problems on machines with unusual DNS magic.
+
+diff --git a/t/back_ok.t b/t/back_ok.t
+index 7042c90..e75f0ce 100644
+--- a/t/back_ok.t
++++ b/t/back_ok.t
+@@ -47,14 +47,14 @@ GOOD_GET: {
+ }
+
+ BAD_GET: {
+- my $badurl = 'http://wango.nonexistent.xx-only-testing/';
++ my $badurl = 'http://wango.nonexistent.xx-only-testing./';
+ $mech->get($badurl);
+ ok(!$mech->success, q{sanity check: we can't load NONEXISTENT.html});
+
+ test_out( 'not ok 1 - Try to get bad URL' );
+ test_fail( +3 );
+ test_diag( '500' );
+- test_diag( q{Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing')} );
++ test_diag( q{Can't connect to wango.nonexistent.xx-only-testing.:80 (Bad hostname 'wango.nonexistent.xx-only-testing.')} );
+ my $ok = $mech->get_ok( $badurl, 'Try to get bad URL' );
+ test_test( 'Fails to get nonexistent URI and reports failure' );
+
+diff --git a/t/get_ok.t b/t/get_ok.t
+index 4df896f..5b1ba87 100644
+--- a/t/get_ok.t
++++ b/t/get_ok.t
+@@ -48,14 +48,14 @@ GOOD_GET: {
+ }
+
+ BAD_GET: {
+- my $badurl = 'http://wango.nonexistent.xx-only-testing/';
++ my $badurl = 'http://wango.nonexistent.xx-only-testing./';
+ $mech->get($badurl);
+ ok(!$mech->success, q{sanity check: we can't load NONEXISTENT.html});
+
+ test_out( 'not ok 1 - Try to get bad URL' );
+ test_fail( +3 );
+ test_diag( '500' );
+- test_diag( q{Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing')} );
++ test_diag( q{Can't connect to wango.nonexistent.xx-only-testing.:80 (Bad hostname 'wango.nonexistent.xx-only-testing.')} );
+ my $ok = $mech->get_ok( $badurl, 'Try to get bad URL' );
+ test_test( 'Fails to get nonexistent URI and reports failure' );
+
+diff --git a/t/head_ok.t b/t/head_ok.t
+index c123e70..e503a04 100644
+--- a/t/head_ok.t
++++ b/t/head_ok.t
+@@ -47,14 +47,14 @@ GOOD_HEAD: { # Stop giggling, you!
+ }
+
+ BAD_HEAD: {
+- my $badurl = 'http://wango.nonexistent.xx-only-testing/';
++ my $badurl = 'http://wango.nonexistent.xx-only-testing./';
+ $mech->head($badurl);
+ ok(!$mech->success, q{sanity check: we can't load NONEXISTENT.html} );
+
+ test_out( 'not ok 1 - Try to HEAD bad URL' );
+ test_fail( +3 );
+ test_diag( '500' );
+- test_diag( q{Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing')} );
++ test_diag( q{Can't connect to wango.nonexistent.xx-only-testing.:80 (Bad hostname 'wango.nonexistent.xx-only-testing.')} );
+ my $ok = $mech->head_ok( $badurl, 'Try to HEAD bad URL' );
+ test_test( 'Fails to HEAD nonexistent URI and reports failure' );
+
diff --git a/dev-perl/Test-WWW-Mechanize/metadata.xml b/dev-perl/Test-WWW-Mechanize/metadata.xml
new file mode 100644
index 0000000..5790990
--- /dev/null
+++ b/dev-perl/Test-WWW-Mechanize/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <upstream>
+ <remote-id type="cpan">Test-WWW-Mechanize</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2011-04-23 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-21 10:58 Kent Fredric [this message]
2011-04-23 13:00 ` [gentoo-commits] proj/perl-overlay:perl514virtuals commit in: dev-perl/Test-WWW-Mechanize/, dev-perl/Test-WWW-Mechanize/files/1.30/ Kent Fredric
-- strict thread matches above, loose matches on Subject: below --
2011-05-01 6:57 [gentoo-commits] proj/perl-overlay:perl514 " Kent Fredric
2011-05-01 6:55 ` [gentoo-commits] proj/perl-overlay:master " Kent Fredric
2011-05-01 7:06 Kent Fredric
2011-06-07 5:59 Kent Fredric
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=cfdff7d4fa5321d7d9d4e6156d619b8a2f08c708.kent@gentoo \
--to=kentfredric@gmail.com \
--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