Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv22239

Modified Files:
        www-mechanize-pm.info www-mechanize-pm.patch 
Log Message:
new version (from 10.6) that passes self-tests


Index: www-mechanize-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods/www-mechanize-pm.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- www-mechanize-pm.info       25 Aug 2011 16:08:50 -0000      1.1
+++ www-mechanize-pm.info       20 Jul 2012 17:16:43 -0000      1.2
@@ -1,6 +1,6 @@
 Info2: <<
 Package: www-mechanize-pm%type_pkg[perl]
-Version: 1.66
+Version: 1.72
 Revision: 1
 Type: perl (5.12.3)
 Description: Handy web browsing in a Perl object
@@ -12,32 +12,28 @@
  perl%type_pkg[perl]-core,
  yaml-pm (>= 0.38-1),
  libwww-pm%type_pkg[perl],
+ html-form-pm%type_pkg[perl] (>= 6.00-1),
  html-parser-pm%type_pkg[perl],
  html-tagset-pm,
+ html-tree-pm%type_pkg[perl],
  http-server-simple-pm (>= 0.35-1),
  http-response-encoding-pm%type_pkg[perl],
  io-socket-ssl-pm%type_pkg[perl],
- test-longstring-pm,
  uri-pm%type_pkg[perl]
 <<
 BuildDepends: <<
- fink (>= 0.24.12-1),
- pod-parser-pm,
- test-memory-cycle-pm%type_pkg[perl],
- test-warn-pm%type_pkg[perl],
- test-pod-pm
+       fink (>= 0.24.12-1)
 <<
 Conflicts: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin
 Replaces: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin
-Provides: %{Ni}
 
 # Unpack Phase:
-Source: mirror:cpan:authors/id/P/PE/PETDANCE/WWW-Mechanize-%v.tar.gz
-Source-MD5: 40690ba4cd93b8c3b931582acf87eeac
+Source: mirror:cpan:authors/id/J/JE/JESSE/WWW-Mechanize-%v.tar.gz
+Source-MD5: 231709669de7d912185b91e454206532
 
 # Patch Phase:
 PatchFile: %{Ni}.patch
-PatchFile-MD5: d6ba46a14b22de9f8360b803a8fed201
+PatchFile-MD5: 16eda0ad15fa11d8c399092593dab60c
 
 # Compile Phase:
 CompileScript: <<
@@ -45,13 +41,15 @@
 <<
 
 InfoTest: <<
+       TestDepends: <<
+               test-memory-cycle-pm%type_pkg[perl],
+               test-warn-pm%type_pkg[perl],
+               test-pod-pm,
+               test-taint-pm%type_pkg[perl]
+       <<              
        TestScript: <<
        #!/bin/sh -ex
-               perlversion=%type_raw[perl]
-               export FULLPERL="perl$perlversion"
-               if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [ 
"%m" != "powerpc" ]; then
-                       export FULLPERL="/usr/bin/arch -%m perl$perlversion"
-               fi
+                export FULLPERL=`perl -e 'print $ARGV[0]=~/PERL="(.*?)"/' '%c'`
                %{default_script}
        <<
 <<

Index: www-mechanize-pm.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods/www-mechanize-pm.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- www-mechanize-pm.patch      25 Aug 2011 16:08:50 -0000      1.1
+++ www-mechanize-pm.patch      20 Jul 2012 17:16:43 -0000      1.2
@@ -1,6 +1,6 @@
-diff -Nurd -x'*~' WWW-Mechanize-1.62.orig/t/00-load.t 
WWW-Mechanize-1.62/t/00-load.t
---- WWW-Mechanize-1.62.orig/t/00-load.t        2010-04-10 22:24:39.000000000 
-0400
-+++ WWW-Mechanize-1.62/t/00-load.t     2010-08-09 05:00:49.000000000 -0400
+diff -Nurd -x'*~' WWW-Mechanize-1.70.orig/t/00-load.t 
WWW-Mechanize-1.70/t/00-load.t
+--- WWW-Mechanize-1.70.orig/t/00-load.t        2011-08-26 13:42:17.000000000 
-0400
++++ WWW-Mechanize-1.70/t/00-load.t     2011-08-27 13:06:52.000000000 -0400
 @@ -9,7 +9,7 @@
  use_ok( 'WWW::Mechanize' );
  use_ok( 'WWW::Mechanize::Link' );
@@ -10,21 +10,21 @@
  if ( $canTMC ) {
      diag( "Test::Memory::Cycle $Test::Memory::Cycle::VERSION is installed." );
  }
