r66244 - in /branches/upstream/libdevel-globaldestruction-perl/current: .gitignore Changes MANIFEST META.yml Makefile.PL SIGNATURE lib/Devel/GlobalDestruction.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Fri Dec 24 22:12:52 UTC 2010
Author: jawnsy-guest
Date: Fri Dec 24 22:12:34 2010
New Revision: 66244
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66244
Log:
[svn-upgrade] new version libdevel-globaldestruction-perl (0.03)
Added:
branches/upstream/libdevel-globaldestruction-perl/current/.gitignore
branches/upstream/libdevel-globaldestruction-perl/current/Changes
Modified:
branches/upstream/libdevel-globaldestruction-perl/current/MANIFEST
branches/upstream/libdevel-globaldestruction-perl/current/META.yml
branches/upstream/libdevel-globaldestruction-perl/current/Makefile.PL
branches/upstream/libdevel-globaldestruction-perl/current/SIGNATURE
branches/upstream/libdevel-globaldestruction-perl/current/lib/Devel/GlobalDestruction.pm
Added: branches/upstream/libdevel-globaldestruction-perl/current/.gitignore
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/.gitignore?rev=66244&op=file
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/.gitignore (added)
+++ branches/upstream/libdevel-globaldestruction-perl/current/.gitignore Fri Dec 24 22:12:34 2010
@@ -1,0 +1,17 @@
+.*
+!.gitignore
+Makefile*
+!Makefile.PL
+*META.yml
+blib
+build
+inc
+pm_to_blib
+MANIFEST*
+!MANIFEST.SKIP
+Debian*
+README
+Devel-GlobalDestruction-*
+*.bs
+*.o
+*.c
Added: branches/upstream/libdevel-globaldestruction-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/Changes?rev=66244&op=file
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/Changes (added)
+++ branches/upstream/libdevel-globaldestruction-perl/current/Changes Fri Dec 24 22:12:34 2010
@@ -1,0 +1,6 @@
+0.03
+ * Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE}.
+ * Drop code to support perls older than 5.6. We've always been depending on
+ 5.6 anyway.
+ + Use XSLoader without a fallback to DynaLoader.
+ + Use our instead of use vars.
Modified: branches/upstream/libdevel-globaldestruction-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/MANIFEST?rev=66244&op=diff
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/MANIFEST (original)
+++ branches/upstream/libdevel-globaldestruction-perl/current/MANIFEST Fri Dec 24 22:12:34 2010
@@ -1,3 +1,5 @@
+.gitignore
+Changes
GlobalDestruction.xs
lib/Devel/GlobalDestruction.pm
Makefile.PL
Modified: branches/upstream/libdevel-globaldestruction-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/META.yml?rev=66244&op=diff
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/META.yml (original)
+++ branches/upstream/libdevel-globaldestruction-perl/current/META.yml Fri Dec 24 22:12:34 2010
@@ -1,14 +1,23 @@
--- #YAML:1.0
-name: Devel-GlobalDestruction
-version: 0.02
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
- Scope::Guard: 0
- Sub::Exporter: 0
+name: Devel-GlobalDestruction
+version: 0.03
+abstract: ~
+author: []
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ perl: 5.006000
+ Scope::Guard: 0
+ Sub::Exporter: 0
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libdevel-globaldestruction-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/Makefile.PL?rev=66244&op=diff
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/Makefile.PL (original)
+++ branches/upstream/libdevel-globaldestruction-perl/current/Makefile.PL Fri Dec 24 22:12:34 2010
@@ -1,18 +1,21 @@
#!/usr/bin/perl -w
use strict;
+require 5.006000;
use ExtUtils::MakeMaker;
WriteMakefile(
- NAME => 'Devel::GlobalDestruction',
- VERSION_FROM => 'lib/Devel/GlobalDestruction.pm',
- INSTALLDIRS => 'site',
- SIGN => 1,
- PL_FILES => { },
- PREREQ_PM => {
- 'Sub::Exporter' => 0,
- 'Scope::Guard' => 0,
- },
+ NAME => 'Devel::GlobalDestruction',
+ VERSION_FROM => 'lib/Devel/GlobalDestruction.pm',
+ INSTALLDIRS => 'site',
+ SIGN => 1,
+ PL_FILES => { },
+ MIN_PERL_VERSION => '5.006000',
+ PREREQ_PM => {
+ 'Sub::Exporter' => 0,
+ 'Scope::Guard' => 0,
+ },
+ ($] >= 5.013007 ? (XS => {}, C => []) : ()),
);
Modified: branches/upstream/libdevel-globaldestruction-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/SIGNATURE?rev=66244&op=diff
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/SIGNATURE (original)
+++ branches/upstream/libdevel-globaldestruction-perl/current/SIGNATURE Fri Dec 24 22:12:34 2010
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.55.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,18 +14,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+SHA1 1a7e2cee69e08f6074f4a35cc6be12dd9c3d5ff6 .gitignore
+SHA1 6c8abc1ab900168fc4f6de1094eee0a320900fe1 Changes
SHA1 bfaef5766f5884dd3095f0fd699f4c08a30a70fb GlobalDestruction.xs
-SHA1 3af819cb3361d55d2f6e6f7c4d6b507c3ef69103 MANIFEST
+SHA1 49d7ffcb052755d58db95cfffc8ac66f53f8bb42 MANIFEST
SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP
-SHA1 3cf80881c5a8942b6fca2101b1f1f64525d4ad53 META.yml
-SHA1 61b52050ec09fe13bca3bb2cbd942b4372b7f40e Makefile.PL
-SHA1 a68ad4df484b976a07611b0dfa7643393bcb9fb3 lib/Devel/GlobalDestruction.pm
+SHA1 b00dc4eb543e356b5d337556205d1f64f0b384a2 META.yml
+SHA1 28776b0c9967790e380ecef87253f00ff2dafddf Makefile.PL
+SHA1 2ffaf300cf028422b3ef8b8ee983ec2938b4855e lib/Devel/GlobalDestruction.pm
SHA1 6f942a3aa4b7201650bbc0cc2a3b3b6ca3b6a14c ppport.h
SHA1 10ff9fb74375ba61efcfa6da8c7b32a3068da968 t/basic.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG v1.4.10 (GNU/Linux)
-iD8DBQFInSRWVCwRwOvSdBgRArrwAJ0XTjpbKqJYmHIBLVotnfR6lPKnuACgj6En
-pBnQAN6vmB8dM84TdI9F6uE=
-=nHbX
+iEYEARECAAYFAkz2t7AACgkQdC8qQo5jWl60rgCfaBk6yUp04E2urAdfL9wnhf/M
+vBEAn03pQPZzNS6lFpv3ZjQe+moX70MB
+=8n4T
-----END PGP SIGNATURE-----
Modified: branches/upstream/libdevel-globaldestruction-perl/current/lib/Devel/GlobalDestruction.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdevel-globaldestruction-perl/current/lib/Devel/GlobalDestruction.pm?rev=66244&op=diff
==============================================================================
--- branches/upstream/libdevel-globaldestruction-perl/current/lib/Devel/GlobalDestruction.pm (original)
+++ branches/upstream/libdevel-globaldestruction-perl/current/lib/Devel/GlobalDestruction.pm Fri Dec 24 22:12:34 2010
@@ -5,28 +5,21 @@
use strict;
use warnings;
-use vars qw($VERSION @ISA);
+use XSLoader;
-BEGIN {
- $VERSION = '0.02';
-
- local $@;
-
- eval {
- require XSLoader;
- __PACKAGE__->XSLoader::load($VERSION);
- 1;
- } or do {
- require DynaLoader;
- push @ISA, 'DynaLoader';
- __PACKAGE__->bootstrap($VERSION);
- };
-}
+our $VERSION = '0.03';
use Sub::Exporter -setup => {
exports => [ qw(in_global_destruction) ],
groups => { default => [ -all ] },
};
+
+if ($] >= 5.013007) {
+ eval 'sub in_global_destruction () { ${^GLOBAL_PHASE} eq q[DESTRUCT] }';
+}
+else {
+ XSLoader::load(__PACKAGE__, $VERSION);
+}
__PACKAGE__
@@ -82,9 +75,11 @@
L<http://nothingmuch.woobling.org/code>, and use C<darcs send> to commit
changes.
-=head1 AUTHOR
+=head1 AUTHORS
Yuval Kogman E<lt>nothingmuch at woobling.orgE<gt>
+
+Florian Ragwitz E<lt>rafl at debian.orgE<gt>
=head1 COPYRIGHT
More information about the Pkg-perl-cvs-commits
mailing list