switching over to dzil
Dave Rolsky [Sun, 5 Jun 2011 15:35:19 +0000 (10:35 -0500)]
12 files changed:
MANIFEST.SKIP [deleted file]
Makefile.PL [deleted file]
dist.ini [new file with mode: 0644]
lib/MooseX/Types.pm
lib/MooseX/Types/Base.pm
lib/MooseX/Types/CheckedUtilExports.pm
lib/MooseX/Types/Combine.pm
lib/MooseX/Types/Moose.pm
lib/MooseX/Types/TypeDecorator.pm
lib/MooseX/Types/UndefinedType.pm
lib/MooseX/Types/Util.pm
lib/MooseX/Types/Wrapper.pm

diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644 (file)
index 3d0e937..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-#   This file is a modified version of the MANIFEST.SKIP file
-#   from DBIx-Class.
-#
-
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-,v$
-\B\.svn\b
-\B\.git\b
-
-# Avoid Makemaker generated and utility files.
-\bMakefile$
-\bblib
-\bMakeMaker-\d
-\bpm_to_blib$
-\bblibdirs$
-^MANIFEST\.SKIP$
-
-# for developers only :)
-^TODO$
-
-# Avoid temp and backup files.
-~$
-\.tmp$
-\.old$
-\.bak$
-\.swp$
-\.swo$
-\#$
-\b\.#
-
-# avoid OS X finder files
-\.DS_Store$
-
-# Don't ship the last dist we built :)
-\.tar\.gz$
-
-# Skip maint stuff
-^maint/
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644 (file)
index 600ffe8..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env perl
-use warnings;
-use strict;
-
-use inc::Module::Install 0.91;
-
-name            q{MooseX-Types};
-license         q{perl};
-author          q{Robert "phaylon" Sedlacek <rs@474.at>};
-all_from        q{lib/MooseX/Types.pm};
-
-build_requires  q{Test::More},                  '0.88';
-build_requires  q{FindBin},                     0;
-build_requires  q{Test::Moose},                 0;
-build_requires  q{Test::Fatal},                 0;
-build_requires  q{Test::Requires},              0;
-
-requires        q{Moose},                       '1.06';
-requires        q{Sub::Install},                '0.924';
-requires        q{namespace::clean},            '0.08';
-requires        q{Carp},                        0;
-requires        q{Carp::Clan},                  '6.00';
-requires        q{Scalar::Util},                '1.19';
-requires        q{Sub::Name},                   0;
-
-add_metadata( x_authority => 'cpan:PHAYLON' );
-
-if (can_use('MooseX::Types::IO') && !can_use('MooseX::Types::IO', '0.03')) {
-    requires q{MooseX::Types::IO}, '0.03';
-}
-
-system 'pod2text lib/MooseX/Types.pm > README'
-    if -e 'MANIFEST.SKIP';
-
-auto_provides;
-tests_recursive;
-
-WriteAll;
-
-if ($Module::Install::AUTHOR) {
-    Meta->{values}{requires} = [ grep {
-        $_->[0] ne 'MooseX::Types::IO'
-    } @{ Meta->{values}{requires} } ];
-
-    Meta->write;
-}
diff --git a/dist.ini b/dist.ini
new file mode 100644 (file)
index 0000000..5a458fc
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,47 @@
+name    = MooseX-Types
+author  = Robert "phaylon" Sedlacek <rs@474.at>
+license = Perl_5
+copyright_holder = Robert "phaylon" Sedlacek
+
+version = 0.26
+
+[NextRelease]
+format = %-8v %{yyyy-MM-dd}d
+
+[@Basic]
+
+[InstallGuide]
+[MetaJSON]
+
+[MetaResources]
+bugtracker.web    = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Courriel
+bugtracker.mailto = bug-courriel@rt.cpan.org
+repository.url    = git://git.urth.org/Courriel.git
+repository.web    = http://git.urth.org/Courriel.git
+repository.type   = git
+
+[SurgicalPodWeaver]
+
+[PkgVersion]
+
+[PodSyntaxTests]
+[NoTabsTests]
+[Test::CPAN::Changes]
+
+[Prereqs / BuildRequires]
+FindBin        = 0
+Test::Fatal    = 0
+Test::Moose    = 0
+Test::More     = 0.88
+Test::Requires = 0
+
+[Prereqs]
+Carp             = 0
+Carp::Clan       = 6.00
+Moose            = 1.06
+Scalar::Util     = 1.19
+Sub::Install     = 0.924
+Sub::Name        = 0
+namespace::clean = 0.08
+perl             = v5.8.0
+
index 996b0c0..4f16f9a 100644 (file)
@@ -1,11 +1,7 @@
 package MooseX::Types;
 use Moose;
 
-=head1 NAME
-
-MooseX::Types - Organise your Moose types in libraries
-
-=cut
+# ABSTRACT: Organise your Moose types in libraries
 
 use Moose::Util::TypeConstraints;
 use MooseX::Types::TypeDecorator;
@@ -20,7 +16,6 @@ use Scalar::Util                      'reftype';
 use namespace::clean -except => [qw( meta )];
 
 use 5.008;
-our $VERSION = '0.26';
 my $UndefMsg = q{Action for type '%s' not yet defined in library '%s'};
 
 =head1 SYNOPSIS
