r37060 - in /trunk/libuniversal-isa-perl: Build.PL META.yml README debian/changelog debian/control debian/copyright lib/UNIVERSAL/isa.pm t/bugs.t

nhandler-guest at users.alioth.debian.org nhandler-guest at users.alioth.debian.org
Mon Jun 1 00:59:02 UTC 2009


Author: nhandler-guest
Date: Mon Jun  1 00:58:57 2009
New Revision: 37060

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37060
Log:
  * New upstream release
  * debian/control:
    - Bump Standards-Vesion to 3.8.1 (No changes)
    - Add myself to list of Uploaders
  * debian/copyright:
    - Switch to new copyright format


Modified:
    trunk/libuniversal-isa-perl/Build.PL
    trunk/libuniversal-isa-perl/META.yml
    trunk/libuniversal-isa-perl/README
    trunk/libuniversal-isa-perl/debian/changelog
    trunk/libuniversal-isa-perl/debian/control
    trunk/libuniversal-isa-perl/debian/copyright
    trunk/libuniversal-isa-perl/lib/UNIVERSAL/isa.pm
    trunk/libuniversal-isa-perl/t/bugs.t

Modified: trunk/libuniversal-isa-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/Build.PL?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/Build.PL (original)
+++ trunk/libuniversal-isa-perl/Build.PL Mon Jun  1 00:58:57 2009
@@ -11,7 +11,11 @@
     module_name => 'UNIVERSAL::isa',
     license     => 'perl',
     requires    => {
-        'perl' => '5.6.2',
+        'perl'         => '5.6.2',
         'Scalar::Util' => 0,
     },
+    build_requires => {
+        'perl'          => '5.6.2',
+        'Module::Build' => '0.31',
+    }
 )->create_build_script;

Modified: trunk/libuniversal-isa-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/META.yml?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/META.yml (original)
+++ trunk/libuniversal-isa-perl/META.yml Mon Jun  1 00:58:57 2009
@@ -1,6 +1,6 @@
 ---
 name: UNIVERSAL-isa
-version: 1.01
+version: 1.02
 author:
   - 'Audrey Tang <cpan at audreyt.org>'
   - 'chromatic <chromatic at wgz.org>'
@@ -14,11 +14,14 @@
 requires:
   Scalar::Util: 0
   perl: 5.6.2
+build_requires:
+  Module::Build: 0.31
+  perl: 5.6.2
 provides:
   UNIVERSAL::isa:
     file: lib/UNIVERSAL/isa.pm
-    version: 1.01
-generated_by: Module::Build version 0.2808
+    version: 1.02
+generated_by: Module::Build version 0.33
 meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4

Modified: trunk/libuniversal-isa-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/README?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/README (original)
+++ trunk/libuniversal-isa-perl/README Mon Jun  1 00:58:57 2009
@@ -1,7 +1,7 @@
 UNIVERSAL::isa
 --------------
 
-Version 1.01 - Fri Aug 22 05:29:08 UTC 2008
+Version 1.02 - Sat May 30 19:44:24 UTC 2009
 
 Attempt to recover from people calling UNIVERSAL::isa as a function
 
@@ -43,4 +43,4 @@
 
 COPYRIGHT & LICENSE
 
-    Artistic License 2.0, (c) 2005 - 2008.
+    Artistic License 2.0, (c) 2005 - 2009.

