r67678 - in /trunk/libextutils-cbuilder-perl: ./ debian/ lib/ExtUtils/ lib/ExtUtils/CBuilder/ lib/ExtUtils/CBuilder/Platform/ lib/ExtUtils/CBuilder/Platform/Windows/ t/ xt/

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Sat Jan 22 13:36:23 UTC 2011


Author: angelabad-guest
Date: Sat Jan 22 13:36:14 2011
New Revision: 67678

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67678
Log:
* New upstream release
* debian/libextutils-cbuilder-perl.docs: Add README.patching file
* debian/copyright: Update copyright years

Added:
    trunk/libextutils-cbuilder-perl/LICENSE
      - copied unchanged from r67672, branches/upstream/libextutils-cbuilder-perl/current/LICENSE
    trunk/libextutils-cbuilder-perl/META.json
      - copied unchanged from r67672, branches/upstream/libextutils-cbuilder-perl/current/META.json
    trunk/libextutils-cbuilder-perl/README.patching
      - copied unchanged from r67672, branches/upstream/libextutils-cbuilder-perl/current/README.patching
    trunk/libextutils-cbuilder-perl/debian/libextutils-cbuilder-perl.docs
    trunk/libextutils-cbuilder-perl/dist.ini
      - copied unchanged from r67672, branches/upstream/libextutils-cbuilder-perl/current/dist.ini
    trunk/libextutils-cbuilder-perl/xt/
      - copied from r67672, branches/upstream/libextutils-cbuilder-perl/current/xt/
Removed:
    trunk/libextutils-cbuilder-perl/INSTALL
Modified:
    trunk/libextutils-cbuilder-perl/Changes
    trunk/libextutils-cbuilder-perl/MANIFEST
    trunk/libextutils-cbuilder-perl/META.yml
    trunk/libextutils-cbuilder-perl/Makefile.PL
    trunk/libextutils-cbuilder-perl/README
    trunk/libextutils-cbuilder-perl/debian/changelog
    trunk/libextutils-cbuilder-perl/debian/control
    trunk/libextutils-cbuilder-perl/debian/copyright
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
    trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm
    trunk/libextutils-cbuilder-perl/t/04-base.t

Modified: trunk/libextutils-cbuilder-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/Changes?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/Changes (original)
+++ trunk/libextutils-cbuilder-perl/Changes Sat Jan 22 13:36:14 2011
@@ -1,4 +1,13 @@
 Revision history for Perl extension ExtUtils::CBuilder.
+
+0.280201 - Fri Jan 21 15:16:36 EST 2011
+
+  Fixed:
+
+  - t/04-base.t no longer attempt to compile or link as this provokes
+    failures on main platforms
+
+  - Various typo fixes in Pod or comments
 
 0.2802 - Sun Dec 12 07:22:43 EST 2010
 

Modified: trunk/libextutils-cbuilder-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/MANIFEST?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/MANIFEST (original)
+++ trunk/libextutils-cbuilder-perl/MANIFEST Sat Jan 22 13:36:14 2011
@@ -1,24 +1,29 @@
 Changes
-INSTALL
+LICENSE
+MANIFEST
+META.json
+META.yml
+Makefile.PL
+README
+README.patching
+dist.ini
 lib/ExtUtils/CBuilder.pm
 lib/ExtUtils/CBuilder/Base.pm
-lib/ExtUtils/CBuilder/Platform/aix.pm
-lib/ExtUtils/CBuilder/Platform/cygwin.pm
-lib/ExtUtils/CBuilder/Platform/darwin.pm
-lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-lib/ExtUtils/CBuilder/Platform/os2.pm
 lib/ExtUtils/CBuilder/Platform/Unix.pm
 lib/ExtUtils/CBuilder/Platform/VMS.pm
 lib/ExtUtils/CBuilder/Platform/Windows.pm
 lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
 lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
 lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
-Makefile.PL
-MANIFEST			This list of files
-META.yml
-README
+lib/ExtUtils/CBuilder/Platform/aix.pm
+lib/ExtUtils/CBuilder/Platform/cygwin.pm
+lib/ExtUtils/CBuilder/Platform/darwin.pm
+lib/ExtUtils/CBuilder/Platform/dec_osf.pm
+lib/ExtUtils/CBuilder/Platform/os2.pm
 t/00-have-compiler.t
 t/01-basic.t
 t/02-link.t
 t/03-cplusplus.t
 t/04-base.t
