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

Added Files:
        locale-maketext-lexicon-pm.info locale-maketext-fuzzy-pm.info 
        local-lib-pm.info local-lib-pm.patch cpan-pm.info 
Log Message:
to 10.7

--- NEW FILE: local-lib-pm.info ---
Info2: <<
Package: local-lib-pm%type_pkg[perl]
Version: 1.008004
Revision: 1
Source: mirror:cpan:authors/id/A/AP/APEIRON/local-lib-%v.tar.gz
Source-MD5: 6244fa9d77e818594acbaf572aece326
Type: perl (5.12.3)
BuildDepends: <<
        fink (>= 0.24.12)
<<
Depends: <<
        cpan-pm%type_pkg[perl] (>= 1.82-1),
        extutils-cbuilder-pm%type_pkg[perl] (>= 1:0.27.03-2),
        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.36-1),
        perl%type_pkg[perl]-core
<<
PatchFile: %{ni}.patch
PatchFile-MD5: 63f4226002d08ce077ea579a20369f32
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 <[email protected]>
<<

--- NEW FILE: locale-maketext-fuzzy-pm.info ---
Info2: <<
Package: locale-maketext-fuzzy-pm%type_pkg[perl]
Version: 0.10
Revision: 1
Type: perl (5.12.3)
Description: Perl module for additional localization
License: Artistic/GPL
Maintainer: Christian Schaffner <[email protected]>

# Dependencies:
Depends: perl%type_pkg[perl]-core, locale-maketext-pm%type_pkg[perl]
BuildDepends: fink (>= 0.20.1-1)
Conflicts: %N-man
Replaces: %N-man

# Unpack Phase:
Source: mirror:cpan:authors/id/A/AU/AUDREYT/Locale-Maketext-Fuzzy-%v.tar.gz
Source-MD5: ff5621abe3b6a632bdf91932b4b69513

# Install Phase:
UpdatePOD: True
DocFiles: Changes MANIFEST README SIGNATURE
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<

# Additional Info:
DescDetail: <<
Locale::Maketext::Fuzzy, a subclass of Locale::Maketext with additional support
for localizing messages that already contains interpolated variables.
<<
Homepage: http://search.cpan.org/dist/Locale-Maketext-Fuzzy/
<<

--- NEW FILE: cpan-pm.info ---
Info2: <<
Package: cpan-pm%type_pkg[perl]
Version: 1.94.02
Revision: 5
Distribution: (%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.8 5.10.0 5.12.3)
Description: Perl module to access perl modules on CPAN
License: Artistic/GPL
Maintainer: Christian Schaffner <[email protected]>

# Dependencies:
Depends: <<
        dpkg-base-files,
        (%type_pkg[perl] != 586) file-homedir-pm%type_pkg[perl] (>= 0.69-1),
        perl%type_pkg[perl]-core,
        test-harness-pm%type_pkg[perl] (>= 2.62-1),
        text-glob-pm
<<
BuildDepends: fink (>= 0.20.1-1)
Replaces: %N-doc, cpan-pm581-bin
Conflicts: %N-doc, cpan-pm581-bin
#Suggests: cpan-sqlite-pm%type_pkg[perl]
Suggests: <<
        module-build-pm%type_pkg[perl],
        module-signature-pm%type_pkg[perl]
<<

# Unpack Phase:
Source: mirror:cpan:authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz
Source-MD5: 70e43824c20cde64aa7b1b9e684b119f

CompileScript: <<
        [ %type_pkg[perl] -lt 588 ] && echo "Ignore the warning about missing 
File::HomeDir; it is not available for version of perl and cpan-pm has an 
internal work-around for it" || :
        %{default_script}
<<

# Install Phase:
UpdatePOD: True
DocFiles: Changes README Todo
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
  mv %i/bin/cpan %i/bin/cpan-%type_raw[perl]
<<
PostInstScript: <<
if [ "$1" = configure ]; then
        update-alternatives --install %p/bin/cpan cpan 
%p/bin/cpan-%type_raw[perl] %type_pkg[perl]
fi
<<
PreRmScript: <<
if [ "$1" = remove ]; then
        update-alternatives --remove cpan %p/bin/cpan-%type_raw[perl]
fi
<<

