r41386 - in /trunk/libaliased-perl: Build.PL Changes MANIFEST META.yml Makefile.PL debian/changelog debian/control lib/aliased.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Aug 6 02:43:26 UTC 2009


Author: jawnsy-guest
Date: Thu Aug  6 02:43:19 2009
New Revision: 41386

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41386
Log:
* New upstream release
  + Preserve the name of the package the alias is defined in
* Standards-Version 3.8.2 (no changes)
* Change perl version in B-D-I to 5.6.0-16 (per Perl Policy)

Modified:
    trunk/libaliased-perl/Build.PL
    trunk/libaliased-perl/Changes
    trunk/libaliased-perl/MANIFEST
    trunk/libaliased-perl/META.yml
    trunk/libaliased-perl/Makefile.PL
    trunk/libaliased-perl/debian/changelog
    trunk/libaliased-perl/debian/control
    trunk/libaliased-perl/lib/aliased.pm

Modified: trunk/libaliased-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/Build.PL?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/Build.PL (original)
+++ trunk/libaliased-perl/Build.PL Thu Aug  6 02:43:19 2009
@@ -7,11 +7,11 @@
     license             => 'perl',
     dist_author         => 'Curtis "Ovid" Poe <ovid at cpan.org>',
     dist_version_from   => 'lib/aliased.pm',
-    perl                => 5.006,
     requires => {
         'Test::More' => 0,
     },
     add_to_cleanup      => [ 'aliased-*' ],
+    create_makefile_pl  => 'traditional',
 );
 
 $builder->create_build_script();

Modified: trunk/libaliased-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/Changes?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/Changes (original)
+++ trunk/libaliased-perl/Changes Thu Aug  6 02:43:19 2009
@@ -1,6 +1,10 @@
-Revision history for Perl extension aliased.
+Revision history for Perl extension aka.
 
-0.21  12 February, 2008
+0.30  5 August, 2009
+      Applied changes from Florian Ragwitz to ensure that we preserve the 
+      name of the package the alias is defined in.
+
+0.22  12 February, 2008
       Preserve $SIG{__DIE__} behavior just as if aliased had not been used.
 
 0.21  29 March, 2007

Modified: trunk/libaliased-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/MANIFEST?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/MANIFEST (original)
+++ trunk/libaliased-perl/MANIFEST Thu Aug  6 02:43:19 2009
@@ -8,8 +8,8 @@
 t/10aliased.t
 t/20import.t
 t/30sigdie.t
+t/lib/HasSigDie.pm
 t/lib/BadSigDie.pm
-t/lib/HasSigDie.pm
 t/lib/NoSigDie.pm
 t/lib/Really/Long/Module/Conflicting/Name.pm
 t/lib/Really/Long/Module/Name.pm

Modified: trunk/libaliased-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/META.yml?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/META.yml (original)
+++ trunk/libaliased-perl/META.yml Thu Aug  6 02:43:19 2009
@@ -1,19 +1,19 @@
 ---
 name: aliased
-version: 0.22
+version: 0.30
 author:
   - 'Curtis "Ovid" Poe <ovid at cpan.org>'
 abstract: Use shorter versions of class names.
 license: perl
 resources:
-  license: http://dev.perl.org/licenses/
+  license: ~
 requires:
   Test::More: 0
 provides:
   aliased:
     file: lib/aliased.pm
-    version: 0.22
-generated_by: Module::Build version 0.2808
+    version: 0.30
+generated_by: Module::Build version 0.32
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html
   version: 1.2

Modified: trunk/libaliased-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/Makefile.PL?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/Makefile.PL (original)
+++ trunk/libaliased-perl/Makefile.PL Thu Aug  6 02:43:19 2009
@@ -1,15 +1,7 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.32
 use ExtUtils::MakeMaker;
-
-eval "use 5.006";
-if (my $error = $@) {
-    warn $error;
-    exit 0;
-}
-
 WriteMakefile
 (
-          'PL_FILES' => {},
           'INSTALLDIRS' => 'site',
           'NAME' => 'aliased',
           'EXE_FILES' => [],

Modified: trunk/libaliased-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/debian/changelog?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/debian/changelog (original)
+++ trunk/libaliased-perl/debian/changelog Thu Aug  6 02:43:19 2009
@@ -1,8 +1,15 @@
-libaliased-perl (0.22-2) UNRELEASED; urgency=low
+libaliased-perl (0.30-1) UNRELEASED; urgency=low
 
+  [ Jonathan Yu ]
+  * New upstream release
+    + Preserve the name of the package the alias is defined in
+  * Standards-Version 3.8.2 (no changes)
+  * Change perl version in B-D-I to 5.6.0-16 (per Perl Policy)
+
+  [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:31:48 +0000
+ -- Jonathan Yu <frequency at cpan.org>  Wed, 05 Aug 2009 18:41:53 -0400
 
 libaliased-perl (0.22-1) unstable; urgency=low
 

Modified: trunk/libaliased-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/debian/control?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/debian/control (original)
+++ trunk/libaliased-perl/debian/control Thu Aug  6 02:43:19 2009
@@ -2,11 +2,11 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.6.0-12), libtest-pod-coverage-perl,
-  libtest-pod-perl
+Build-Depends-Indep: perl (>= 5.6.0-16), libtest-pod-coverage-perl,
+ libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <frequency at cpan.org>, Ryan Niebur <ryanryan52 at gmail.com>
-Standards-Version: 3.8.1
+Standards-Version: 3.8.2
 Homepage: http://search.cpan.org/dist/aliased/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libaliased-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libaliased-perl/

Modified: trunk/libaliased-perl/lib/aliased.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaliased-perl/lib/aliased.pm?rev=41386&op=diff
==============================================================================
--- trunk/libaliased-perl/lib/aliased.pm (original)
+++ trunk/libaliased-perl/lib/aliased.pm Thu Aug  6 02:43:19 2009
@@ -1,5 +1,5 @@
 package aliased;
-$VERSION = '0.22';
+$VERSION = '0.30';
 
 require Exporter;
 @ISA    = qw(Exporter);
@@ -32,12 +32,8 @@
 
     $alias ||= _get_alias($package);
 
-    local $SIG{__DIE__};
-    eval qq{
-        package $callpack;
-        sub $alias () { '$package' }
-    };
-    die $@ if $@;
+    no strict 'refs';
+    *{ join q{::} => $callpack, $alias } = sub () { $package };
 }
 
 sub _load_alias {
@@ -47,15 +43,16 @@
     # restoring its value if there is a failure.  Very, very tricky.
     my $sigdie = $SIG{__DIE__};
     {
-        my $code = @import == 0
+        my $code =
+          @import == 0
           ? "package $callpack; use $package;"
           : "package $callpack; use $package (\@import)";
         eval $code;
-        if (my $error = $@) {
+        if ( my $error = $@ ) {
             $SIG{__DIE__} = $sigdie;
             die $error;
         }
-        $sigdie = $SIG{__DIE__} 
+        $sigdie = $SIG{__DIE__}
           if defined $SIG{__DIE__};
     }
 
@@ -78,6 +75,10 @@
 =head1 NAME
 
 aliased - Use shorter versions of class names.
+
+=head1 VERSION
+
+0.30
 
 =head1 SYNOPSIS
 




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