summaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-12-16 22:30:07 +0000
committerhe <he@pkgsrc.org>2008-12-16 22:30:07 +0000
commit94048564fa8d0b37fc34e6f9232ef4a6d7fc51a6 (patch)
tree0178b66042db7ccec09eb8e22cb89c1c61241793 /www/p5-WWW-Mechanize
parent18a0c653816d0ee06c1e3dd96adef4688ea33430 (diff)
downloadpkgsrc-94048564fa8d0b37fc34e6f9232ef4a6d7fc51a6.tar.gz
Update from version 1.34nb1 to 1.52.
Pkgsrc changes: o Changed MAINTAINER to pkgsrc-users@, hope that's ok o Adjusted dependencies according to new requirements Upstream changes: 1.52 Tue Nov 25 09:52:30 CST 2008 ======================================== [FIXED] Improved some error messages in $mech->submit_form(). Thanks to Norbert Buchmuller. 1.51_03 Thu Nov 20 11:05:49 CST 2008 ======================================== [FIXED] The $mech->clone() method was not passing the cookie jar to its clone properly. Thanks to David Sainty. The $mech->back() can fail if there's nothing on the stack to go back to. Thanks to Dave Page. $mech->follow_link() did not complain if a link could not be found, even with autocheck on. Now it does. Thanks, Flavio Poletti. [ENHANCEMENTS] Added a $mech->form_id() method so you can look up forms by ID. Added $mech->content_type(), because $mech->ct() is too cryptic. 1.51_02 Tue Nov 18 01:30:54 CST 2008 ======================================== [STILL BROKEN] t/local/click_button.t is still failing its tests for calling ->click on an HTML::Form object. I suspect this is an LWP change, but I haven't dug into it enough yet. [FIXES] Fixed the bad credentials API that stomped on LWP::UserAgent's credentials() method. Thanks to Max Maschien and Matt Lawrence. The $mech->links method now finds <link href="..."> links. Thanks to H.Merijn Brand. Makefile.PL explicitly requires Perl 5.8.0. URI.pm has to be version 1.36 or else URIs don't get encoded correctly. LWP has to be 5.819 or we have encoding problems. 1.51_01 Thu Nov 6 15:13:03 CST 2008 ======================================== [FIXES] Page history is now working much better. The $mech->back() method should behave more like a browser now. Most notably, it no longer restores the cookie state, just like your browser doesn't restore cookie state when you page back. It also should use much less memory. 1.50 Sun Sun Oct 26 22:42:46 CDT 2008 ======================================== [THINGS THAT MAY BREAK YOUR CODE] WWW::Mechanize now requires version 5.815 of LWP. This in itself may cause problems for you because of changes in how LWP does authentication. 1.49_01 Sat Sep 27 23:50:04 CDT 2008 ======================================== [THINGS THAT MAY BREAK YOUR CODE] The autocheck argument to the constructor is now ON by default, unless WWW::Mechanize is being subclassed. There are so many new programmers whose ->get() calls fail unchecked that I'm now putting on the seat belts for them. [FIXES] I do believe we are on the way to having all the encoding problems ironed out. This version incorporates a patch from here: http://code.google.com/p/www-mechanize/issues/detail?id=61 and tests from Miyagawa's WWW::Mechanize::DecodedContent http://search.cpan.org/dist/WWW-Mechanize-DecodedContent/ to finally fix this. [ENHANCEMENTS] You can now specify not to set up the proxy, if there is one. The proxy causes problems for Crypt::SSLeay. For details see: http://code.google.com/p/www-mechanize/issues/detail?id=39 [DOCUMENTATION] Fixed internal links. [INTERNALS] Lots of refactoring based on Schwern's "Skimmable Code" talk. http://use.perl.org/~schwern/journal/36704 http://schwern.org/~schwern/talks/Skimmable%20Code%20-%20YAPC-NA-2008.pdf
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r--www/p5-WWW-Mechanize/Makefile15
-rw-r--r--www/p5-WWW-Mechanize/distinfo8
2 files changed, 12 insertions, 11 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile
index b7a52ebb73c..9798d3dcffb 100644
--- a/www/p5-WWW-Mechanize/Makefile
+++ b/www/p5-WWW-Mechanize/Makefile
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.17 2008/10/19 19:19:24 he Exp $
+# $NetBSD: Makefile,v 1.18 2008/12/16 22:30:07 he Exp $
#
-DISTNAME= WWW-Mechanize-1.34
+DISTNAME= WWW-Mechanize-1.52
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
-MAINTAINER= dieter.NetBSD@pandora.be
+MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/WWW-Mechanize/
COMMENT= Automates web page form & link interaction
-DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
-DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser
-DEPENDS+= p5-URI>=1.30:../../www/p5-URI
+DEPENDS+= p5-libwww>=5.819:../../www/p5-libwww
+DEPENDS+= p5-HTML-Parser>=3.33:../../www/p5-HTML-Parser
+DEPENDS+= p5-URI>=1.36:../../www/p5-URI
+DEPENDS+= p5-Test-Warn>=0.11:../../devel/p5-Test-Warn
+DEPENDS+= p5-HTTP-Response-Encoding>=0.05:../../www/p5-HTTP-Response-Encoding
# use defaults from Makefile.PL, to avoid user interaction
# if not set explicitly
diff --git a/www/p5-WWW-Mechanize/distinfo b/www/p5-WWW-Mechanize/distinfo
index d457c710a09..af9b4240649 100644
--- a/www/p5-WWW-Mechanize/distinfo
+++ b/www/p5-WWW-Mechanize/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2008/04/08 10:33:44 abs Exp $
+$NetBSD: distinfo,v 1.13 2008/12/16 22:30:07 he Exp $
-SHA1 (WWW-Mechanize-1.34.tar.gz) = 71dc82bfb19762476f4d7404fddd179b93a6a059
-RMD160 (WWW-Mechanize-1.34.tar.gz) = 230244602ce9980ffab5e159d41bfec6616c4e81
-Size (WWW-Mechanize-1.34.tar.gz) = 113339 bytes
+SHA1 (WWW-Mechanize-1.52.tar.gz) = e5a358e6c5db6936a40651b8ed82f3fb16b7de1c
+RMD160 (WWW-Mechanize-1.52.tar.gz) = b45f76fbcb35b291653c280c01f6494fe2cf05f4
+Size (WWW-Mechanize-1.52.tar.gz) = 118351 bytes