r75318 - in /branches/upstream/libasync-mergepoint-perl/current: Build.PL Changes LICENSE MANIFEST META.json META.yml Makefile.PL lib/Async/MergePoint.pm t/01mergepoint.t t/02lateclose.t t/03lateneeds.t

carnil at users.alioth.debian.org carnil at users.alioth.debian.org
Fri Jun 10 05:57:51 UTC 2011


Author: carnil
Date: Fri Jun 10 05:57:35 2011
New Revision: 75318

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=75318
Log:
[svn-upgrade] new version libasync-mergepoint-perl (0.04)

Added:
    branches/upstream/libasync-mergepoint-perl/current/META.json
Modified:
    branches/upstream/libasync-mergepoint-perl/current/Build.PL
    branches/upstream/libasync-mergepoint-perl/current/Changes
    branches/upstream/libasync-mergepoint-perl/current/LICENSE
    branches/upstream/libasync-mergepoint-perl/current/MANIFEST
    branches/upstream/libasync-mergepoint-perl/current/META.yml
    branches/upstream/libasync-mergepoint-perl/current/Makefile.PL
    branches/upstream/libasync-mergepoint-perl/current/lib/Async/MergePoint.pm
    branches/upstream/libasync-mergepoint-perl/current/t/01mergepoint.t
    branches/upstream/libasync-mergepoint-perl/current/t/02lateclose.t
    branches/upstream/libasync-mergepoint-perl/current/t/03lateneeds.t

Modified: branches/upstream/libasync-mergepoint-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/Build.PL?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/Build.PL (original)
+++ branches/upstream/libasync-mergepoint-perl/current/Build.PL Fri Jun 10 05:57:35 2011
@@ -3,17 +3,17 @@
 
 use Module::Build;
 
-my $build = Module::Build->new
-  (
+my $build = Module::Build->new(
    module_name => 'Async::MergePoint',
    build_requires => {
-                 'Test::Exception' => 0,
-                 'Test::More' => 0,
-               },
+      'Test::Fatal' => 0,
+      'Test::More' => 0,
+   },
+   auto_configure_requires => 0, # Don't add M::B to configure_requires
    license => 'perl',
    create_makefile_pl => 'traditional',
    create_license => 1,
    create_readme  => 1,
-  );
+);
 
 $build->create_build_script;

Modified: branches/upstream/libasync-mergepoint-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/Changes?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/Changes (original)
+++ branches/upstream/libasync-mergepoint-perl/current/Changes Fri Jun 10 05:57:35 2011
@@ -1,4 +1,7 @@
 Revision history for Async-MergePoint
+
+0.04    CHANGES:
+         * use Test::Fatal instead of Test::Exception
 
 0.03    CHANGES:
          * use warnings

Modified: branches/upstream/libasync-mergepoint-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/LICENSE?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/LICENSE (original)
+++ branches/upstream/libasync-mergepoint-perl/current/LICENSE Fri Jun 10 05:57:35 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2009 by Paul Evans <leonerd at leonerd.org.uk>.
+This software is copyright (c) 2011 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,21 +12,22 @@
 
 --- 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) 2011 by Paul Evans <leonerd at leonerd.org.uk>.
 
 This is free software, licensed under:
 
   The GNU General Public License, Version 1, February 1989
 
-		    GNU GENERAL PUBLIC LICENSE
-		     Version 1, February 1989
+                    GNU GENERAL PUBLIC LICENSE
+                     Version 1, February 1989
 
  Copyright (C) 1989 Free Software Foundation, Inc.
-                59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+                    51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
-			    Preamble
+                            Preamble
 
   The license agreements of most software companies try to keep users
 at the mercy of those companies.  By contrast, our General Public
@@ -67,7 +68,7 @@
   The precise terms and conditions for copying, distribution and
 modification follow.
 
-		    GNU GENERAL PUBLIC LICENSE
+                    GNU GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
   0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
 of preserving the free status of all derivatives of our free software and
 of promoting the sharing and reuse of software generally.
 
