r66249 - in /trunk/libdevel-globaldestruction-perl: .gitignore Changes MANIFEST META.yml Makefile.PL SIGNATURE debian/changelog debian/control debian/copyright debian/source/ debian/source/format lib/Devel/GlobalDestruction.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Fri Dec 24 22:32:09 UTC 2010


Author: jawnsy-guest
Date: Fri Dec 24 22:32:03 2010
New Revision: 66249

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66249
Log:
* New upstream release
  + Drop the XS code on perl versions recent enough to
    have ${^GLOBAL_PHASE}.
* Use new 3.0 (quilt) source format
* Rewrite control description
* Drop version dependencies satisfied by oldstable
* Standards-Version 3.9.1 (no changes)
* Add myself to Uploaders and Copyright
* Refresh copyright information

Added:
    trunk/libdevel-globaldestruction-perl/.gitignore
      - copied unchanged from r66245, branches/upstream/libdevel-globaldestruction-perl/current/.gitignore
    trunk/libdevel-globaldestruction-perl/Changes
      - copied unchanged from r66245, branches/upstream/libdevel-globaldestruction-perl/current/Changes
    trunk/libdevel-globaldestruction-perl/debian/source/
    trunk/libdevel-globaldestruction-perl/debian/source/format
Modified:
    trunk/libdevel-globaldestruction-perl/MANIFEST
    trunk/libdevel-globaldestruction-perl/META.yml
    trunk/libdevel-globaldestruction-perl/Makefile.PL
    trunk/libdevel-globaldestruction-perl/SIGNATURE
    trunk/libdevel-globaldestruction-perl/debian/changelog
    trunk/libdevel-globaldestruction-perl/debian/control
    trunk/libdevel-globaldestruction-perl/debian/copyright
    trunk/libdevel-globaldestruction-perl/lib/Devel/GlobalDestruction.pm

Modified: trunk/libdevel-globaldestruction-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/MANIFEST?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/MANIFEST (original)
+++ trunk/libdevel-globaldestruction-perl/MANIFEST Fri Dec 24 22:32:03 2010
@@ -1,3 +1,5 @@
+.gitignore
+Changes
 GlobalDestruction.xs
 lib/Devel/GlobalDestruction.pm
 Makefile.PL

Modified: trunk/libdevel-globaldestruction-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/META.yml?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/META.yml (original)
+++ trunk/libdevel-globaldestruction-perl/META.yml Fri Dec 24 22:32:03 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: trunk/libdevel-globaldestruction-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/Makefile.PL?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/Makefile.PL (original)
+++ trunk/libdevel-globaldestruction-perl/Makefile.PL Fri Dec 24 22:32:03 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: trunk/libdevel-globaldestruction-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/SIGNATURE?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/SIGNATURE (original)
+++ trunk/libdevel-globaldestruction-perl/SIGNATURE Fri Dec 24 22:32:03 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: trunk/libdevel-globaldestruction-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/debian/changelog?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/debian/changelog (original)
+++ trunk/libdevel-globaldestruction-perl/debian/changelog Fri Dec 24 22:32:03 2010
@@ -1,4 +1,15 @@
-libdevel-globaldestruction-perl (0.02-2) UNRELEASED; urgency=low
+libdevel-globaldestruction-perl (0.03-1) UNRELEASED; urgency=low
+
+  [ Jonathan Yu ]
+  * New upstream release
+    + Drop the XS code on perl versions recent enough to
+      have ${^GLOBAL_PHASE}.
+  * Use new 3.0 (quilt) source format
+  * Rewrite control description
+  * Drop version dependencies satisfied by oldstable
+  * Standards-Version 3.9.1 (no changes)
+  * Add myself to Uploaders and Copyright
+  * Refresh copyright information
 
   [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -7,7 +18,7 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:41:57 +0100
+ -- Jonathan Yu <jawnsy at cpan.org>  Fri, 24 Dec 2010 17:47:26 -0500
 
 libdevel-globaldestruction-perl (0.02-1) unstable; urgency=low
 

Modified: trunk/libdevel-globaldestruction-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/debian/control?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/debian/control (original)
+++ trunk/libdevel-globaldestruction-perl/debian/control Fri Dec 24 22:32:03 2010
@@ -1,24 +1,20 @@
 Source: libdevel-globaldestruction-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.6.10-12), libscope-guard-perl, libsub-exporter-perl
+Build-Depends: debhelper (>= 7), perl, libscope-guard-perl,
+ libsub-exporter-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>
-Standards-Version: 3.8.0
+Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
+ Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.9.1
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdevel-globaldestruction-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/
 Homepage: http://search.cpan.org/dist/Devel-GlobalDestruction/
 
 Package: libdevel-globaldestruction-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, libscope-guard-perl, libsub-exporter-perl
-Description:  Expose PL_dirty, the flag which marks global destruction
- Perl's global destruction is a little tricky to deal with WRT finalizers
- because it's not ordered and objects can sometimes disappear.
- .
- Writing defensive destructors is hard and annoying, and usually if global
- destruction is happenning you only need the destructors that free up non
- process local resources to actually execute.
- .
- For these constructors you can avoid the mess by simply bailing out if global
- destruction is in effect.
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends},
+ libscope-guard-perl, libsub-exporter-perl
+Description: module to expose the flag that marks global destruction
+ Devel::GlobalDestruction is a Perl module that exposes the PL_dirty flag
+ to Perl as a subroutine named in_global_destruction.

Modified: trunk/libdevel-globaldestruction-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/debian/copyright?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/debian/copyright (original)
+++ trunk/libdevel-globaldestruction-perl/debian/copyright Fri Dec 24 22:32:03 2010
@@ -1,33 +1,29 @@
-This is the debian package for the Devel-GlobalDestruction module.
-It was created by Krzysztof Krzyżaniak (eloy) <eloy at debian.org> using dh-make-perl.
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Florian Ragwitz <rafl at debian.org>
+Source: http://search.cpan.org/dist/Devel-GlobalDestruction/
+Name: Devel-GlobalDestruction
 
-It was downloaded from http://search.cpan.org/dist/Devel-GlobalDestruction/
+Files: *
+Copyright: 2008, Yuval Kogman <nothingmuch at woobling.org>
+License: Artistic or GPL-1+
 
-The upstream author is: Yuval Kogman <nothingmuch at woobling.org>.
+Files: debian/*
+Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
+ 2008, Krzysztof Krzyżaniak (eloy) <eloy at debian.org>
+License: Artistic or GPL-1+
 
-Copyright (c) 2008 Yuval Kogman. All rights reserved
-	This program is free software; you can redistribute
-	it and/or modify it under the same terms as Perl itself.
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'.
 
-~~~~~
-
-ppport.h:
-
-COPYRIGHT
-Version 3.x, Copyright (c) 2004-2008, Marcus Holland-Moritz.
-Version 2.x, Copyright (C) 2001, Paul Marquess.
-Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-~~~~~
-
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  On Debian GNU/Linux systems, the complete text of the
-GNU General Public License can be found in `/usr/share/common-licenses/GPL'
-and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
-
-
-The Debian packaging is (C) 2008, Krzysztof Krzyżaniak (eloy) <eloy at debian.org> and
-is licensed under the same terms as the software itself (see above).
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian GNU/Linux systems, the complete text of version 1 of the
+ General Public License can be found in `/usr/share/common-licenses/GPL-1'.

Added: trunk/libdevel-globaldestruction-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/debian/source/format?rev=66249&op=file
==============================================================================
--- trunk/libdevel-globaldestruction-perl/debian/source/format (added)
+++ trunk/libdevel-globaldestruction-perl/debian/source/format Fri Dec 24 22:32:03 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libdevel-globaldestruction-perl/lib/Devel/GlobalDestruction.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-globaldestruction-perl/lib/Devel/GlobalDestruction.pm?rev=66249&op=diff
==============================================================================
--- trunk/libdevel-globaldestruction-perl/lib/Devel/GlobalDestruction.pm (original)
+++ trunk/libdevel-globaldestruction-perl/lib/Devel/GlobalDestruction.pm Fri Dec 24 22:32:03 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