Modified: trunk/libuniversal-isa-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/changelog?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/changelog (original)
+++ trunk/libuniversal-isa-perl/debian/changelog Mon Jun  1 00:58:57 2009
@@ -1,9 +1,18 @@
-libuniversal-isa-perl (1.01-2) UNRELEASED; urgency=low
+libuniversal-isa-perl (1.02-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:47 +0100
+  [ Nathan Handler ]
+  * New upstream release
+  * debian/control:
+    - Bump Standards-Vesion to 3.8.1 (No changes)
+    - Add myself to list of Uploaders
+  * debian/copyright:
+    - Switch to new copyright format
+
+ -- Nathan Handler <nhandler at ubuntu.com>  Mon, 01 Jun 2009 00:58:34 +0000
 
 libuniversal-isa-perl (1.01-1) unstable; urgency=low
 

Modified: trunk/libuniversal-isa-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/control?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/control (original)
+++ trunk/libuniversal-isa-perl/debian/control Mon Jun  1 00:58:57 2009
@@ -5,8 +5,8 @@
 Build-Depends-Indep: perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
- Damyan Ivanov <dmn at debian.org>
-Standards-Version: 3.8.0
+ Damyan Ivanov <dmn at debian.org>, Nathan Handler <nhandler at ubuntu.com>
+Standards-Version: 3.8.1
 Homepage: http://search.cpan.org/dist/UNIVERSAL-isa/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libuniversal-isa-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libuniversal-isa-perl/

Modified: trunk/libuniversal-isa-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/copyright?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/copyright (original)
+++ trunk/libuniversal-isa-perl/debian/copyright Mon Jun  1 00:58:57 2009
@@ -1,19 +1,24 @@
-This is the debian package for the UNIVERSAL-isa module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using
-dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Audrey Tang <cpan at audreyt.org>, chromatic <chromatic at wgz.org>, Yuval Kogman <nothingmuch at woobling.org>
+Upstream-Source: http://search.cpan.org/dist/UNIVERSAL-isa/
+Upstream-Name: UNIVERSAL-isa
 
-It was downloaded from: http://search.cpan.org/dist/UNIVERSAL-isa/
+Files: *
+Copyright: Copyright 2005-2009, Audrey Tang <cpan at audreyt.org>
+ Copyright 2005-2009, chromatic <chromatic at wgz.org>
+ Copyright 2005-2009, Yuval Kogman <nothingmuch at woobling.org>
+License-Alias: Perl
+License: Artistic-2.0
 
-The upstream authors are:
- - Autrijus Tang <cpan at audreyt.org>
- - chromatic <chromatic at wgz.org>
- - Yuval Kogman <nothingmuch at woobling.org>.
+Files: debian/*
+Copyright: 2006-2009, Krzysztof Krzyzaniak <eloy at debian.org>
+License: Artistic-2.0
+It is assumed that the debian/* files are licensed under the same terms as the
+upstream source
 
-Copyright:
-    (c) 2005 - 2008, the aforementioned authors.
-
-License:
-    Artistic Licence 2.0, (c) 2005 - 2008
-
-On Debian GNU/Linux systems, the complete text of the Artistic Licence in
-/usr/share/common-licenses/Artistic'.
+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

Modified: trunk/libuniversal-isa-perl/lib/UNIVERSAL/isa.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/lib/UNIVERSAL/isa.pm?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/lib/UNIVERSAL/isa.pm (original)
+++ trunk/libuniversal-isa-perl/lib/UNIVERSAL/isa.pm Mon Jun  1 00:58:57 2009
@@ -8,7 +8,7 @@
 use Scalar::Util 'blessed';
 use warnings::register;
 
-$VERSION = '1.01';
+$VERSION = '1.02';
 
 my ( $orig, $verbose_warning );
 
@@ -169,6 +169,6 @@
 
 =head1 COPYRIGHT & LICENSE
 
-Artistic Licence 2.0, (c) 2005 - 2008.
+Artistic Licence 2.0, (c) 2005 - 2009.
 
 =cut

Modified: trunk/libuniversal-isa-perl/t/bugs.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/t/bugs.t?rev=37060&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/t/bugs.t (original)
+++ trunk/libuniversal-isa-perl/t/bugs.t Mon Jun  1 00:58:57 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 10;
+use Test::More tests => 12;
 
 BEGIN { use_ok('UNIVERSAL::isa', 'isa') };
 
@@ -94,9 +94,12 @@
 
 is( scalar(isa(undef, 'Foo')), undef, 'isa on undef returns undef');
 
-eval { require CGI };
+SKIP: {
+    eval { require CGI };
+    skip( 'CGI not installed; RT #19671', 1 ) if $@;
 
-isa_ok( CGI->new(''), 'CGI' ) unless $@;
+    isa_ok( CGI->new(''), 'CGI' );
+}
 
 # overloaded objects
 {
@@ -114,12 +117,29 @@
 isa_ok( $proxy, 'Foo' );
 
 # valid use of isa() as static method on undefined class
+TODO: {
+    my $warnings         = '';
+    local $SIG{__WARN__} = sub { $warnings .= shift };
+    use warnings 'UNIVERSAL::isa';
+
+    local $TODO = 'Apparently broken in 5.6.x' if $] < 5.007;
+
+    ok( ! UnloadedClass->isa( 'UNIVERSAL' ),
+        'unloaded class should not inherit from UNIVERSAL' );
+    is( $warnings, '', '... and should not warn' );
+}
+
+# on an unloaded class
 {
     my $warnings         = '';
     local $SIG{__WARN__} = sub { $warnings .= shift };
     use warnings 'UNIVERSAL::isa';
 
-    ok( ! UnloadedClass->isa( 'UNIVERSAL' ),
-        'unloaded class should not inherit from UNIVERSAL' );
-    is( $warnings, '', '... and should not warn' );
+    UNIVERSAL::isa("Foo", "Bar");
+    like( $warnings, qr/Called UNIVERSAL::isa/,
+        'warning on unloaded class given class (RT #24822)' );
+
+    UNIVERSAL::isa(bless({}, "Foo"), "Bar");
+    like( $warnings, qr/Called UNIVERSAL::isa/,
+        'warning on unloaded class given object (RT #24882)' );
 }




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