+xt/release/eol.t
+xt/release/pod-syntax.t

Modified: trunk/libextutils-cbuilder-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/META.yml?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/META.yml (original)
+++ trunk/libextutils-cbuilder-perl/META.yml Sat Jan 22 13:36:14 2011
@@ -1,55 +1,19 @@
 ---
 abstract: 'Compile and link C code for Perl modules'
 author:
-  - 'Ken Williams, kwilliams at cpan.org'
+  - 'Ken Williams <kwilliams at cpan.org>'
+  - 'The Perl 5 Porters'
 build_requires:
   Test::More: 0.47
-generated_by: 'Module::Build version 0.362'
+configure_requires:
+  ExtUtils::MakeMaker: 6.31
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200001, CPAN::Meta::Converter version 2.102400'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: ExtUtils-CBuilder
-provides:
-  ExtUtils::CBuilder:
-    file: lib/ExtUtils/CBuilder.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Base:
-    file: lib/ExtUtils/CBuilder/Base.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::Unix:
-    file: lib/ExtUtils/CBuilder/Platform/Unix.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::VMS:
-    file: lib/ExtUtils/CBuilder/Platform/VMS.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::Windows:
-    file: lib/ExtUtils/CBuilder/Platform/Windows.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::Windows::BCC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::Windows::GCC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::Windows::MSVC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::aix:
-    file: lib/ExtUtils/CBuilder/Platform/aix.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::cygwin:
-    file: lib/ExtUtils/CBuilder/Platform/cygwin.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::darwin:
-    file: lib/ExtUtils/CBuilder/Platform/darwin.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::dec_osf:
-    file: lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-    version: 0.2802
-  ExtUtils::CBuilder::Platform::os2:
-    file: lib/ExtUtils/CBuilder/Platform/os2.pm
-    version: 0.2802
 requires:
   Cwd: 0
   File::Basename: 0
@@ -59,6 +23,134 @@
   IPC::Cmd: 0
   Text::ParseWords: 0
 resources:
-  license: http://dev.perl.org/licenses/
+  bugtracker: http://rt.perl.org/rt3/
+  homepage: http://search.cpan.org/dist/ExtUtils-CBuilder
   repository: git://github.com/dagolden/extutils-cbuilder.git
-version: 0.2802
+version: 0.280201
+x_Dist_Zilla:
+  plugins:
+    -
+      class: Dist::Zilla::Plugin::CheckExtraTests
+      name: CheckExtraTests
+      version: 0.004
+    -
+      class: Dist::Zilla::Plugin::CheckChangesHasContent
+      name: CheckChangesHasContent
+      version: 0.003
+    -
+      class: Dist::Zilla::Plugin::GatherDir
+      name: '@Filter/GatherDir'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::PruneCruft
+      name: '@Filter/PruneCruft'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::ManifestSkip
+      name: '@Filter/ManifestSkip'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::MetaYAML
+      name: '@Filter/MetaYAML'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::License
+      name: '@Filter/License'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::Readme
+      name: '@Filter/Readme'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::ExecDir
+      name: '@Filter/ExecDir'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::ShareDir
+      name: '@Filter/ShareDir'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::MakeMaker
+      name: '@Filter/MakeMaker'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::Manifest
+      name: '@Filter/Manifest'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::TestRelease
+      name: '@Filter/TestRelease'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::ConfirmRelease
+      name: '@Filter/ConfirmRelease'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::UploadToCPAN
+      name: '@Filter/UploadToCPAN'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::PruneFiles
+      name: PruneFiles
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::DualLife
+      name: DualLife
+      version: 0.01
+    -
+      class: Dist::Zilla::Plugin::MetaConfig
+      name: MetaConfig
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::MetaJSON
+      name: MetaJSON
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::PodSyntaxTests
+      name: PodSyntaxTests
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::EOLTests
+      name: EOLTests
+      version: 0.02
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: runtime
+          type: requires
+      name: Prereqs
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: test
+          type: requires
+      name: TestRequires
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::MetaResources
+      name: MetaResources
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':InstallModules'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':TestFiles'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ExecFiles'
+      version: 4.200001
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ShareFiles'
+      version: 4.200001
+  zilla:
+    class: Dist::Zilla::Dist::Builder
+    config:
+      is_trial: 0
+    version: 4.200001

