Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv28642

Modified Files:
        html-scrubber-pm.info 
Added Files:
        html-scrubber-pm.patch 
Log Message:
new version


Index: html-scrubber-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/html-scrubber-pm.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- html-scrubber-pm.info       21 Jul 2011 21:28:59 -0000      1.10
+++ html-scrubber-pm.info       31 Aug 2011 06:58:15 -0000      1.11
@@ -1,7 +1,7 @@
 Info2: <<
 Package: html-scrubber-pm%type_pkg[perl]
-Version: 0.08
-Revision: 3
+Version: 0.09
+Revision: 1
 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_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
 Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0 5.12.3)
@@ -11,17 +11,28 @@
 
 # Dependencies:
 Depends: perl%type_pkg[perl]-core, html-parser-pm%type_pkg[perl]
-BuildDepends: fink (>= 0.20.1-1)
+BuildDepends: <<
+       fink (>= 0.24.12),
+       test-pm,
+       test-simple-pm%type_pkg[perl] (>= 0.94-1)
+<<
 Conflicts: %N-man
 Replaces: %N-man
 
 # Unpack Phase:
-Source: mirror:cpan:authors/id/P/PO/PODMASTER/HTML-Scrubber-%v.tar.gz
-Source-MD5: abadf246e528f3e2d31717ef8a1d90f2
+Source: mirror:cpan:authors/id/N/NI/NIGELM/HTML-Scrubber-%v.tar.gz
+Source-MD5: a0f7bd0a29a4c7b1bec5495ad9bfb00e
+
+PatchFile: %{ni}.patch
+PatchFile-MD5: ceb71fcb07248fef511e8ed5ffdd1e89
+
+InfoTest: <<
+       TestDepends: test-script-pm
+<<
 
 # Install Phase:
 UpdatePOD: True
-DocFiles: Changes MANIFEST README
+DocFiles: Changes README
 InstallScript: <<
   %{default_script}
   mv %i/share/man %i/lib/perl5/%type_raw[perl]

--- NEW FILE: html-scrubber-pm.patch ---
diff -Nurd -x'*~' HTML-Scrubber-0.09.orig/t/00-compile.t 
HTML-Scrubber-0.09/t/00-compile.t
--- HTML-Scrubber-0.09.orig/t/00-compile.t      2011-04-01 11:35:55.000000000 
-0400
+++ HTML-Scrubber-0.09/t/00-compile.t   2011-08-31 02:56:10.000000000 -0400
@@ -9,6 +9,7 @@
 
 use File::Find;
 use File::Temp qw{ tempdir };
+use Config;
 
 my @modules;
 find(
@@ -33,7 +34,21 @@
     # fake home for cpan-testers
     # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
 
-    like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ 
loaded ok" )
+    my @command;
+    if ($] >= 5.010 && $Config{"byteorder"} =~ /^1/) {
+        # little-endian means intel (not powerpc), for which fink has
+        # multiple single-arch distros that are seen by a single (fat)
+        # perl interp from apple for a perl version supported by fink
+        # (i.e., starting with 5.10.0). This is the logic taken from
+        # Fink::PkgVersion as of fink-0.29.13.
+        push @command, '/usr/bin/arch';
+        if ( $Config{"longsize"} == 4 ) {
+            push @command, '-i386';   # 32-bit
+        } else {
+            push @command, '-x86_64'; # 64-bit
+        }
+    }
+    like( qx{ @command $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ 
ok/s, "$_ loaded ok" )
         for sort @modules;
 
     SKIP: {


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to