-diff -Nurd -x'*~' WWW-Mechanize-1.62.orig/t/local/LocalServer.pm 
WWW-Mechanize-1.62/t/local/LocalServer.pm
---- WWW-Mechanize-1.62.orig/t/local/LocalServer.pm     2010-04-10 
22:24:38.000000000 -0400
-+++ WWW-Mechanize-1.62/t/local/LocalServer.pm  2010-08-09 04:59:39.000000000 
-0400
-@@ -70,7 +70,7 @@
- 
-   my $server_file = File::Spec->catfile( $FindBin::Bin,'log-server' );
+diff -Nurd -x'*~' WWW-Mechanize-1.70.orig/t/local/LocalServer.pm 
WWW-Mechanize-1.70/t/local/LocalServer.pm
+--- WWW-Mechanize-1.70.orig/t/local/LocalServer.pm     2011-08-26 
13:42:17.000000000 -0400
++++ WWW-Mechanize-1.70/t/local/LocalServer.pm  2011-08-27 13:07:04.000000000 
-0400
+@@ -99,7 +99,7 @@
+   push @opts, "-e" => qq{"} . delete($args{ eval }) . qq{"}
+       if $args{ eval };
  
--  open my $server, qq'$^X "$server_file" "$web_page" "$logfile" |'
-+  open my $server, qq'$ENV{FULLPERL} "$server_file" "$web_page" "$logfile" |'
-     or die "Couldn't spawn fake server $server_file : $!";
+-  my $pid = open my $server, qq'$^X "$server_file" "$web_page" "$logfile" 
@opts|'
++  my $pid = open my $server, qq'$ENV{FULLPERL} "$server_file" "$web_page" 
"$logfile" @opts|'
+     or croak "Couldn't spawn local server $server_file : $!";
    my $url = <$server>;
    chomp $url;
-diff -Nurd -x'*~' WWW-Mechanize-1.62.orig/t/local/follow.t 
WWW-Mechanize-1.62/t/local/follow.t
---- WWW-Mechanize-1.62.orig/t/local/follow.t   2010-04-10 22:24:38.000000000 
-0400
-+++ WWW-Mechanize-1.62/t/local/follow.t        2010-06-02 22:33:15.000000000 
-0400
+diff -Nurd -x'*~' WWW-Mechanize-1.70.orig/t/local/follow.t 
WWW-Mechanize-1.70/t/local/follow.t
+--- WWW-Mechanize-1.70.orig/t/local/follow.t   2011-08-26 13:42:17.000000000 
-0400
++++ WWW-Mechanize-1.70/t/local/follow.t        2011-08-27 13:08:27.000000000 
-0400
 @@ -2,7 +2,7 @@
  
  use warnings;
@@ -47,9 +47,9 @@
  
  ok($agent->back(), 'Can still go back');
  ok($agent->follow_link( text_regex=>qr/Stösberg/ ), q{Can follow link with 
o-umlaut, when it's encoded in the HTML, but not in "follow"});
-diff -Nurd -x'*~' WWW-Mechanize-1.62.orig/t/local/referer.t 
WWW-Mechanize-1.62/t/local/referer.t
---- WWW-Mechanize-1.62.orig/t/local/referer.t  2010-04-10 22:24:38.000000000 
-0400
-+++ WWW-Mechanize-1.62/t/local/referer.t       2010-08-09 05:00:00.000000000 
-0400
+diff -Nurd -x'*~' WWW-Mechanize-1.70.orig/t/local/referer.t 
WWW-Mechanize-1.70/t/local/referer.t
+--- WWW-Mechanize-1.70.orig/t/local/referer.t  2011-08-26 13:42:17.000000000 
-0400
++++ WWW-Mechanize-1.70/t/local/referer.t       2011-08-27 13:08:53.000000000 
-0400
 @@ -27,7 +27,7 @@
      delete $ENV{HTTP_PROXY};
  
@@ -59,9 +59,18 @@
      if ($^O eq 'VMS') {
          $command = qq'mcr $^X t/referer-server';
      }
-diff -Nurd -x'*~' WWW-Mechanize-1.62.orig/t/mech-dump/mech-dump.t 
WWW-Mechanize-1.62/t/mech-dump/mech-dump.t
---- WWW-Mechanize-1.62.orig/t/mech-dump/mech-dump.t    2010-04-10 
22:24:38.000000000 -0400
-+++ WWW-Mechanize-1.62/t/mech-dump/mech-dump.t 2010-08-09 05:00:31.000000000 
-0400
+diff -Nurd -x'*~' WWW-Mechanize-1.70.orig/t/mech-dump/mech-dump.t 
WWW-Mechanize-1.70/t/mech-dump/mech-dump.t
+--- WWW-Mechanize-1.70.orig/t/mech-dump/mech-dump.t    2011-08-26 
13:42:17.000000000 -0400
++++ WWW-Mechanize-1.70/t/mech-dump/mech-dump.t 2011-08-27 13:15:32.000000000 
-0400
+@@ -16,7 +16,7 @@
+ 
+ my $exe = File::Spec->catfile( qw( blib script mech-dump ) );
+ if ( $^O eq 'VMS' ) {
+-    $exe = qq[mcr $^X "-mblib" $exe];
++    $exe = qq[mcr $ENV{FULLPERL} "-mblib" $exe];
+ }
+ 
+ # Simply use a file: uri instead of the filename to make this test
 @@ -24,7 +24,7 @@
  my $source = 'file:t/google.html';
  


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to