-			    NO WARRANTY
+                            NO WARRANTY
 
   9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
@@ -207,9 +208,9 @@
 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGES.
 
-		     END OF TERMS AND CONDITIONS
-
-	Appendix: How to Apply These Terms to Your New Programs
+                     END OF TERMS AND CONDITIONS
+
+        Appendix: How to Apply These Terms to Your New Programs
 
   If you develop a new program, and you want it to be of the greatest
 possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
     GNU General Public License for more details.
 
     You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software Foundation,
-    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
+
 
 Also add information on how to contact you by electronic and paper mail.
 
@@ -270,7 +272,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) 2011 by Paul Evans <leonerd at leonerd.org.uk>.
 
 This is free software, licensed under:
 

Modified: branches/upstream/libasync-mergepoint-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/MANIFEST?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/MANIFEST (original)
+++ branches/upstream/libasync-mergepoint-perl/current/MANIFEST Fri Jun 10 05:57:35 2011
@@ -10,3 +10,4 @@
 t/02lateclose.t
 t/03lateneeds.t
 t/99pod.t
+META.json

Added: branches/upstream/libasync-mergepoint-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/META.json?rev=75318&op=file
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/META.json (added)
+++ branches/upstream/libasync-mergepoint-perl/current/META.json Fri Jun 10 05:57:35 2011
@@ -1,0 +1,37 @@
+{
+   "abstract" : "resynchronise diverged control flow",
+   "author" : [
+      "Paul Evans <leonerd at leonerd.org.uk>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110930",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Async-MergePoint",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Test::Fatal" : 0,
+            "Test::More" : 0
+         }
+      }
+   },
+   "provides" : {
+      "Async::MergePoint" : {
+         "file" : "lib/Async/MergePoint.pm",
+         "version" : "0.04"
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ]
+   },
+   "version" : "0.04"
+}

Modified: branches/upstream/libasync-mergepoint-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/META.yml?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/META.yml (original)
+++ branches/upstream/libasync-mergepoint-perl/current/META.yml Fri Jun 10 05:57:35 2011
@@ -1,20 +1,21 @@
 ---
-name: Async-MergePoint
-version: 0.03
+abstract: 'resynchronise diverged control flow'
 author:
   - 'Paul Evans <leonerd at leonerd.org.uk>'
-abstract: resynchronise diverged control flow
+build_requires:
+  Test::Fatal: 0
+  Test::More: 0
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110930'
 license: perl
-resources:
-  license: http://dev.perl.org/licenses/
-build_requires:
-  Test::Exception: 0
-  Test::More: 0
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Async-MergePoint
 provides:
   Async::MergePoint:
     file: lib/Async/MergePoint.pm
-    version: 0.03
-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.04
+resources:
+  license: http://dev.perl.org/licenses/
+version: 0.04

Modified: branches/upstream/libasync-mergepoint-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/Makefile.PL?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/Makefile.PL (original)
+++ branches/upstream/libasync-mergepoint-perl/current/Makefile.PL Fri Jun 10 05:57:35 2011
@@ -1,11 +1,11 @@
-# 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.3800
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
           'NAME' => 'Async::MergePoint',
           'VERSION_FROM' => 'lib/Async/MergePoint.pm',
           'PREREQ_PM' => {
-                           'Test::Exception' => 0,
+                           'Test::Fatal' => 0,
                            'Test::More' => 0
                          },
           'INSTALLDIRS' => 'site',

Modified: branches/upstream/libasync-mergepoint-perl/current/lib/Async/MergePoint.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/lib/Async/MergePoint.pm?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/lib/Async/MergePoint.pm (original)
+++ branches/upstream/libasync-mergepoint-perl/current/lib/Async/MergePoint.pm Fri Jun 10 05:57:35 2011
@@ -1,14 +1,14 @@
 #  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, 2007-2009 -- leonerd at leonerd.org.uk