@@ -591,10 +586,6 @@ L<Sub::Exporter>
 
 Many thanks to the C<#moose> cabal on C<irc.perl.org>.
 
-=head1 AUTHOR
-
-Robert "phaylon" Sedlacek <rs@474.at>
-
 =head1 CONTRIBUTORS
 
 jnapiorkowski: John Napiorkowski <jjnapiork@cpan.org>
@@ -607,13 +598,6 @@ hdp: Hans Dieter Pearcey <hdp@cpan.org>
 
 autarch: Dave Rolsky <autarch@urth.org>
 
-=head1 COPYRIGHT & LICENSE
-
-Copyright (c) 2007-2009 Robert Sedlacek <rs@474.at>
-
-This program is free software; you can redistribute it and/or modify
-it under the same terms as perl itself.
-
 =cut
 
 1;
index 398ad9c..e172d19 100644 (file)
@@ -1,12 +1,7 @@
 package MooseX::Types::Base;
-our $VERSION = "0.26";
 use Moose;
 
-=head1 NAME
-
-MooseX::Types::Base - Type library base class
-
-=cut
+# ABSTRACT: Type library base class
 
 use Carp::Clan                      qw( ^MooseX::Types );
 use MooseX::Types::Util             qw( filter_tags );
@@ -277,10 +272,6 @@ sub get_registered_role_type {
 
 L<MooseX::Types::Moose>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index 78959d6..0294e64 100644 (file)
@@ -6,7 +6,6 @@ safer for L<MooseX::Types>
 =cut
 
 package MooseX::Types::CheckedUtilExports;
-our $VERSION = "0.26";
 
 use strict;
 use warnings;
@@ -88,10 +87,6 @@ sub role_type ($;$) {
 
 L<MooseX::Types>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index 0fdaa69..73e1e20 100644 (file)
@@ -1,11 +1,6 @@
-=head1 NAME
-
-MooseX::Types::Combine - Combine type libraries for exporting
-
-=cut
-
 package MooseX::Types::Combine;
-our $VERSION = "0.26";
+
+# ABSTRACT: Combine type libraries for exporting
 
 use strict;
 use warnings;
@@ -109,10 +104,6 @@ sub _provided_types {
 
 L<MooseX::Types>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index c51e0be..f5a732d 100644 (file)
@@ -1,11 +1,6 @@
 package MooseX::Types::Moose;
-our $VERSION = "0.26";
 
-=head1 NAME
-
-MooseX::Types::Moose - Types shipped with L<Moose>
-
-=cut
+# ABSTRACT: Type exportes that match the types shipped with L<Moose>
 
 use warnings;
 use strict;
@@ -70,10 +65,6 @@ L<MooseX::Types::Moose>,
 L<Moose>, 
 L<Moose::Util::TypeConstraints>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index b95f124..4c2bc8e 100644 (file)
@@ -1,10 +1,10 @@
 package MooseX::Types::TypeDecorator;
-our $VERSION = "0.26";
+
+#ABSTRACT: Wraps Moose::Meta::TypeConstraint objects with added features
 
 use strict;
 use warnings;
 
-
 use Carp::Clan qw( ^MooseX::Types );
 use Moose::Util::TypeConstraints ();
 use Moose::Meta::TypeConstraint::Union;
@@ -52,10 +52,6 @@ use overload(
     
 );
 
-=head1 NAME
-
-MooseX::Types::TypeDecorator - More flexible access to a Type Constraint
-
 =head1 DESCRIPTION
 
 This is a decorator object that contains an underlying type constraint.  We use
@@ -210,10 +206,6 @@ sub AUTOLOAD {
     }
 }
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index 4c4c10d..58f5d3e 100644 (file)
@@ -1,9 +1,4 @@
 package MooseX::Types::UndefinedType;
-our $VERSION = "0.26";
-
-=head1 NAME
-
-MooseX::Types::UndefinedType - Represents a not yet defined type
 
 =cut
 
@@ -110,10 +105,6 @@ L<Moose::Util::TypeConstraints>,
 L<Moose::Meta::TypeConstraint>,
 L<Carp::Clan>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index bf91020..1b3c979 100644 (file)
@@ -1,11 +1,6 @@
 package MooseX::Types::Util;
-our $VERSION = "0.26";
 
-=head1 NAME
-
-MooseX::Types::Util - Common utility functions for the module
-
-=cut
+#ABSTRACT: Common utility functions for the distribution
 
 use warnings;
 use strict;
@@ -99,10 +94,6 @@ sub has_available_type_export {
 
 L<MooseX::Types::Moose>, L<Exporter>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
index 02b196a..388a535 100644 (file)
@@ -1,11 +1,7 @@
-=head1 NAME
-
-MooseX::Types::Wrapper - Wrap exports from a library
+package MooseX::Types::Wrapper;
 
-=cut
+#ABSTRACT: Wrap exports from a library
 
-package MooseX::Types::Wrapper;
-our $VERSION = "0.26";
 use Moose;
 
 use Carp::Clan      qw( ^MooseX::Types );
@@ -52,10 +48,6 @@ sub import {
 
 L<MooseX::Types>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify