r63102 - in /branches/upstream/libautobox-perl/current: Changes META.yml Makefile.PL README autobox.xs lib/autobox.pm lib/autobox.pod

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Thu Sep 30 09:41:52 UTC 2010


Author: angelabad-guest
Date: Thu Sep 30 09:41:22 2010
New Revision: 63102

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63102
Log:
[svn-upgrade] new version libautobox-perl (2.71)

Modified:
    branches/upstream/libautobox-perl/current/Changes
    branches/upstream/libautobox-perl/current/META.yml
    branches/upstream/libautobox-perl/current/Makefile.PL
    branches/upstream/libautobox-perl/current/README
    branches/upstream/libautobox-perl/current/autobox.xs
    branches/upstream/libautobox-perl/current/lib/autobox.pm
    branches/upstream/libautobox-perl/current/lib/autobox.pod

Modified: branches/upstream/libautobox-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/Changes?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/Changes (original)
+++ branches/upstream/libautobox-perl/current/Changes Thu Sep 30 09:41:22 2010
@@ -1,4 +1,7 @@
 Revision history for Perl extension autobox
+
+2.71  Thu Sep 23 02:28:10 2010
+    - fix for recent perls: remove cargo-cultism
 
 2.70  Wed Mar 17 19:27:44 2010
     - replace autobox_can and autobox_isa with autobox_class

Modified: branches/upstream/libautobox-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/META.yml?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/META.yml (original)
+++ branches/upstream/libautobox-perl/current/META.yml Thu Sep 30 09:41:22 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               autobox
-version:            2.70
+version:            2.71
 abstract:           call methods on native types
 author:
     - chocolateboy <chocolate at cpan.org>
@@ -8,13 +8,17 @@
 distribution_type:  module
 configure_requires:
     ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
 requires:
-    Scope::Guard:  0.03
+    Scope::Guard:  0.20
+resources:
+    repository:  http://github.com/chocolateboy/autobox
 no_index:
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libautobox-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/Makefile.PL?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/Makefile.PL (original)
+++ branches/upstream/libautobox-perl/current/Makefile.PL Thu Sep 30 09:41:22 2010
@@ -6,14 +6,15 @@
 use ExtUtils::MakeMaker;
 use Config;
 
-my $optimize;
+my $OPTIMIZE;
 
 if ($Config{gccversion}) {
-    $optimize = '-O3 -Wall';
+    $OPTIMIZE = '-O3 -Wall';
+    $OPTIMIZE .= ' -g -Wextra -Wdeclaration-after-statement' if (-d 'dev');
 } elsif ($Config{osname} eq 'MSWin32') {
-    $optimize = '-O2 -W4';
+    $OPTIMIZE = '-O2 -W4';
 } else {
-    $optimize = $Config{optimize};
+    $OPTIMIZE = $Config{optimize};
 }
 
 WriteMakefile(
@@ -21,11 +22,19 @@
     VERSION_FROM    => 'lib/autobox.pm',
     INSTALLDIRS     => 'perl',
     PREREQ_PM       => {
-        'Scope::Guard'   => '0.03',
+        'Scope::Guard'   => '0.20',
     },
     ABSTRACT_FROM        => 'lib/autobox.pod',
     AUTHOR               => 'chocolateboy <chocolate at cpan.org>',
     INC                  => '-I.',
-    OPTIMIZE             => $optimize,
+    OPTIMIZE             => $OPTIMIZE,
     ($ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
+    ($ExtUtils::MakeMaker::VERSION >= 6.46 ?
+        (META_MERGE => {
+            resources => {
+                repository => 'http://github.com/chocolateboy/autobox',
+            },
+        })
+        : ()
+    ),
 );

Modified: branches/upstream/libautobox-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/README?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/README (original)
+++ branches/upstream/libautobox-perl/current/README Thu Sep 30 09:41:22 2010
@@ -1,4 +1,4 @@
-autobox version 2.70
+autobox version 2.71
 ====================
 
 The autobox pragma allows methods to be called on integers, floats, strings, arrays,

Modified: branches/upstream/libautobox-perl/current/autobox.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/autobox.xs?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/autobox.xs (original)
+++ branches/upstream/libautobox-perl/current/autobox.xs Thu Sep 30 09:41:22 2010
@@ -96,7 +96,7 @@
         }
     }
 
-    return CALL_FPTR(autobox_old_ck_subr)(aTHX_ o);
+    return autobox_old_ck_subr(aTHX_ o);
 }
 
 OP* autobox_method(pTHX) {
@@ -159,7 +159,7 @@
                 AUTOBOX_TYPE_RETURN("FLOAT");
             }
         case SVt_PVNV:
-	    /* integer before float: https://rt.cpan.org/Ticket/Display.html?id=46814 */
+            /* integer before float: https://rt.cpan.org/Ticket/Display.html?id=46814 */
             if (SvIOK(sv)) {
                 AUTOBOX_TYPE_RETURN("INTEGER");
             } else if (SvNOK(sv)) {

Modified: branches/upstream/libautobox-perl/current/lib/autobox.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/lib/autobox.pm?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/lib/autobox.pm (original)
+++ branches/upstream/libautobox-perl/current/lib/autobox.pm Thu Sep 30 09:41:22 2010
@@ -11,7 +11,7 @@
 use Scope::Guard;
 use Storable;
 
-our $VERSION = '2.70';
+our $VERSION = '2.71';
 
 XSLoader::load 'autobox', $VERSION;
 

Modified: branches/upstream/libautobox-perl/current/lib/autobox.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/lib/autobox.pod?rev=63102&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/lib/autobox.pod (original)
+++ branches/upstream/libautobox-perl/current/lib/autobox.pod Thu Sep 30 09:41:22 2010
@@ -648,7 +648,7 @@
         
 =head1 VERSION
 
-2.70
+2.71
 
 =head1 SEE ALSO
 




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