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

Added Files:
        capture-tiny-pm.info local-lib-pm.info local-lib-pm.patch 
        local-lib-pm5100+.patch local-lib-pm5100.info 
Log Message:
new packages


--- NEW FILE: local-lib-pm.info ---
Info2: <<
Package: local-lib-pm%type_pkg[perl]
Version: 1.006005
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, 
(%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6
Source: mirror:cpan:authors/id/G/GE/GETTY/local-lib-%v.tar.gz
Source-MD5: ab715339d5595c2c738144e10b7a9684
Type: perl (5.8.6 5.8.8)
BuildDepends: <<
        fink (>= 0.24.12)
<<
Depends: <<
        cpan-pm%type_pkg[perl] (>= 1.82-1),
        extutils-cbuilder-pm,
        extutils-install-pm (>= 1.43-1),
        extutils-makemaker-pm%type_pkg[perl] (>= 6.31-1),
        extutils-parsexs-pm,
        module-build-pm%type_pkg[perl] (>= 0.28-1),
        perl%type_pkg[perl]-core
<<
PatchFile: %{ni}.patch
PatchFile-MD5: 1b837da7ce965d5e4107330d430c94b3
PatchScript: <<
        %{default_script}
        perl -0 -pe's/^.*=head\d\s+(Support.*)$/$1/is' lib/local/lib.pm > README
<<
InfoTest: <<
        TestDepends: <<
                capture-tiny-pm%type_pkg[perl]
        <<
<<
InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
UpdatePOD: True
DocFiles: Changes README
DescPackaging: <<
        Nuke a ton of stuff from Makefile.PL that is inappropriate for
        a packaging-system-driven build.
<<
Description: Manage private collection of libs vs global
License: Artistic/GPL
Homepage: http://search.cpan.org/dist/local-lib/
Maintainer: Daniel Macks <dma...@netspace.org>
<<

--- NEW FILE: local-lib-pm5100.info ---
Info2: <<
Package: local-lib-pm%type_pkg[perl]
Version: 1.006005
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, 
(%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6
Source: mirror:cpan:authors/id/G/GE/GETTY/local-lib-%v.tar.gz
Source-MD5: ab715339d5595c2c738144e10b7a9684
Type: perl 5.10.0
BuildDepends: <<
        fink (>= 0.24.12)
<<
Depends: <<
        cpan-pm%type_pkg[perl] (>= 1.82-1),
        extutils-cbuilder-pm,
        extutils-install-pm (>= 1.43-1),
        extutils-makemaker-pm%type_pkg[perl] (>= 6.31-1),
        extutils-parsexs-pm,
        module-build-pm%type_pkg[perl] (>= 0.28-1),
        perl%type_pkg[perl]-core
<<
PatchFile: %{ni}5100+.patch
PatchFile-MD5: 47b65baf825f8c299d9392a6db63b080
PatchScript: <<
        %{default_script}
        perl -0 -pe's/^.*=head\d\s+(Support.*)$/$1/is' lib/local/lib.pm > README
<<
InfoTest: <<
        TestDepends: <<
                capture-tiny-pm%type_pkg[perl]
        <<
<<
InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
UpdatePOD: True
DocFiles: Changes README
DescPackaging: <<
        Nuke a ton of stuff from Makefile.PL that is inappropriate for
        a packaging-system-driven build.
<<
DescPort: <<
        Hack test suite to enforce correct single-arch from fat perl
        interp for spawned perl script (see test-harness-pmXXX).
<<
Description: Manage private collection of libs vs global
License: Artistic/GPL
Homepage: http://search.cpan.org/dist/local-lib/
Maintainer: Daniel Macks <dma...@netspace.org>
<<

--- NEW FILE: local-lib-pm.patch ---
diff -Nurd -x'*~' local-lib-1.006005.orig/Makefile.PL 
local-lib-1.006005/Makefile.PL
--- local-lib-1.006005.orig/Makefile.PL 2010-06-08 19:01:42.000000000 -0400
+++ local-lib-1.006005/Makefile.PL      2010-08-01 03:20:30.000000000 -0400
@@ -192,7 +192,7 @@
 
 # and make sure that the user doesn't have any existing CPAN config that'll
 # cause us problems for the next few steps.
-{
+if (0) {
     local $@;
     eval { require CPAN::HandleConfig; };
     # Need newish CPAN.pm for this, ergo skip it if that version of CPAN isn't
@@ -232,13 +232,11 @@
 }
 
 if ($bootstrapping) {
-  auto_install_now;
   postamble <<"END";
 PERL     += $bootstrapping_args
 FULLPERL += $bootstrapping_args
 END
 } else {
-  auto_install;
 }
 chdir($cwd);
 WriteAll;

--- NEW FILE: local-lib-pm5100+.patch ---
diff -Nurd -x'*~' local-lib-1.006005.orig/Makefile.PL 
local-lib-1.006005/Makefile.PL
--- local-lib-1.006005.orig/Makefile.PL 2010-06-08 19:01:42.000000000 -0400
+++ local-lib-1.006005/Makefile.PL      2010-08-01 03:20:30.000000000 -0400
@@ -192,7 +192,7 @@
 
 # and make sure that the user doesn't have any existing CPAN config that'll
 # cause us problems for the next few steps.
-{
+if (0) {
     local $@;
     eval { require CPAN::HandleConfig; };
     # Need newish CPAN.pm for this, ergo skip it if that version of CPAN isn't
@@ -232,13 +232,11 @@
 }
 
 if ($bootstrapping) {
-  auto_install_now;
   postamble <<"END";
 PERL     += $bootstrapping_args
 FULLPERL += $bootstrapping_args
 END
 } else {
-  auto_install;
 }
 chdir($cwd);
 WriteAll;
diff -Nurd -x'*~' local-lib-1.006005.orig/t/install.t 
local-lib-1.006005/t/install.t
--- local-lib-1.006005.orig/t/install.t 2010-06-08 19:01:42.000000000 -0400
+++ local-lib-1.006005/t/install.t      2010-08-01 03:41:25.000000000 -0400
@@ -19,16 +19,32 @@
 my $orig_dir = cwd;
 SKIP: for my $dist_type (qw(EUMM MB)) {
   chdir File::Spec->catdir($orig_dir, qw(t dist), $dist_type);
+    my @command;
+    if ($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
+        }
+    }
+    push @command, $^X;
+
   if ($dist_type eq 'EUMM') {
     my ($stdout, $stderr) = capture { eval { 
-      system($^X, 'Makefile.PL') && die "Makefile.PL failed";
+      system(@command, 'Makefile.PL') && die "Makefile.PL failed";
       system($Config{make}, 'install') && die "$Config{make} install failed";
     } };
     diag $stdout, $stderr if $@;
   } else {
     my ($stdout, $stderr) = capture { eval {
-      system($^X, 'Build.PL') && die "Build.PL failed";
-      system($^X, 'Build', 'install') && die "Build install failed";
+      system(@command, 'Build.PL') && die "Build.PL failed";
+      system(@command, 'Build', 'install') && die "Build install failed";
     } };
     diag $stdout, $stderr if $@;
   }

--- NEW FILE: capture-tiny-pm.info ---
Info2: <<
Package: capture-tiny-pm%type_pkg[perl]
Version: 0.08
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, 
(%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6
Source: mirror:cpan:authors/id/D/DA/DAGOLDEN/Capture-Tiny-%v.tar.gz
Source-MD5: dadea406a04a114b31a9248772b8c136
Type: perl (5.8.6 5.8.8 5.10.0)
Depends: <<
        perl%type_pkg[perl]-core
<<
InfoTest: <<
        TestDepends: <<
                test-simple-pm%type_pkg[perl]
        <<
<<
InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
UpdatePOD: True
DocFiles: Changes LICENSE README Todo
Description: Capture STDOUT and STDERR output streams
License: BSD
Homepage: http://search.cpan.org/dist/Capture-Tiny/
Maintainer: Daniel Macks <dma...@netspace.org>
<<


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to