summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2011-10-16 13:55:27 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2011-10-16 13:55:27 +0000
commit9533516651734eedb4bd026f289d06c98294c2ff (patch)
tree6ff1e939f11127f6ca9e48ff095ee041dc1324c6 /www
parent1371d349ef17c38241927e01f0b14ad77fcca5da (diff)
downloadpkgsrc-9533516651734eedb4bd026f289d06c98294c2ff.tar.gz
Update p5-Test-WWW-Mechanize to 1.34.
Changes from previous: 1.34 Tue Jul 5 16:23:24 CDT 2011 ------------------------------------ [ENHANCEMENTS] Added $mech->lacks_uncapped_inputs() to check for <input> tags that don't have a maxlength attribute. We've been using this for years at work, and I'm just now moving it into Test::WWW::Mechanize. Added $mech->grep_inputs() and $mech->grep_submits() to easily pull input fields from the page. I'd like to get this moved up to base WWW::Mechanize, because it has use outside of the Test:: world. $mech->followable_links() now finds file: URLs, too. $mech->content_contains(), $mech->content_lacks(), $mech->text_contains(0 and $mech->text_lacks() all fail if a reference is passed instead of a string. [FIXES] $mech->text_contains() was not calling $mech->text(), so was not taking advantage of the caching of the parsed text. [INTERNALS] Most tests no longer use TestServer.pm class. All tests now run under -T and have plan counts. 1.31_01 Wed May 4 16:07:31 CDT 2011 ------------------------------------ [ENHANCEMENTS] The methods that look at the text of the page, ->text_like() and ->text_unlike(), now use the WWW::Mechanize method ->text() which caches the text. This will be a big speedup if you call these methods more than once. [FIXED]Normalized the use of single vs. double quotes in the default descriptions. Fixed tests that fail under newer versions of LWP. Fixed tests that fail if http_proxy or HTTP_PROXY are set. Fixed tests that fail on Perl 5.14.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Test-WWW-Mechanize/Makefile7
-rw-r--r--www/p5-Test-WWW-Mechanize/distinfo8
2 files changed, 8 insertions, 7 deletions
diff --git a/www/p5-Test-WWW-Mechanize/Makefile b/www/p5-Test-WWW-Mechanize/Makefile
index d4cfe0b42b7..5a86e55c17c 100644
--- a/www/p5-Test-WWW-Mechanize/Makefile
+++ b/www/p5-Test-WWW-Mechanize/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2011/08/14 16:06:10 obache Exp $
+# $NetBSD: Makefile,v 1.12 2011/10/16 13:55:27 hiramatsu Exp $
#
-DISTNAME= Test-WWW-Mechanize-1.30
+DISTNAME= Test-WWW-Mechanize-1.34
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
SVR4_PKGNAME= p5twm
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
@@ -11,6 +10,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Test-WWW-Mechanize/
COMMENT= Perl5 module providing testing-specific WWW::Mechanize subclass
+LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
@@ -19,6 +19,7 @@ PERL5_PACKLIST= auto/Test/WWW/Mechanize/.packlist
DEPENDS+= p5-Carp-Assert-More-[0-9]*:../../devel/p5-Carp-Assert-More
DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
DEPENDS+= p5-HTTP-Server-Simple>=0.42:../../www/p5-HTTP-Server-Simple
+DEPENDS+= p5-libwww>=6.02:../../www/p5-libwww
DEPENDS+= p5-Test-LongString>=0.12:../../devel/p5-Test-LongString
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-WWW-Mechanize>=1.24:../../www/p5-WWW-Mechanize
diff --git a/www/p5-Test-WWW-Mechanize/distinfo b/www/p5-Test-WWW-Mechanize/distinfo
index 4c9c883e1c7..856d9fed976 100644
--- a/www/p5-Test-WWW-Mechanize/distinfo
+++ b/www/p5-Test-WWW-Mechanize/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2010/07/26 01:42:37 seb Exp $
+$NetBSD: distinfo,v 1.7 2011/10/16 13:55:27 hiramatsu Exp $
-SHA1 (Test-WWW-Mechanize-1.30.tar.gz) = 025037d52d0968f9e5a42e9bbbf0c500e78ca829
-RMD160 (Test-WWW-Mechanize-1.30.tar.gz) = da1f12ae7feac9486b10c37cfd3573610ea226f8
-Size (Test-WWW-Mechanize-1.30.tar.gz) = 19234 bytes
+SHA1 (Test-WWW-Mechanize-1.34.tar.gz) = dd60a3fa791ec0e65f5d007fbbb38657ff18c0e0
+RMD160 (Test-WWW-Mechanize-1.34.tar.gz) = 59f0c513a6faca873790b33f2bb15b8269067ac2
+Size (Test-WWW-Mechanize-1.34.tar.gz) = 22408 bytes