r75234 - in /trunk/libmoosex-types-perl/debian: changelog patches/ patches/fix-bad-whatis-entry.patch patches/series

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Tue Jun 7 10:32:24 UTC 2011


Author: ghedo-guest
Date: Tue Jun  7 10:32:16 2011
New Revision: 75234

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=75234
Log:
Add fix-bad-whatis-entry patch

Added:
    trunk/libmoosex-types-perl/debian/patches/
    trunk/libmoosex-types-perl/debian/patches/fix-bad-whatis-entry.patch
    trunk/libmoosex-types-perl/debian/patches/series
Modified:
    trunk/libmoosex-types-perl/debian/changelog

Modified: trunk/libmoosex-types-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-perl/debian/changelog?rev=75234&op=diff
==============================================================================
--- trunk/libmoosex-types-perl/debian/changelog (original)
+++ trunk/libmoosex-types-perl/debian/changelog Tue Jun  7 10:32:16 2011
@@ -4,6 +4,7 @@
   * Update upstream copyright year
   * Remove inc/Module/* from copyright (no more used)
   * Add myself to Uploaders
+  * Add fix-bad-whatis-entry patch
 
  -- Alessandro Ghedini <al3xbio at gmail.com>  Tue, 07 Jun 2011 12:13:20 +0200
 

Added: trunk/libmoosex-types-perl/debian/patches/fix-bad-whatis-entry.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-perl/debian/patches/fix-bad-whatis-entry.patch?rev=75234&op=file
==============================================================================
--- trunk/libmoosex-types-perl/debian/patches/fix-bad-whatis-entry.patch (added)
+++ trunk/libmoosex-types-perl/debian/patches/fix-bad-whatis-entry.patch Tue Jun  7 10:32:16 2011
@@ -1,0 +1,40 @@
+Description: Fix the manpage-has-bad-whatis-entry lintian warning for
+ MooseX::Types::UndefinedType.
+--- a/lib/MooseX/Types/UndefinedType.pm
++++ b/lib/MooseX/Types/UndefinedType.pm
+@@ -11,12 +11,15 @@
+ 
+ use overload '""'     => sub { shift->name },
+              fallback => 1;
++=head1 NAME
++
++MooseX::Types::UndefinedType - Represents a not yet defined type
+ 
+ =head1 DESCRIPTION
+ 
+-Whenever a type handle function (e.g. C<Int()> can't find a type 
++Whenever a type handle function (e.g. C<Int()> can't find a type
+ constraint under it's full name, it assumes it has not yet been defined.
+-It will then return an instance of this class, handling only 
++It will then return an instance of this class, handling only
+ stringification, name and possible identification of undefined types.
+ 
+ Later, when you try to use the Undefined Type Constraint, autovivification will
+@@ -87,7 +90,7 @@
+ 
+ sub AUTOLOAD {
+     my ($self, @args)  = @_;
+-    my ($method) = our $AUTOLOAD =~ /([^:]+)$/;    
++    my ($method) = our $AUTOLOAD =~ /([^:]+)$/;
+ 
+     if(my $type_constraint = $self->__autovivify) {
+         return $type_constraint->$method(@args);
+@@ -110,7 +113,7 @@
+ =head1 SEE ALSO
+ 
+ L<MooseX::Types::Moose>,
+-L<Moose::Util::TypeConstraints>, 
++L<Moose::Util::TypeConstraints>,
+ L<Moose::Meta::TypeConstraint>,
+ L<Carp::Clan>
+ 

Added: trunk/libmoosex-types-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-perl/debian/patches/series?rev=75234&op=file
==============================================================================
--- trunk/libmoosex-types-perl/debian/patches/series (added)
+++ trunk/libmoosex-types-perl/debian/patches/series Tue Jun  7 10:32:16 2011
@@ -1,0 +1,1 @@
+fix-bad-whatis-entry.patch




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