pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-WWW-Mechanize pkgsrc changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a43d4e4821de
branches:  trunk
changeset: 396146:a43d4e4821de
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Jul 19 10:20:30 2009 +0000

description:
pkgsrc changes:
  - Updating package for p5 module WWW::Mechanize from 1.54 to 1.58
  - Adjusting license and dependencies according to META.yml and Makefile.PL

Upstream changes:
1.58        Mon Jul 13 22:32:23 CDT 2009
========================================
No new features.  If you have 1.56 installed OK, you do NOT need
to install 1.58.

[FIXES]
Removed prereq of HTTP::Response::Encoding, even though it was never
used.  Thanks for the catch, Gisle.



1.56        Thu Jul  9 00:36:54 CDT 2009
========================================
[THINGS THAT MAY BREAK YOUR CODE]
For a while, Mech used HTTP::Response::Encoding to try to suss out
the proper encoding of the page it receives.  Now, it lets
LWP::UserAgent do the work, and no longer requires
HTTP::Response::Encoding.

[ENHANCEMENTS]
Added a new dump_headers() method to dump the HTTP response headers.

Added --headers flag to mech-dump to dump the HTTP response headers.

[FIXES]
Now requires LWP version 5.829 because HTTP::Response has memory
cycle bugs.

[DOCUMENTATION]
Added a few notes to the FAQ, and fixed some incorrect docs.


1.55_01     Mon Jul  6 12:17:10 CDT 2009
========================================
This is mostly a bug fix release.  There will be a number of other
bug fix releases in the next few days.

[FIXED]
New test server now randomizes the port it runs on.

t/cookies.t should not hang on Windows any more.

META.yml has been updated so the search.cpan.org links should be
correct.

Passing no_proxy would make LWP::UserAgent barf.  Thanks to Mike
Schilli for the fix.

Cookies test would fail under Windows.  Fixed, thanks to many people
reporting it.

[ENHANCEMENTS]
$mech->submit_form() now can specify the form by ID using the form_id
parameter.

[DOCUMENTATION]
The docs used to say that ->stack_depth(0) was an infinite stack
size.  This is wrong.  Zero will tell Mech not to keep any history.

diffstat:

 www/p5-WWW-Mechanize/Makefile |  14 ++++++++------
 www/p5-WWW-Mechanize/distinfo |   8 ++++----
 2 files changed, 12 insertions(+), 10 deletions(-)

diffs (49 lines):

diff -r dc73bf3fbdf2 -r a43d4e4821de www/p5-WWW-Mechanize/Makefile
--- a/www/p5-WWW-Mechanize/Makefile     Sun Jul 19 10:06:49 2009 +0000
+++ b/www/p5-WWW-Mechanize/Makefile     Sun Jul 19 10:20:30 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2009/05/01 13:22:57 sno Exp $
+# $NetBSD: Makefile,v 1.20 2009/07/19 10:20:30 sno Exp $
 #
 
-DISTNAME=      WWW-Mechanize-1.54
+DISTNAME=      WWW-Mechanize-1.58
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=WWW/}
@@ -9,16 +9,18 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/WWW-Mechanize/
 COMMENT=       Automates web page form & link interaction
-LICENSE=       gnu-gpl-v2 # OR artistic
+LICENSE=       ${PERL5_LICENSE}
 
-DEPENDS+=      p5-libwww>=5.819:../../www/p5-libwww
 DEPENDS+=      p5-HTML-Parser>=3.33:../../www/p5-HTML-Parser
+DEPENDS+=      p5-HTTP-Response-Encoding>=0.05:../../www/p5-HTTP-Response-Encoding
+DEPENDS+=      p5-HTTP-Server-Simple>=0.35:../../www/p5-HTTP-Server-Simple
 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
+DEPENDS+=      p5-libwww>=5.829:../../www/p5-libwww
 
 BUILD_DEPENDS+=        p5-Test-Memory-Cycle-[0-9]*:../../devel/p5-Test-Memory-Cycle
+BUILD_DEPENDS+=        p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
 BUILD_DEPENDS+=        p5-Test-Taint-[0-9]*:../../devel/p5-Test-Taint
+BUILD_DEPENDS+=        p5-Test-Warn>=0.11:../../devel/p5-Test-Warn
 
 # use defaults from Makefile.PL, to avoid user interaction
 # if not set explicitly
diff -r dc73bf3fbdf2 -r a43d4e4821de www/p5-WWW-Mechanize/distinfo
--- a/www/p5-WWW-Mechanize/distinfo     Sun Jul 19 10:06:49 2009 +0000
+++ b/www/p5-WWW-Mechanize/distinfo     Sun Jul 19 10:20:30 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2009/05/01 13:22:57 sno Exp $
+$NetBSD: distinfo,v 1.15 2009/07/19 10:20:30 sno Exp $
 
-SHA1 (WWW-Mechanize-1.54.tar.gz) = 6ae01e188bc195a9e4bb4a71f8b65b971a2e36a2
-RMD160 (WWW-Mechanize-1.54.tar.gz) = a0109ffac1da71cebf911edc01903cd9b127cedf
-Size (WWW-Mechanize-1.54.tar.gz) = 117846 bytes
+SHA1 (WWW-Mechanize-1.58.tar.gz) = 3c7d96ce30ed2a202b5c0889fbae79deadb2cde4
+RMD160 (WWW-Mechanize-1.58.tar.gz) = ea69b1dd97fb15f494aabc1159b5a32801174234
+Size (WWW-Mechanize-1.58.tar.gz) = 120043 bytes



Home | Main Index | Thread Index | Old Index