r40147 - in /branches/upstream/libextutils-parsexs-perl/current: Build.PL Changes META.yml Makefile.PL lib/ExtUtils/ParseXS.pm t/XSUsage.xs
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Jul 18 22:03:21 UTC 2009
Author: jawnsy-guest
Date: Sat Jul 18 22:03:14 2009
New Revision: 40147
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40147
Log:
[svn-upgrade] Integrating new upstream version, libextutils-parsexs-perl (2.2002)
Modified:
branches/upstream/libextutils-parsexs-perl/current/Build.PL
branches/upstream/libextutils-parsexs-perl/current/Changes
branches/upstream/libextutils-parsexs-perl/current/META.yml
branches/upstream/libextutils-parsexs-perl/current/Makefile.PL
branches/upstream/libextutils-parsexs-perl/current/lib/ExtUtils/ParseXS.pm
branches/upstream/libextutils-parsexs-perl/current/t/XSUsage.xs
Modified: branches/upstream/libextutils-parsexs-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/Build.PL?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/Build.PL (original)
+++ branches/upstream/libextutils-parsexs-perl/current/Build.PL Sat Jul 18 22:03:14 2009
@@ -1,11 +1,19 @@
use Module::Build;
use Config;
-my $build = Module::Build->new
+my $class = Module::Build->subclass(code => <<'EOF');
+ sub do_create_makefile_pl {
+ my $self = shift;
+ $self->SUPER::do_create_makefile_pl(fh => $fh);
+ $self->do_system(qw(perl -pi -e), q{s/'INSTALLDIRS' => '\w+'/'INSTALLDIRS' => (\$] >= 5.009003 ? 'perl' : 'site')/}, 'Makefile.PL');
+ }
+EOF
+
+my $build = $class->new
(
module_name => 'ExtUtils::ParseXS',
license => 'perl',
- installdirs => 'core',
+ installdirs => ($] >= 5.009003 ? 'core' : 'site'),
auto_configure_requires => 0,
requires => {
'Cwd' => 0,
Modified: branches/upstream/libextutils-parsexs-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/Changes?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/Changes (original)
+++ branches/upstream/libextutils-parsexs-perl/current/Changes Sat Jul 18 22:03:14 2009
@@ -1,4 +1,13 @@
Revision history for Perl extension ExtUtils::ParseXS.
+
+2.2002 - Sat Jul 18 17:22:27 EDT 2009
+
+ Bug fixes:
+ - Fix Makefile.PL installdirs for older perls
+
+2.20_01 - Wed Jul 8 12:12:47 EDT 2009
+
+ - Fix XSUsage prototypes for testing [Jan Dubois]
2.20 - Wed Jul 1 13:42:11 EDT 2009
Modified: branches/upstream/libextutils-parsexs-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/META.yml?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/META.yml (original)
+++ branches/upstream/libextutils-parsexs-perl/current/META.yml Sat Jul 18 22:03:14 2009
@@ -1,6 +1,6 @@
---
name: ExtUtils-ParseXS
-version: 2.20
+version: 2.2002
author:
- 'Maintained by Ken Williams, <ken at mathforum.org>'
abstract: converts Perl XS code into C code
@@ -21,8 +21,8 @@
provides:
ExtUtils::ParseXS:
file: lib/ExtUtils/ParseXS.pm
- version: 2.20
-generated_by: Module::Build version 0.3305
+ version: 2.2002
+generated_by: Module::Build version 0.34
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: branches/upstream/libextutils-parsexs-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/Makefile.PL?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/Makefile.PL (original)
+++ branches/upstream/libextutils-parsexs-perl/current/Makefile.PL Sat Jul 18 22:03:14 2009
@@ -1,9 +1,9 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.33_05
+# Note: this file was auto-generated by Module::Build::Compat version 0.34
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
- 'INSTALLDIRS' => 'perl',
+ 'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
'NAME' => 'ExtUtils::ParseXS',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/ExtUtils/ParseXS.pm',
Modified: branches/upstream/libextutils-parsexs-perl/current/lib/ExtUtils/ParseXS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/lib/ExtUtils/ParseXS.pm?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/lib/ExtUtils/ParseXS.pm (original)
+++ branches/upstream/libextutils-parsexs-perl/current/lib/ExtUtils/ParseXS.pm Sat Jul 18 22:03:14 2009
@@ -18,7 +18,7 @@
my($XSS_work_idx, $cpp_next_tmp);
use vars qw($VERSION);
-$VERSION = '2.20';
+$VERSION = '2.2002';
use vars qw(%input_expr %output_expr $ProtoUsed @InitFileCode $FH $proto_re $Overload $errors $Fallback
$cplusplus $hiertype $WantPrototypes $WantVersionChk $except $WantLineNumbers
Modified: branches/upstream/libextutils-parsexs-perl/current/t/XSUsage.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-parsexs-perl/current/t/XSUsage.xs?rev=40147&op=diff
==============================================================================
--- branches/upstream/libextutils-parsexs-perl/current/t/XSUsage.xs (original)
+++ branches/upstream/libextutils-parsexs-perl/current/t/XSUsage.xs Sat Jul 18 22:03:14 2009
@@ -2,12 +2,12 @@
#include "perl.h"
#include "XSUB.h"
-int xsusage_one() { return 1; }
-int xsusage_two() { return 2; }
-int xsusage_three() { return 3; }
-int xsusage_four() { return 4; }
-int xsusage_five() { return 5; }
-int xsusage_six() { return 6; }
+int xsusage_one() { return 1; }
+int xsusage_two() { return 2; }
+int xsusage_three() { return 3; }
+int xsusage_four() { return 4; }
+int xsusage_five(int i) { return 5; }
+int xsusage_six(int i) { return 6; }
MODULE = XSUsage PACKAGE = XSUsage PREFIX = xsusage_
More information about the Pkg-perl-cvs-commits
mailing list