+#  (C) Paul Evans, 2007-2011 -- leonerd at leonerd.org.uk
 
 package Async::MergePoint;
 
 use strict;
 use warnings;
 
-our $VERSION = '0.03';
+our $VERSION = '0.04';
 
 use Carp;
 
@@ -216,11 +216,6 @@
       $self->{on_finished}->( %{$self->{items}} );
    }
 }
-
-# Keep perl happy; keep Britain tidy
-1;
-
-__END__
 
 =head1 EXAMPLES
 
@@ -270,3 +265,7 @@
 =head1 AUTHOR
 
 Paul Evans <leonerd at leonerd.org.uk>
+
+=cut
+
+0x55AA;

Modified: branches/upstream/libasync-mergepoint-perl/current/t/01mergepoint.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/t/01mergepoint.t?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/t/01mergepoint.t (original)
+++ branches/upstream/libasync-mergepoint-perl/current/t/01mergepoint.t Fri Jun 10 05:57:35 2011
@@ -3,15 +3,15 @@
 use strict;
 
 use Test::More tests => 9;
-use Test::Exception;
+use Test::Fatal;
 
 use Async::MergePoint;
 
-dies_ok( sub { Async::MergePoint->new( needs => "hello", on_finished => sub { "DUMMY" } ) },
-         'needs not ARRAY' );
+ok( exception { Async::MergePoint->new( needs => "hello", on_finished => sub { "DUMMY" } ) },
+    'needs not ARRAY' );
 
-dies_ok( sub { Async::MergePoint->new( needs => ['foo'], on_finished => "goodbye" ) },
-         'on_finished not CODE' );
+ok( exception { Async::MergePoint->new( needs => ['foo'], on_finished => "goodbye" ) },
+    'on_finished not CODE' );
 
 my %items;
 
@@ -51,5 +51,5 @@
    on_finished => sub { "DUMMY" },
 );
 
-dies_ok( sub { $merge->done( "orange" => 1 ) },
-         'done something not needed fails' );
+ok( exception { $merge->done( "orange" => 1 ) },
+    'done something not needed fails' );

Modified: branches/upstream/libasync-mergepoint-perl/current/t/02lateclose.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/t/02lateclose.t?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/t/02lateclose.t (original)
+++ branches/upstream/libasync-mergepoint-perl/current/t/02lateclose.t Fri Jun 10 05:57:35 2011
@@ -3,7 +3,7 @@
 use strict;
 
 use Test::More tests => 5;
-use Test::Exception;
+use Test::Fatal;
 
 use Async::MergePoint;
 
@@ -32,5 +32,5 @@
    on_finished => sub { },
 );
 
-dies_ok( sub { $merge->close( on_finished => sub { } ) },
-         'closing an already-closed MergePoint fails' );
+ok( exception { $merge->close( on_finished => sub { } ) },
+    'closing an already-closed MergePoint fails' );

Modified: branches/upstream/libasync-mergepoint-perl/current/t/03lateneeds.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libasync-mergepoint-perl/current/t/03lateneeds.t?rev=75318&op=diff
==============================================================================
--- branches/upstream/libasync-mergepoint-perl/current/t/03lateneeds.t (original)
+++ branches/upstream/libasync-mergepoint-perl/current/t/03lateneeds.t Fri Jun 10 05:57:35 2011
@@ -3,7 +3,7 @@
 use strict;
 
 use Test::More tests => 5;
-use Test::Exception;
+use Test::Fatal;
 
 use Async::MergePoint;
 
@@ -23,8 +23,8 @@
 
 is( $done, 1, 'Closing a not ready MergePoint does not callback' );
 
-dies_ok( sub { $merge->needs( 'bar' ) },
-         'Extending an already-closed MergePoint fails' );
+ok( exception { $merge->needs( 'bar' ) },
+    'Extending an already-closed MergePoint fails' );
 
 $merge->done( 'foo' );
 




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