Modified: trunk/libextutils-cbuilder-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/Makefile.PL?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/Makefile.PL (original)
+++ trunk/libextutils-cbuilder-perl/Makefile.PL Sat Jan 22 13:36:14 2011
@@ -1,21 +1,62 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.36_20
-use ExtUtils::MakeMaker;
-WriteMakefile
-(
+
+use strict;
+use warnings;
+
+
+
+use ExtUtils::MakeMaker 6.31;
+
+
+
+my %WriteMakefileArgs = (
+  'ABSTRACT' => 'Compile and link C code for Perl modules',
+  'AUTHOR' => 'Ken Williams <kwilliams at cpan.org>, The Perl 5 Porters',
+  'BUILD_REQUIRES' => {
+    'Test::More' => '0.47'
+  },
+  'CONFIGURE_REQUIRES' => {
+    'ExtUtils::MakeMaker' => '6.31'
+  },
+  'DISTNAME' => 'ExtUtils-CBuilder',
+  'EXE_FILES' => [],
+  'LICENSE' => 'perl',
   'NAME' => 'ExtUtils::CBuilder',
-  'VERSION_FROM' => 'lib/ExtUtils/CBuilder.pm',
   'PREREQ_PM' => {
-                   'Cwd' => 0,
-                   'File::Basename' => 0,
-                   'File::Spec' => '3.13',
-                   'File::Temp' => 0,
-                   'IO::File' => 0,
-                   'IPC::Cmd' => 0,
-                   'Test::More' => '0.47',
-                   'Text::ParseWords' => 0
-                 },
-  'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
-  'EXE_FILES' => [],
-  'PL_FILES' => {}
-)
-;
+    'Cwd' => '0',
+    'File::Basename' => '0',
+    'File::Spec' => '3.13',
+    'File::Temp' => '0',
+    'IO::File' => '0',
+    'IPC::Cmd' => '0',
+    'Text::ParseWords' => '0'
+  },
+  'VERSION' => '0.280201',
+  'test' => {
+    'TESTS' => 't/*.t'
+  }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+  my $pp = $WriteMakefileArgs{PREREQ_PM};
+  for my $mod ( keys %$br ) {
+    if ( exists $pp->{$mod} ) {
+      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+    }
+    else {
+      $pp->{$mod} = $br->{$mod};
+    }
+  }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+$WriteMakefileArgs{INSTALLDIRS} = 'perl'
+    if $] >= 5.009005 && $] <= 5.011000;
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+

Modified: trunk/libextutils-cbuilder-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/README?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/README (original)
+++ trunk/libextutils-cbuilder-perl/README Sat Jan 22 13:36:14 2011
@@ -1,196 +1,13 @@
-NAME
-    ExtUtils::CBuilder - Compile and link C code for Perl modules
 
-SYNOPSIS
-      use ExtUtils::CBuilder;
 
-      my $b = ExtUtils::CBuilder->new(%options);
-      $obj_file = $b->compile(source => 'MyModule.c');
-      $lib_file = $b->link(objects => $obj_file);
+This archive contains the distribution ExtUtils-CBuilder,
+version 0.280201:
 
-DESCRIPTION
-    This module can build the C portions of Perl modules by invoking the
-    appropriate compilers and linkers in a cross-platform manner. It was
-    motivated by the "Module::Build" project, but may be useful for other
-    purposes as well. However, it is *not* intended as a general
-    cross-platform interface to all your C building needs. That would have
-    been a much more ambitious goal!
+  Compile and link C code for Perl modules
 
-METHODS
-    new Returns a new "ExtUtils::CBuilder" object. A "config" parameter lets
-        you override "Config.pm" settings for all operations performed by
-        the object, as in the following example:
+This software is copyright (c) 2011 by Ken Williams.
 
