Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv6317

Modified Files:
        www-mechanize-pm.info www-mechanize-pm.patch 
Log Message:
new version; reincorporate -bin via u-a


Index: www-mechanize-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/www-mechanize-pm.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- www-mechanize-pm.info       3 Jun 2010 07:17:46 -0000       1.12
+++ www-mechanize-pm.info       3 Jun 2010 16:08:43 -0000       1.13
@@ -1,7 +1,7 @@
 Info2: <<
 Package: www-mechanize-pm%type_pkg[perl]
-Version: 1.54
-Revision: 1
+Version: 1.62
+Revision: 2
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5
 Type: perl (5.8.1 5.8.4 5.8.6 5.8.8)
@@ -14,28 +14,32 @@
  perl%type_pkg[perl]-core,
  yaml-pm (>= 0.38-1),
  libwww-pm%type_pkg[perl],
+ html-parser-pm%type_pkg[perl],
  html-tagset-pm,
- http-server-simple-pm,
+ 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
 <<
-Replaces: %{Ni}
+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: 27257ee2a33348df181c866d865925fb
-SourceDirectory: WWW-Mechanize-%v
+Source-MD5: 119c74ce2508ae578e95fb2fcafa10b4
 
 # Patch Phase:
 PatchFile: %{Ni}.patch
-PatchFile-MD5: d3205ed7a109f70b2f2adf6f2ed614c4
+PatchFile-MD5: fbb6306016f323c975939bb8d7be71ca
 
 # Compile Phase:
 CompileScript: <<
@@ -44,17 +48,21 @@
 
 # Install Phase:
 UpdatePOD: true
-DocFiles: Changes MANIFEST
+DocFiles: Changes
 InstallScript: <<
  %{default_script}
   mv %i/share/man %i/lib/perl5/%type_raw[perl]
+  mv %i/bin/mech-dump %i/bin/mech-dump-%type_raw[perl]
 <<
-SplitOff: <<
- Package: %N-bin
- Depends: %N (= %v-%r)
- Conflicts: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin
- Replaces: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin
- Files: bin
+PostInstScript: <<
+if [ "$1" = configure ]; then
+       update-alternatives --install %p/bin/mech-dump mech-dump 
%p/bin/cpan-%type_raw[perl] %type_pkg[perl]
+fi
+<<
+PreRmScript: <<
+if [ "$1" = remove ]; then
+       update-alternatives --remove mech-dump %p/bin/mech-dump-%type_raw[perl]
+fi
 <<
 
 # Additional Info:
@@ -66,6 +74,10 @@
  Removed one test that fails due to special characters.
  
  Earlier versions by Ben Hines.
+
+       The old www-mechanize-pmXXX-bin packages are re-incorporated
+       into the www-mechanize-pmXXX packages as of 1.62-2
+
 <<
 Homepage: http://search.cpan.org/dist/WWW-Mechanize/
 

Index: www-mechanize-pm.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/www-mechanize-pm.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- www-mechanize-pm.patch      3 Jun 2010 07:17:47 -0000       1.3
+++ www-mechanize-pm.patch      3 Jun 2010 16:08:43 -0000       1.4
@@ -1,16 +1,16 @@
-diff -Naur WWW-Mechanize-1.22_orig/t/local/follow.t 
WWW-Mechanize-1.22/t/local/follow.t
---- WWW-Mechanize-1.22_orig/t/local/follow.t   2007-04-03 14:21:49.000000000 
+0200
-+++ WWW-Mechanize-1.22/t/local/follow.t        2007-04-03 14:21:55.000000000 
+0200
-@@ -3,7 +3,7 @@
+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
+@@ -2,7 +2,7 @@
  
  use warnings;
  use strict;
--use Test::More tests => 21;
-+use Test::More tests => 18;
+-use Test::More tests => 22;
++use Test::More tests => 19;
  use lib 't/local';
  use LocalServer;
- 
-@@ -36,9 +36,9 @@
+ use encoding 'iso-8859-1';
+@@ -41,9 +41,9 @@
  ok($agent->follow_link( text => 'Link /foo' ), 'Can follow obvious named 
link');
  isnt( $agent->uri, $server->url, 'Need to be on a separate page' );
  
@@ -22,4 +22,4 @@
 +#isnt( $agent->uri, $server->url, 'Need to be on a separate page' );
  
  ok($agent->back(), 'Can still go back');
- ok($agent->follow_link( text_regex=>qr/Stösberg/ ), "Can follow link with 
o-umlaut, when it's encoded in the HTML, but not in 'follow'");
+ 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"});


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to