# Additional Info:
DescUsage: <<
Note: Various versions of the CPAN module may prefer to have the main
directory at ~/Library/Application Support/.cpan instead of the more
unixish ~/.cpan location. The directory itself seems the same and can
be via symlink in either direction.
<<
DescPackaging: <<
        The old cpan-pmXXX-bin packages are re-incorporated
        into the cpan-pmXXX packages as of 1.76-3/1.94.2-1.

        module-signature-pm is in section:crypto; don't Depends so we
        can keep self in section:main

        module-build-pm only used for building so not Depends for fink
        because we're a package-manager that gets confused when CPAN
        is used to install modules directly

        CPAN::SQLite doesn't seem to be in fink yet.

        file-homedir-pmXXX is not available on 5.8.6, but cpan-pmXXX
        seems to provide usable (although slightly different) fallback
        if it's not found.

        -pm586 fails self-tests (seems unrelated to missing
        File::HomeDir in that perlversion)
<<
Homepage: http://search.cpan.org/dist/CPAN/
# End of Info2
<<

--- NEW FILE: local-lib-pm.patch ---
diff -Nurd -x'*~' local-lib-1.008004.orig/Makefile.PL 
local-lib-1.008004/Makefile.PL
--- local-lib-1.008004.orig/Makefile.PL 2011-02-17 22:54:09.000000000 -0500
+++ local-lib-1.008004/Makefile.PL      2011-04-13 23:54:24.000000000 -0400
@@ -144,6 +144,7 @@
       $cpan_command .= 'force("install","CPAN"); ';
     }
     if(length $cpan_command) {
+      die("packaging error: need to overcome desire to run $cpan_command\n");
       system($^X, '-MCPAN', '-e', $cpan_config_command);
       $did_cpan_config++;
       system($^X, '-MCPAN', '-e', $cpan_command);
@@ -200,7 +201,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
@@ -242,13 +243,11 @@
 }
 
 if ($bootstrapping) {
-  auto_install_now;
   postamble <<"END";
 PERL     += $bootstrapping_args
 FULLPERL += $bootstrapping_args
 END
 } else {
-  auto_install;
 }
 chdir($cwd);
 resources(
diff -Nurd -x'*~' local-lib-1.008004.orig/t/install.t 
local-lib-1.008004/t/install.t
--- local-lib-1.008004.orig/t/install.t 2011-02-17 22:54:09.000000000 -0500
+++ local-lib-1.008004/t/install.t      2011-04-13 23:56:16.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 ($] >= 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
+        }
+    }
+    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: locale-maketext-lexicon-pm.info ---
Info2: <<
Package: locale-maketext-lexicon-pm%type_pkg[perl]
Version: 0.86
Revision: 1
Type: perl (5.12.3)
Description: Perl module providing lexicon-handling
License: OSI-Approved
Maintainer: Daniel Macks <[email protected]>

# Dependencies:
Depends: <<
        html-parser-pm%type_pkg[perl] (>= 3.56-1),
        locale-maketext-pm (>= 1.17-1),
        perl%type_pkg[perl]-core,
        ppi-pm%type_pkg[perl] (>= 1.203-1),
        template-pm%type_pkg[perl],
        yaml-pm (>= 0.66-1)
<<
BuildDepends: fink (>= 0.20.1-1)
# various former %v had splitoffs for various components; now monolithic
Conflicts: %N-man, %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin
Replaces: %N-man, %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin

# Unpack Phase:
Source: mirror:cpan:authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-%v.tar.gz
Source-MD5: c21d481b23f0848cdb92d1fb5aaf29ff

# Install Phase:
UpdatePOD: True
DocFiles: AUTHORS Changes LICENSE README
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
        mv %i/bin/xgettext.pl %i/bin/xgettext.pl-%type_pkg[perl]
<<

PostInstScript: <<
        update-alternatives --install %p/bin/xgettext.pl xgettext.pl 
%p/bin/xgettext.pl-%type_pkg[perl] %type_pkg[perl]
<<

PreRmScript: <<
        update-alternatives --remove xgettext.pl 
%p/bin/xgettext.pl-%type_pkg[perl]
<<

# Additional Info:
DescDetail: <<
Locale::Maketext::Lexicon, a module providing lexicon-handling backends, for
"Locale::Maketext" to read from other localization formats, such as PO files,
MO files, or from databases via the "Tie" interface.

For extracting translatable strings from source files, a "xgettext.pl" utility
is also installed by default.

You can also read my presentation "Web Localization in Perl" online at
http://www.autrijus.org/webl10n/. It gives an overview for the localization
process, features a comparison between Gettext, Msgcat and Maketext, and talks
about my experiences at localizing web applications based on HTML::Mason and
the Template Toolkit.
<<
DescPackaging: <<
        Former Maintainer: Christian Schaffner <[email protected]>
<<
Homepage: http://search.cpan.org/dist/Locale-Maketext-Lexicon/
<<


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to