-          # Use a different compiler than Config.pm says
-          my $b = ExtUtils::CBuilder->new( config =>
-                                           { ld => 'gcc' } );
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
 
-        A "quiet" parameter tells "CBuilder" to not print its "system()"
-        commands before executing them:
 
-          # Be quieter than normal
-          my $b = ExtUtils::CBuilder->new( quiet => 1 );
-
-    have_compiler
-        Returns true if the current system has a working C compiler and
-        linker, false otherwise. To determine this, we actually compile and
-        link a sample C library. The sample will be compiled in the system
-        tempdir or, if that fails for some reason, in the current directory.
-
-    have_cplusplus
-        Just like have_compiler but for C++ instead of C.
-
-    compile
-        Compiles a C source file and produces an object file. The name of
-        the object file is returned. The source file is specified in a
-        "source" parameter, which is required; the other parameters listed
-        below are optional.
-
-        "object_file"
-            Specifies the name of the output file to create. Otherwise the
-            "object_file()" method will be consulted, passing it the name of
-            the "source" file.
-
-        "include_dirs"
-            Specifies any additional directories in which to search for
-            header files. May be given as a string indicating a single
-            directory, or as a list reference indicating multiple
-            directories.
-
-        "extra_compiler_flags"
-            Specifies any additional arguments to pass to the compiler.
-            Should be given as a list reference containing the arguments
-            individually, or if this is not possible, as a string containing
-            all the arguments together.
-
-        "C++"
-            Specifies that the source file is a C++ source file and sets
-            appropriate compiler flags
-
-        The operation of this method is also affected by the "archlibexp",
-        "cccdlflags", "ccflags", "optimize", and "cc" entries in
-        "Config.pm".
-
-    link
-        Invokes the linker to produce a library file from object files. In
-        scalar context, the name of the library file is returned. In list
-        context, the library file and any temporary files created are
-        returned. A required "objects" parameter contains the name of the
-        object files to process, either in a string (for one object file) or
-        list reference (for one or more files). The following parameters are
-        optional:
-
-        lib_file
-            Specifies the name of the output library file to create.
-            Otherwise the "lib_file()" method will be consulted, passing it
-            the name of the first entry in "objects".
-
-        module_name
-            Specifies the name of the Perl module that will be created by
-            linking. On platforms that need to do prelinking (Win32, OS/2,
-            etc.) this is a required parameter.
-
-        extra_linker_flags
-            Any additional flags you wish to pass to the linker.
-
-        On platforms where "need_prelink()" returns true, "prelink()" will
-        be called automatically.
-
-        The operation of this method is also affected by the "lddlflags",
-        "shrpenv", and "ld" entries in "Config.pm".
-
-    link_executable
-        Invokes the linker to produce an executable file from object files.
-        In scalar context, the name of the executable file is returned. In
-        list context, the executable file and any temporary files created
-        are returned. A required "objects" parameter contains the name of
-        the object files to process, either in a string (for one object
-        file) or list reference (for one or more files). The optional
-        parameters are the same as "link" with exception for
-
-        exe_file
-            Specifies the name of the output executable file to create.
-            Otherwise the "exe_file()" method will be consulted, passing it
-            the name of the first entry in "objects".
-
-    object_file
-         my $object_file = $b->object_file($source_file);
-
-        Converts the name of a C source file to the most natural name of an
-        output object file to create from it. For instance, on Unix the
-        source file foo.c would result in the object file foo.o.
-
-    lib_file
-         my $lib_file = $b->lib_file($object_file);
-
-        Converts the name of an object file to the most natural name of a
-        output library file to create from it. For instance, on Mac OS X the
-        object file foo.o would result in the library file foo.bundle.
-
-    exe_file
-         my $exe_file = $b->exe_file($object_file);
-
-        Converts the name of an object file to the most natural name of an
-        executable file to create from it. For instance, on Mac OS X the
-        object file foo.o would result in the executable file foo, and on
-        Windows it would result in foo.exe.
-
-    prelink
-        On certain platforms like Win32, OS/2, VMS, and AIX, it is necessary
-        to perform some actions before invoking the linker. The
-        "ExtUtils::Mksymlists" module does this, writing files used by the
-        linker during the creation of shared libraries for dynamic
-        extensions. The names of any files written will be returned as a
-        list.
-
-        Several parameters correspond to
-        "ExtUtils::Mksymlists::Mksymlists()" options, as follows:
-
-            Mksymlists()   prelink()          type
-           -------------|-------------------|-------------------
-            NAME        |  dl_name          | string (required)
-            DLBASE      |  dl_base          | string
-            FILE        |  dl_file          | string
-            DL_VARS     |  dl_vars          | array reference
-            DL_FUNCS    |  dl_funcs         | hash reference
-            FUNCLIST    |  dl_func_list     | array reference
-            IMPORTS     |  dl_imports       | hash reference
-            VERSION     |  dl_version       | string
-
-        Please see the documentation for "ExtUtils::Mksymlists" for the
-        details of what these parameters do.
-
-    need_prelink
-        Returns true on platforms where "prelink()" should be called during
-        linking, and false otherwise.
-
-    extra_link_args_after_prelink
-        Returns list of extra arguments to give to the link command; the
-        arguments are the same as for prelink(), with addition of array
-        reference to the results of prelink(); this reference is indexed by
-        key "prelink_res".
-
-TO DO
-    Currently this has only been tested on Unix and doesn't contain any of
-    the Windows-specific code from the "Module::Build" project. I'll do that
-    next.
-
-HISTORY
-    This module is an outgrowth of the "Module::Build" project, to which
-    there have been many contributors. Notably, Randy W. Sims submitted lots
-    of code to support 3 compilers on Windows and helped with various other
-    platform-specific issues. Ilya Zakharevich has contributed fixes for
-    OS/2; John E. Malmberg and Peter Prymmer have done likewise for VMS.
-
-AUTHOR
-    Ken Williams, kwilliams at cpan.org
-
-COPYRIGHT
-    Copyright (c) 2003-2005 Ken Williams. All rights reserved.
-
-    This library is free software; you can redistribute it and/or modify it
-    under the same terms as Perl itself.
-
-SEE ALSO
-    perl(1), Module::Build(3)
-

