r3560 - in /packages/libclass-factory-perl/branches/upstream/current: Changes META.yml Makefile.PL README lib/Class/Factory.pm t/MySimpleBand.pm

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Sep 2 16:41:15 UTC 2006


Author: gregoa-guest
Date: Sat Sep  2 16:41:14 2006
New Revision: 3560

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3560
Log:
Load /tmp/tmp.CaSSoX1179/libclass-factory-perl-1.04 into
packages/libclass-factory-perl/branches/upstream/current.

Modified:
    packages/libclass-factory-perl/branches/upstream/current/Changes
    packages/libclass-factory-perl/branches/upstream/current/META.yml
    packages/libclass-factory-perl/branches/upstream/current/Makefile.PL
    packages/libclass-factory-perl/branches/upstream/current/README
    packages/libclass-factory-perl/branches/upstream/current/lib/Class/Factory.pm
    packages/libclass-factory-perl/branches/upstream/current/t/MySimpleBand.pm

Modified: packages/libclass-factory-perl/branches/upstream/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/Changes?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/Changes (original)
+++ packages/libclass-factory-perl/branches/upstream/current/Changes Sat Sep  2 16:41:14 2006
@@ -1,4 +1,10 @@
 Revision history for Perl extension Class::Factory.
+
+1.04  Mon Aug  20 22:26:15 PST 2006
+      
+      - New maintainer, Fred Moyer <fred at redhotpenguin.com>
+	  - Add Devel::Cover support, current coverage is 71%
+	  - Moved check for Test::More to MY::test
 
 1.03  Thu Oct 14 10:08:08 EDT 2004
 

Modified: packages/libclass-factory-perl/branches/upstream/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/META.yml?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/META.yml (original)
+++ packages/libclass-factory-perl/branches/upstream/current/META.yml Sat Sep  2 16:41:14 2006
@@ -1,10 +1,10 @@
+# http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Class-Factory
-version:      1.03
+version:      1.04
 version_from: lib/Class/Factory.pm
 installdirs:  site
 requires:
-    Test::More:                    0.4
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.12
+generated_by: ExtUtils::MakeMaker version 6.17

Modified: packages/libclass-factory-perl/branches/upstream/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/Makefile.PL?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/Makefile.PL (original)
+++ packages/libclass-factory-perl/branches/upstream/current/Makefile.PL Sat Sep  2 16:41:14 2006
@@ -3,7 +3,6 @@
 my %opts = (
     'NAME'         => 'Class::Factory',
     'VERSION_FROM' => 'lib/Class/Factory.pm',
-    'PREREQ_PM'    => { 'Test::More' => 0.40, }
 );
 
 if ( $ExtUtils::MakeMaker::VERSION >= 5.43 ) {
@@ -12,3 +11,25 @@
 }
 
 WriteMakefile( %opts );
+
+sub MY::test {
+
+    my $test = shift->MM::test(@_);
+
+	eval { require Test::More } && ($Test::More::VERSION >= 0.62) 
+or return <<EOF;
+test::
+\t\@echo sorry, cannot run tests without Test::More 0.62
+EOF
+
+    if ( eval { require Devel::Cover } ) {
+        $test .= <<EOF;
+testcover ::
+	cover -delete
+	HARNESS_PERL_SWITCHES=-MDevel::Cover make test
+	cover
+EOF
+    }
+
+    return $test;
+}

Modified: packages/libclass-factory-perl/branches/upstream/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/README?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/README (original)
+++ packages/libclass-factory-perl/branches/upstream/current/README Sat Sep  2 16:41:14 2006
@@ -60,14 +60,16 @@
 
 COPYRIGHT AND LICENCE
 
-Copyright (c) 2002-2004 Chris Winters. All rights reserved.
+Copyright (c) 2002-2006 Chris Winters. All rights reserved.
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
 
 AUTHORS
 
-Chris Winters <chris at cwinters.com>
+Fred Moyer <fred at redhotpenguin.com> is the current maintainer.
+
+Chris Winters <chris at cwinters.com> is the author of Class::Factory.
 
 Eric Andreychek <eric at openthought.net> also helped out with code,
 testing and good advice.

Modified: packages/libclass-factory-perl/branches/upstream/current/lib/Class/Factory.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/lib/Class/Factory.pm?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/lib/Class/Factory.pm (original)
+++ packages/libclass-factory-perl/branches/upstream/current/lib/Class/Factory.pm Sat Sep  2 16:41:14 2006
@@ -1,10 +1,10 @@
 package Class::Factory;
 
-# $Id: Factory.pm,v 1.15 2004/10/14 14:13:46 cwinters Exp $
+# $Id: Factory.pm 40 2006-08-02 05:51:40Z cwinters $
 
 use strict;
 
-$Class::Factory::VERSION = '1.03';
+$Class::Factory::VERSION = '1.04';
 
 my %CLASS_BY_FACTORY_AND_TYPE  = ();
 my %FACTORY_INFO_BY_CLASS      = ();

Modified: packages/libclass-factory-perl/branches/upstream/current/t/MySimpleBand.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libclass-factory-perl/branches/upstream/current/t/MySimpleBand.pm?rev=3560&op=diff
==============================================================================
--- packages/libclass-factory-perl/branches/upstream/current/t/MySimpleBand.pm (original)
+++ packages/libclass-factory-perl/branches/upstream/current/t/MySimpleBand.pm Sat Sep  2 16:41:14 2006
@@ -1,6 +1,6 @@
 package MySimpleBand;
 
-# $Id: MySimpleBand.pm,v 1.5 2004/10/13 02:00:44 cwinters Exp $
+# $Id: MySimpleBand.pm 35 2004-10-13 02:00:44Z cwinters $
 
 use strict;
 use base qw( Class::Factory );




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