r74262 - in /trunk/libany-moose-perl: ./ debian/ lib/Any/ t/
ghedo-guest at users.alioth.debian.org
ghedo-guest at users.alioth.debian.org
Thu May 12 15:11:34 UTC 2011
Author: ghedo-guest
Date: Thu May 12 15:11:22 2011
New Revision: 74262
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74262
Log:
* New upstream release
* Update upstream copyright year
* Bump Standards-Version to 3.9.2 (no changes needed)
* Bump debhelper compat level to 8
* Replace "Debian GNU/Linux" with just "Debian" in debian/copyright
* Fix lintian copyright-refers-to-symlink-license
* Add myself to Uploaders
Modified:
trunk/libany-moose-perl/LICENSE
trunk/libany-moose-perl/MANIFEST
trunk/libany-moose-perl/META.yml
trunk/libany-moose-perl/Makefile.PL
trunk/libany-moose-perl/README
trunk/libany-moose-perl/debian/changelog
trunk/libany-moose-perl/debian/compat
trunk/libany-moose-perl/debian/control
trunk/libany-moose-perl/debian/copyright
trunk/libany-moose-perl/dist.ini
trunk/libany-moose-perl/lib/Any/Moose.pm
trunk/libany-moose-perl/t/001-basic-moose.t
trunk/libany-moose-perl/t/001-basic-mouse.t
trunk/libany-moose-perl/t/004-x-modules-mouse.t
trunk/libany-moose-perl/t/release-pod-coverage.t
trunk/libany-moose-perl/t/release-pod-syntax.t
Modified: trunk/libany-moose-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/LICENSE?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/LICENSE (original)
+++ trunk/libany-moose-perl/LICENSE Thu May 12 15:11:22 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
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,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2010 by Best Practical Solutions.
+This software is Copyright (c) 2011 by Best Practical Solutions.
This is free software, licensed under:
@@ -270,7 +270,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2010 by Best Practical Solutions.
+This software is Copyright (c) 2011 by Best Practical Solutions.
This is free software, licensed under:
Modified: trunk/libany-moose-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/MANIFEST?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/MANIFEST (original)
+++ trunk/libany-moose-perl/MANIFEST Thu May 12 15:11:22 2011
@@ -25,4 +25,4 @@
t/101-localize-errvar.t
t/lib/AnyMooseTest.pm
t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/release-pod-syntax.t
Modified: trunk/libany-moose-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/META.yml?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/META.yml (original)
+++ trunk/libany-moose-perl/META.yml Thu May 12 15:11:22 2011
@@ -9,14 +9,14 @@
build_requires: {}
configure_requires:
ExtUtils::MakeMaker: 6.31
-generated_by: 'Dist::Zilla version 2.100921'
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110360'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Any-Moose
-recommends: {}
requires:
Mouse: 0.40
perl: 5.006_002
-version: 0.13
+version: 0.14
Modified: trunk/libany-moose-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/Makefile.PL?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/Makefile.PL (original)
+++ trunk/libany-moose-perl/Makefile.PL Thu May 12 15:11:22 2011
@@ -2,35 +2,45 @@
use strict;
use warnings;
- BEGIN { require 5.006_002; }
+BEGIN { require 5.006_002; }
use ExtUtils::MakeMaker 6.31;
my %WriteMakefileArgs = (
- 'test' => {
- 'TESTS' => 't/*.t'
- },
- 'NAME' => 'Any::Moose',
- 'DISTNAME' => 'Any-Moose',
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.31'
- },
- 'AUTHOR' => 'Shawn M Moore <sartak at bestpractical.com>, Florian Ragwitz <rafl at debian.org>, Stevan Little <stevan at iinteractive.com>, Tokuhiro Matsuno <tokuhirom at gmail.com>, Goro Fuji <gfuji at cpan.org>',
- 'BUILD_REQUIRES' => {},
- 'ABSTRACT' => 'use Moose or Mouse modules',
- 'EXE_FILES' => [],
- 'VERSION' => '0.13',
- 'PREREQ_PM' => {
- 'Mouse' => '0.40'
- },
- 'LICENSE' => 'perl'
- );
+ 'ABSTRACT' => 'use Moose or Mouse modules',
+ 'AUTHOR' => 'Shawn M Moore <sartak at bestpractical.com>, Florian Ragwitz <rafl at debian.org>, Stevan Little <stevan at iinteractive.com>, Tokuhiro Matsuno <tokuhirom at gmail.com>, Goro Fuji <gfuji at cpan.org>',
+ 'BUILD_REQUIRES' => {},
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'Any-Moose',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'perl',
+ 'NAME' => 'Any::Moose',
+ 'PREREQ_PM' => {
+ 'Mouse' => '0.40'
+ },
+ 'VERSION' => '0.14',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
+);
-delete $WriteMakefileArgs{BUILD_REQUIRES}
- unless eval { ExtUtils::MakeMaker->VERSION(6.56) };
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
Modified: trunk/libany-moose-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/README?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/README (original)
+++ trunk/libany-moose-perl/README Thu May 12 15:11:22 2011
@@ -1,11 +1,11 @@
This archive contains the distribution Any-Moose,
-version 0.13:
+version 0.14:
use Moose or Mouse modules
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Modified: trunk/libany-moose-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/debian/changelog?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/debian/changelog (original)
+++ trunk/libany-moose-perl/debian/changelog Thu May 12 15:11:22 2011
@@ -1,8 +1,18 @@
-libany-moose-perl (0.13-2) UNRELEASED; urgency=low
+libany-moose-perl (0.14-1) UNRELEASED; urgency=low
+ [ Ansgar Burchardt ]
* Update my email address.
- -- Ansgar Burchardt <ansgar at debian.org> Mon, 01 Nov 2010 11:16:15 +0100
+ [ Alessandro Ghedini ]
+ * New upstream release
+ * Update upstream copyright year
+ * Bump Standards-Version to 3.9.2 (no changes needed)
+ * Bump debhelper compat level to 8
+ * Replace "Debian GNU/Linux" with just "Debian" in debian/copyright
+ * Fix lintian copyright-refers-to-symlink-license
+ * Add myself to Uploaders
+
+ -- Alessandro Ghedini <al3xbio at gmail.com> Thu, 12 May 2011 17:03:52 +0200
libany-moose-perl (0.13-1) unstable; urgency=low
@@ -32,7 +42,7 @@
* Standards-Version 3.8.3 (no changes)
* Add myself to Uploaders and Copyright
* Use new short debhelper rules file
-
+
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
Modified: trunk/libany-moose-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/debian/compat?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/debian/compat (original)
+++ trunk/libany-moose-perl/debian/compat Thu May 12 15:11:22 2011
@@ -1,1 +1,1 @@
-7
+8
Modified: trunk/libany-moose-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/debian/control?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/debian/control (original)
+++ trunk/libany-moose-perl/debian/control Thu May 12 15:11:22 2011
@@ -1,12 +1,12 @@
Source: libany-moose-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl, libmouse-perl, libmoose-perl, libmoosex-types-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
- Ansgar Burchardt <ansgar at debian.org>
-Standards-Version: 3.8.4
+ Ansgar Burchardt <ansgar at debian.org>, Alessandro Ghedini <al3xbio at gmail.com>
+Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/Any-Moose/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libany-moose-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libany-moose-perl/
Modified: trunk/libany-moose-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/debian/copyright?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/debian/copyright (original)
+++ trunk/libany-moose-perl/debian/copyright Thu May 12 15:11:22 2011
@@ -4,7 +4,7 @@
Name: Any-Moose
Files: *
-Copyright: 2010, Best Practical Solutions
+Copyright: 2011, Best Practical Solutions
License: Artistic or GPL-1+
Files: debian/*
@@ -16,7 +16,7 @@
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
+ On Debian systems, the complete text of the Artistic License
can be found in `/usr/share/common-licenses/Artistic'
License: GPL-1+
@@ -25,6 +25,6 @@
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'
Modified: trunk/libany-moose-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/dist.ini?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/dist.ini (original)
+++ trunk/libany-moose-perl/dist.ini Thu May 12 15:11:22 2011
@@ -1,5 +1,5 @@
name = Any-Moose
-version = 0.13
+version = 0.14
author = Shawn M Moore <sartak at bestpractical.com>
author = Florian Ragwitz <rafl at debian.org>
author = Stevan Little <stevan at iinteractive.com>
Modified: trunk/libany-moose-perl/lib/Any/Moose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/lib/Any/Moose.pm?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/lib/Any/Moose.pm (original)
+++ trunk/libany-moose-perl/lib/Any/Moose.pm Thu May 12 15:11:22 2011
@@ -1,6 +1,6 @@
package Any::Moose;
BEGIN {
- $Any::Moose::VERSION = '0.13';
+ $Any::Moose::VERSION = '0.14';
}
# ABSTRACT: use Moose or Mouse modules
@@ -236,13 +236,11 @@
=head1 VERSION
-version 0.13
+version 0.14
=head1 SYNOPSIS
-
=head2 BASIC
-
package Class;
@@ -253,7 +251,6 @@
no Any::Moose;
=head2 OTHER MODULES
-
package Other::Class;
use Any::Moose;
@@ -264,14 +261,12 @@
=head2 ROLES
-
package My::Sorter;
use Any::Moose 'Role';
requires 'cmp';
=head2 COMPLEX USAGE
-
package My::Meta::Class;
use Any::Moose;
@@ -292,12 +287,10 @@
=head1 DESCRIPTION
-
Though we recommend that people generally use L<Moose>, we accept that Moose
cannot yet be used for everything everywhere. People generally like the Moose
sugar, so many people use L<Mouse>, a lightweight replacement for parts of
Moose.
-
Because Mouse strives for compatibility with Moose, it's easy to substitute one
for the other. This module facilitates that substitution. By default, Mouse
@@ -306,23 +299,18 @@
of which backend to use by setting the environment variable C<ANY_MOOSE> to
be C<Moose> or C<Mouse>.
-
Note that the decision of which backend to use is made only once, so that if
Any-Moose picks Mouse, then a third-party library loads Moose, anything else
that uses Any-Moose will continue to pick Mouse.
-
So, if you have to use L<Mouse>, please be considerate to the Moose fanboys
(like myself!) and use L<Any-Moose> instead. C<:)>
=head1 SEE ALSO
-
L<Moose>
-
L<Mouse>
-
L<Squirrel> - a deprecated first-stab at Any-Moose-like logic. Its biggest
fault was in making the decision of which backend to use every time it was
@@ -330,15 +318,33 @@
=head1 AUTHORS
- Shawn M Moore <sartak at bestpractical.com>
- Florian Ragwitz <rafl at debian.org>
- Stevan Little <stevan at iinteractive.com>
- Tokuhiro Matsuno <tokuhirom at gmail.com>
- Goro Fuji <gfuji at cpan.org>
+=over 4
+
+=item *
+
+Shawn M Moore <sartak at bestpractical.com>
+
+=item *
+
+Florian Ragwitz <rafl at debian.org>
+
+=item *
+
+Stevan Little <stevan at iinteractive.com>
+
+=item *
+
+Tokuhiro Matsuno <tokuhirom at gmail.com>
+
+=item *
+
+Goro Fuji <gfuji at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Modified: trunk/libany-moose-perl/t/001-basic-moose.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/t/001-basic-moose.t?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/t/001-basic-moose.t (original)
+++ trunk/libany-moose-perl/t/001-basic-moose.t Thu May 12 15:11:22 2011
@@ -6,42 +6,36 @@
BEGIN { delete $ENV{ANY_MOOSE} }
BEGIN {
- eval 'require Mouse';
- plan skip_all => 'Mouse not available' if $@;
+ eval 'require Moose';
+ plan skip_all => 'Moose not available' if $@;
plan tests => 9;
}
do {
- package Moused::Any::Moose;
+ package Moosed::Any::Moose;
use Any::Moose;
::ok(__PACKAGE__->can('meta'), 'Mo*se was installed');
- ::like(__PACKAGE__->meta, qr/^Mouse/, 'Mouse was installed');
+ ::like(__PACKAGE__->meta, qr/^Moose/, 'Moose was installed');
- ::is(any_moose, 'Mouse');
- ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
+ ::is(any_moose, 'Moose');
+ ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
- ::is(any_moose, 'Mouse', 'still Mouse even if Moose is loaded');
+ ::is(any_moose, 'Moose', 'still Moose even if Moose is loaded');
no Any::Moose;
};
-ok(!Moused::Any::Moose->can('has'), "has was unimported");
+ok(!Moosed::Any::Moose->can('has'), "has was unimported");
-SKIP: {
- my $loaded_moose;
- BEGIN { $loaded_moose = eval 'require Moose' }
- skip "Moose required for these tests to be useful" => 3 unless $loaded_moose;
+do {
+ package After::Moose;
+ use Any::Moose;
- do {
- package After::Moose;
- use Any::Moose;
+ ::is(any_moose, 'Moose');
+ ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
- ::is(any_moose, 'Mouse');
- ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
+ no Any::Moose;
+};
- no Any::Moose;
- };
-
- ok(!After::Moose->can('has'), "has was unimported");
-}
+ok(!After::Moose->can('has'), "has was unimported");
Modified: trunk/libany-moose-perl/t/001-basic-mouse.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/t/001-basic-mouse.t?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/t/001-basic-mouse.t (original)
+++ trunk/libany-moose-perl/t/001-basic-mouse.t Thu May 12 15:11:22 2011
@@ -6,36 +6,42 @@
BEGIN { delete $ENV{ANY_MOOSE} }
BEGIN {
- eval 'require Moose';
- plan skip_all => 'Moose not available' if $@;
+ eval 'require Mouse';
+ plan skip_all => 'Mouse not available' if $@;
plan tests => 9;
}
do {
- package Moosed::Any::Moose;
+ package Moused::Any::Moose;
use Any::Moose;
::ok(__PACKAGE__->can('meta'), 'Mo*se was installed');
- ::like(__PACKAGE__->meta, qr/^Moose/, 'Moose was installed');
+ ::like(__PACKAGE__->meta, qr/^Mouse/, 'Mouse was installed');
- ::is(any_moose, 'Moose');
- ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
+ ::is(any_moose, 'Mouse');
+ ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
- ::is(any_moose, 'Moose', 'still Moose even if Moose is loaded');
+ ::is(any_moose, 'Mouse', 'still Mouse even if Moose is loaded');
no Any::Moose;
};
-ok(!Moosed::Any::Moose->can('has'), "has was unimported");
+ok(!Moused::Any::Moose->can('has'), "has was unimported");
-do {
- package After::Moose;
- use Any::Moose;
+SKIP: {
+ my $loaded_moose;
+ BEGIN { $loaded_moose = eval 'require Moose' }
+ skip "Moose required for these tests to be useful" => 3 unless $loaded_moose;
- ::is(any_moose, 'Moose');
- ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
+ do {
+ package After::Moose;
+ use Any::Moose;
- no Any::Moose;
-};
+ ::is(any_moose, 'Mouse');
+ ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
-ok(!After::Moose->can('has'), "has was unimported");
+ no Any::Moose;
+ };
+
+ ok(!After::Moose->can('has'), "has was unimported");
+}
Modified: trunk/libany-moose-perl/t/004-x-modules-mouse.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/t/004-x-modules-mouse.t?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/t/004-x-modules-mouse.t (original)
+++ trunk/libany-moose-perl/t/004-x-modules-mouse.t Thu May 12 15:11:22 2011
@@ -6,7 +6,7 @@
BEGIN { delete $ENV{ANY_MOOSE} }
BEGIN {
- plan skip_all => 'MouseX::Types not available' unless eval "require MouseX::Types";
+ plan skip_all => 'Mouse or MouseX::Types 0.03 not available' unless eval "require Mouse; require MouseX::Types 0.03;";
plan tests => 2;
}
Modified: trunk/libany-moose-perl/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/t/release-pod-coverage.t?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/t/release-pod-coverage.t (original)
+++ trunk/libany-moose-perl/t/release-pod-coverage.t Thu May 12 15:11:22 2011
@@ -18,4 +18,4 @@
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
if $@;
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
Modified: trunk/libany-moose-perl/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libany-moose-perl/t/release-pod-syntax.t?rev=74262&op=diff
==============================================================================
--- trunk/libany-moose-perl/t/release-pod-syntax.t (original)
+++ trunk/libany-moose-perl/t/release-pod-syntax.t Thu May 12 15:11:22 2011
@@ -9,7 +9,7 @@
use Test::More;
-eval "use Test::Pod 1.00";
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-all_pod_files_ok();
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list