r51311 - in /branches/upstream/libdevel-refcount-perl/current: Build.PL Changes LICENSE META.yml Makefile.PL README lib/Devel/Refcount.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Jan 21 22:39:37 UTC 2010
Author: jawnsy-guest
Date: Thu Jan 21 22:39:32 2010
New Revision: 51311
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51311
Log:
[svn-upgrade] Integrating new upstream version, libdevel-refcount-perl (0.07)
Modified:
branches/upstream/libdevel-refcount-perl/current/Build.PL
branches/upstream/libdevel-refcount-perl/current/Changes
branches/upstream/libdevel-refcount-perl/current/LICENSE
branches/upstream/libdevel-refcount-perl/current/META.yml
branches/upstream/libdevel-refcount-perl/current/Makefile.PL
branches/upstream/libdevel-refcount-perl/current/README
branches/upstream/libdevel-refcount-perl/current/lib/Devel/Refcount.pm
Modified: branches/upstream/libdevel-refcount-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/Build.PL?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/Build.PL (original)
+++ branches/upstream/libdevel-refcount-perl/current/Build.PL Thu Jan 21 22:39:32 2010
@@ -7,16 +7,17 @@
(
module_name => 'Devel::Refcount',
requires => {
+ 'XSLoader' => 0,
},
configure_requires => {
- 'ExtUtils::CBuilder' => 0,
- 'Module::Build' => 0,
+ 'ExtUtils::CBuilder' => 0,
+ 'Module::Build' => 0,
},
build_requires => {
- 'ExtUtils::CBuilder' => 0,
- 'Module::Build' => 0,
- 'Test::Exception' => 0,
- 'Test::More' => 0,
+ 'ExtUtils::CBuilder' => 0,
+ 'Module::Build' => 0,
+ 'Test::Exception' => 0,
+ 'Test::More' => 0,
},
license => 'perl',
create_makefile_pl => 'small',
Modified: branches/upstream/libdevel-refcount-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/Changes?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/Changes (original)
+++ branches/upstream/libdevel-refcount-perl/current/Changes Thu Jan 21 22:39:32 2010
@@ -1,4 +1,8 @@
Revision history for Devel-Refcount
+
+0.07 CHANGES:
+ * Don't use base 'Exporter'
+ * Use XSLoader instead of DynaLoader
0.06 CHANGES:
* Added SEE ALSO to Test::Refcount
Modified: branches/upstream/libdevel-refcount-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/LICENSE?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/LICENSE (original)
+++ branches/upstream/libdevel-refcount-perl/current/LICENSE Thu Jan 21 22:39:32 2010
@@ -1,4 +1,4 @@
-This software is copyright (c) 2009 by Paul Evans <leonerd at leonerd.org.uk>.
+This software is copyright (c) 2010 by Paul Evans <leonerd at leonerd.org.uk>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2009 by Paul Evans <leonerd at leonerd.org.uk>.
+This software is Copyright (c) 2010 by Paul Evans <leonerd at leonerd.org.uk>.
This is free software, licensed under:
@@ -270,7 +270,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2009 by Paul Evans <leonerd at leonerd.org.uk>.
+This software is Copyright (c) 2010 by Paul Evans <leonerd at leonerd.org.uk>.
This is free software, licensed under:
Modified: branches/upstream/libdevel-refcount-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/META.yml?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/META.yml (original)
+++ branches/upstream/libdevel-refcount-perl/current/META.yml Thu Jan 21 22:39:32 2010
@@ -1,25 +1,27 @@
---
-name: Devel-Refcount
-version: 0.06
+abstract: 'obtain the REFCNT value of a referent'
author:
- 'Paul Evans <leonerd at leonerd.org.uk>'
-abstract: obtain the REFCNT value of a referent
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
-configure_requires:
- ExtUtils::CBuilder: 0
- Module::Build: 0
build_requires:
ExtUtils::CBuilder: 0
Module::Build: 0
Test::Exception: 0
Test::More: 0
+configure_requires:
+ ExtUtils::CBuilder: 0
+ Module::Build: 0
+generated_by: 'Module::Build version 0.3601'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Devel-Refcount
provides:
Devel::Refcount:
file: lib/Devel/Refcount.pm
- version: 0.06
-generated_by: Module::Build version 0.33
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: 0.07
+requires:
+ XSLoader: 0
+resources:
+ license: http://dev.perl.org/licenses/
+version: 0.07
Modified: branches/upstream/libdevel-refcount-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/Makefile.PL?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/Makefile.PL (original)
+++ branches/upstream/libdevel-refcount-perl/current/Makefile.PL Thu Jan 21 22:39:32 2010
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.33
+# Note: this file was auto-generated by Module::Build::Compat version 0.3601
use Module::Build::Compat 0.02;
Module::Build::Compat->run_build_pl(args => \@ARGV);
Modified: branches/upstream/libdevel-refcount-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/README?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/README (original)
+++ branches/upstream/libdevel-refcount-perl/current/README Thu Jan 21 22:39:32 2010
@@ -31,27 +31,27 @@
use Devel::Peek qw( SvREFCNT );
use Devel::Refcount qw( refcount );
-
- sub printcount
+
+ sub printcount
{
my $name = shift;
-
- printf "%30s has SvREFCNT=%d, refcount=%d\n",
+
+ printf "%30s has SvREFCNT=%d, refcount=%d\n",
$name, SvREFCNT($_[0]), refcount($_[0]);
}
-
- my $var = [];
+
+ my $var = [];
printcount 'Initially, $var', $var;
-
- my $othervar = $var;
+
+ my $othervar = $var;
printcount 'Before CODE ref, $var', $var;
printcount '$othervar', $othervar;
-
- my $code = sub { undef $var };
-
- printcount 'After CODE ref, $var', $var;
+
+ my $code = sub { undef $var };
+
+ printcount 'After CODE ref, $var', $var;
printcount '$othervar', $othervar;
This produces the output
Modified: branches/upstream/libdevel-refcount-perl/current/lib/Devel/Refcount.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-refcount-perl/current/lib/Devel/Refcount.pm?rev=51311&op=diff
==============================================================================
--- branches/upstream/libdevel-refcount-perl/current/lib/Devel/Refcount.pm (original)
+++ branches/upstream/libdevel-refcount-perl/current/lib/Devel/Refcount.pm Thu Jan 21 22:39:32 2010
@@ -1,21 +1,20 @@
# You may distribute under the terms of either the GNU General Public License
# or the Artistic License (the same terms as Perl itself)
#
-# (C) Paul Evans, 2008,2009 -- leonerd at leonerd.org.uk
+# (C) Paul Evans, 2008-2010 -- leonerd at leonerd.org.uk
package Devel::Refcount;
use strict;
use warnings;
-use base qw( Exporter );
-use base qw( DynaLoader );
+our $VERSION = '0.07';
+use Exporter 'import';
our @EXPORT_OK = qw( refcount );
-our $VERSION = '0.06';
-
-__PACKAGE__->bootstrap( $VERSION );
+require XSLoader;
+XSLoader::load( __PACKAGE__, $VERSION );
=head1 NAME
More information about the Pkg-perl-cvs-commits
mailing list