Modified: trunk/libextutils-cbuilder-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/changelog?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/changelog (original)
+++ trunk/libextutils-cbuilder-perl/debian/changelog Sat Jan 22 13:36:14 2011
@@ -1,3 +1,11 @@
+libextutils-cbuilder-perl (0.280201-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/libextutils-cbuilder-perl.docs: Add README.patching file
+  * debian/copyright: Update copyright years
+
+ -- Angel Abad <angelabad at gmail.com>  Sat, 22 Jan 2011 14:36:00 +0100
+
 libextutils-cbuilder-perl (0.2802-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libextutils-cbuilder-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/control?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/control (original)
+++ trunk/libextutils-cbuilder-perl/debian/control Sat Jan 22 13:36:14 2011
@@ -4,8 +4,10 @@
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Damyan Ivanov <dmn at debian.org>, gregor herrmann <gregoa at debian.org>,
- Nathan Handler <nhandler at ubuntu.com>, Jonathan Yu <jawnsy at cpan.org>,
+Uploaders: Damyan Ivanov <dmn at debian.org>,
+ gregor herrmann <gregoa at debian.org>,
+ Nathan Handler <nhandler at ubuntu.com>,
+ Jonathan Yu <jawnsy at cpan.org>,
  Angel Abad <angelabad at gmail.com>
 Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/ExtUtils-CBuilder/

Modified: trunk/libextutils-cbuilder-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/copyright?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/copyright (original)
+++ trunk/libextutils-cbuilder-perl/debian/copyright Sat Jan 22 13:36:14 2011
@@ -4,17 +4,17 @@
 Name: ExtUtils-CBuilder
 
 Files: *
-Copyright: 2003-2005, Ken Williams <kwilliams at cpan.org>
+Copyright: 2003-2011, Ken Williams <kwilliams at cpan.org>
 License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: 2005, Chip Salzenberg <chip at debian.org>
  2006, Florian Ragwitz <rafl at debian.org>
- 2008-2009, Damyan Ivanov <dmn at debian.org>
+ 2008, 2009, Damyan Ivanov <dmn at debian.org>
  2008, gregor herrmann <gregoa at debian.org>
- 2009-2010, Jonathan Yu <jawnsy at cpan.org>
+ 2009, 2010, Jonathan Yu <jawnsy at cpan.org>
  2009, Nathan Handler <nhandler at ubuntu.com>
- 2010, Angel Abad <angelabad at gmail.com>
+ 2010, 2011, Angel Abad <angelabad at gmail.com>
 License: Artistic or GPL-1+
 
 License: Artistic
@@ -30,5 +30,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian systems, the complete text of version 1 of the General
+ On Debian systems, the complete text of version 1 of the GNU General
  Public License can be found in `/usr/share/common-licenses/GPL-1'.

Added: trunk/libextutils-cbuilder-perl/debian/libextutils-cbuilder-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/libextutils-cbuilder-perl.docs?rev=67678&op=file
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/libextutils-cbuilder-perl.docs (added)
+++ trunk/libextutils-cbuilder-perl/debian/libextutils-cbuilder-perl.docs Sat Jan 22 13:36:14 2011
@@ -1,0 +1,1 @@
+README.patching

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm Sat Jan 22 13:36:14 2011
@@ -5,7 +5,7 @@
 use File::Basename ();
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 $VERSION = eval $VERSION;
 
 # Okay, this is the brute-force method of finding out what kind of

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm Sat Jan 22 13:36:14 2011
@@ -12,7 +12,7 @@
 use File::Temp qw(tempfile);
 
 use vars qw($VERSION);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 
 # More details about C/C++ compilers:
 # http://developers.sun.com/sunstudio/documentation/product/compiler.jsp
@@ -198,6 +198,7 @@
   else {
     print $FH "int boot_compilet() { return 1; }\n";
   }
+  close $FH;
 
   my ($obj_file, @lib_files);
   eval {

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm Sat Jan 22 13:36:14 2011
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 sub link_executable {

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm Sat Jan 22 13:36:14 2011
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 use File::Spec::Functions qw(catfile catdir);

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm Sat Jan 22 13:36:14 2011
@@ -10,7 +10,7 @@
 use IO::File;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 =begin comment

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm Sat Jan 22 13:36:14 2011
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::BCC;
 
 use vars qw($VERSION);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 
 sub format_compiler_cmd {
   my ($self, %spec) = @_;

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm Sat Jan 22 13:36:14 2011
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::GCC;
 
 use vars qw($VERSION);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 
 sub format_compiler_cmd {
   my ($self, %spec) = @_;

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm Sat Jan 22 13:36:14 2011
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::MSVC;
 
 use vars qw($VERSION);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 
 sub arg_exec_file {
   my ($self, $file) = @_;

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm Sat Jan 22 13:36:14 2011
@@ -5,7 +5,7 @@
 use File::Spec;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm Sat Jan 22 13:36:14 2011
@@ -5,7 +5,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 # TODO: If a specific exe_file name is requested, if the exe created

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm Sat Jan 22 13:36:14 2011
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub compile {

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm Sat Jan 22 13:36:14 2011
@@ -6,7 +6,7 @@
 
 use vars qw($VERSION @ISA);
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 
 sub link_executable {
   my $self = shift;

Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm Sat Jan 22 13:36:14 2011
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.2802';
+$VERSION = '0.280201';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: trunk/libextutils-cbuilder-perl/t/04-base.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/t/04-base.t?rev=67678&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/t/04-base.t (original)
+++ trunk/libextutils-cbuilder-perl/t/04-base.t Sat Jan 22 13:36:14 2011
@@ -1,19 +1,17 @@
 #! perl -w
 
 use strict;
-use Test::More tests => 58;
-BEGIN { 
-  if ($^O eq 'VMS') {
-    # So we can get the return value of system()
-    require vmsish;
-    import vmsish;
-  }
-}
+use Test::More tests => 50;
 use Config;
 use Cwd;
 use File::Path qw( mkpath );
 use File::Temp qw( tempdir );
 use ExtUtils::CBuilder::Base;
+
+## N.B.  There are pretty severe limits on what can portably be tested
+## in the base class.  Specifically, don't do anything that will send
+## actual compile and link commands to the shell as that won't work
+## without the platform-specific overrides.
 
 # XXX protect from user CC as we mock everything here
 local $ENV{CC};
@@ -56,7 +54,11 @@
     );
 }
 
-{
+SKIP:
+{
+    skip "Base doesn't know about override on VMS", 1
+	if $^O eq 'VMS';
+
     my $path_to_perl = 'foobar';
     local $^X = $path_to_perl;
     # %Config is read-only.  We cannot assign to it and we therefore cannot
@@ -81,7 +83,7 @@
 
 {
     $cwd = cwd();
-    my $tdir = tempdir();
+    my $tdir = tempdir(CLEANUP => 1);
     chdir $tdir;
     $base = ExtUtils::CBuilder::Base->new();
     ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" );
@@ -138,48 +140,8 @@
     "object_file(): got expected automatically assigned name for object file"
 );
 
-# object filename explicitly assigned
-$object_file = File::Spec->catfile('t', 'my_special_compilet.o' );
-is( $object_file,
-    $base->compile(
-        source      => $source_file,
-        object_file => $object_file,
-    ),
-    "compile(): returned object file with specified name"
-);
-
-$lib_file = $base->lib_file($object_file);
-ok( $lib_file, "lib_file() returned true value" );
-
 my ($lib, @temps);
-($lib, @temps) = $base->link(
-    objects     => $object_file,
-    module_name => 'compilet',
-);
-$lib =~ tr/"'//d; #"
-is($lib_file, $lib, "lib_file(): got expected value for $lib");
-
-($lib, @temps) = $base->link(
-    objects     => [ $object_file ],
-    module_name => 'compilet',
-);
-$lib =~ tr/"'//d; #"
-is($lib_file, $lib, "lib_file(): got expected value for $lib");
-
-($lib, @temps) = $base->link(
-    lib_file    => $lib_file,
-    objects     => [ $object_file ],
-    module_name => 'compilet',
-);
-$lib =~ tr/"'//d; #"
-is($lib_file, $lib, "lib_file(): got expected value for $lib");
-
-$lib = $base->link(
-    objects     => $object_file,
-    module_name => 'compilet',
-);
-$lib =~ tr/"'//d; #"
-is($lib_file, $lib, "lib_file(): got expected value for $lib");
+
 
 {
     local $ENV{PERL_CORE} = '' unless $ENV{PERL_CORE};
@@ -196,24 +158,6 @@
 $source_file = File::Spec->catfile('t', 'compilet.c');
 create_c_source_file($source_file);
 ok(-e $source_file, "source file '$source_file' created");
-$object_file = File::Spec->catfile('t', 'my_special_compilet.o' );
-is( $object_file,
-    $base->compile(
-        source      => $source_file,
-        object_file => $object_file,
-        defines     => { alpha => 'beta', gamma => 'delta' },
-    ),
-    "compile() completed when 'defines' provided; returned object file with specified name"
-);
-
-my $exe_file = $base->exe_file($object_file);
-my $ext = $base->{config}{_exe};
-my $expected = File::Spec->catfile('t', qq|my_special_compilet$ext| );
-is(
-    $exe_file,
-    $expected,
-    "exe_file(): returned expected name of executable"
-);
 
 my %args = ();
 my @defines = $base->arg_defines( %args );
@@ -275,7 +219,7 @@
 
 {
     $cwd = cwd();
-    my $tdir = tempdir();
+    my $tdir = tempdir(CLEANUP => 1);
     my $subdir = File::Spec->catdir(
         $tdir, qw| alpha beta gamma delta epsilon 
             zeta eta theta iota kappa lambda |
@@ -318,7 +262,7 @@
     touch_file($exporter);
     $rv = $base->perl_src();
     ok( -d $rv, "perl_src(): returned a directory" );
-    is( $rv, Cwd::realpath($subdir), "perl_src(): identified directory" );
+    is( uc($rv), uc(Cwd::realpath($subdir)), "perl_src(): identified directory" );
     is( $capture, q{}, "perl_src(): no warning, as expected" );
 
     chdir $cwd
@@ -385,6 +329,7 @@
 #####
 
 for ($source_file, $object_file, $lib_file) {
+  next unless defined $_;
   tr/"'//d; #"
   1 while unlink;
 }




More information about the Pkg-perl-cvs-commits mailing list