Hello community,

here is the log from the commit of package perl-Any-Moose for openSUSE:Factory
checked in at Mon Sep 19 21:15:34 CEST 2011.



--------
--- perl-Any-Moose/perl-Any-Moose.changes       2011-06-20 10:42:52.000000000 
+0200
+++ /mounts/work_src_done/STABLE/perl-Any-Moose/perl-Any-Moose.changes  
2011-09-19 10:01:27.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Sep 19 07:39:30 UTC 2011 - co...@suse.com
+
+- updated to 0.17
+  * Better indicate that this module is dynamically configured.
+    - fixes [rt.cpan.org #70996]
+  * If you have Moose installed you no longer get the Mouse dependency (rjbs, 
reported by andk)
+     Any::Moose has long had both runtime and test support for Moose
+     without Mouse, but the toolchain has not, until recently, been
+     good enough to handle alternatives. This change is designed
+     to affect very few people.
+    - fixes [rt.cpan.org #70597]
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  Any-Moose-0.15.tar.gz

New:
----
  Any-Moose-0.17.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Any-Moose.spec ++++++
--- /var/tmp/diff_new_pack.GlHiPC/_old  2011-09-19 21:15:28.000000000 +0200
+++ /var/tmp/diff_new_pack.GlHiPC/_new  2011-09-19 21:15:28.000000000 +0200
@@ -18,11 +18,11 @@
 
 
 Name:           perl-Any-Moose
-Version:        0.15
-Release:        3
+Version:        0.17
+Release:        1
 License:        GPL+ or Artistic
 %define cpan_name Any-Moose
-Summary:        Use Moose or Mouse modules
+Summary:        use Moose or Mouse modules
 Url:            http://search.cpan.org/dist/Any-Moose/
 Group:          Development/Libraries/Perl
 Source:         
http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz
@@ -30,12 +30,12 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Mouse) >= 0.40
-BuildRequires:  perl(MooseX::Types)
-BuildRequires:  perl(MouseX::Types)
-Requires:       perl(Mouse) >= 0.40
-Requires:       perl(MooseX::Types)
-Requires:       perl(MouseX::Types)
+#BuildRequires: perl(Any::Moose)
+#BuildRequires: perl(Data::PowerSet)
+#BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome)
+BuildRequires:  perl(Moose)
+#BuildRequires: perl(Mouse)
+#BuildRequires: perl(namespace::autoclean)
 %{perl_requires}
 
 %description
@@ -73,9 +73,6 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
 %defattr(-,root,root,755)
 %doc Changes LICENSE README

++++++ Any-Moose-0.15.tar.gz -> Any-Moose-0.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/Changes new/Any-Moose-0.17/Changes
--- old/Any-Moose-0.15/Changes  2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/Changes  2011-09-17 00:17:51.000000000 +0200
@@ -1,3 +1,15 @@
+0.17 2011-09-16
+  * Better indicate that this module is dynamically configured.
+    - fixes [rt.cpan.org #70996]
+
+0.16 2011-09-15
+  * If you have Moose installed you no longer get the Mouse dependency (rjbs, 
reported by andk)
+     Any::Moose has long had both runtime and test support for Moose
+     without Mouse, but the toolchain has not, until recently, been
+     good enough to handle alternatives. This change is designed
+     to affect very few people.
+    - fixes [rt.cpan.org #70597]
+
 0.15 2011-06-07
   * Standardize the tests' Mouse/Moose loading eval/skip code
     (Sartak, reported by Daniel Macks)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/MANIFEST new/Any-Moose-0.17/MANIFEST
--- old/Any-Moose-0.15/MANIFEST 2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/MANIFEST 2011-09-17 00:17:51.000000000 +0200
@@ -6,10 +6,12 @@
 README
 devel/test-combos.pl
 dist.ini
+inc/MakeMaker.pm
 lib/Any/Moose.pm
 t/000-version.t
 t/001-basic-moose.t
 t/001-basic-mouse.t
+t/001-basic.t
 t/002-other-modules-moose.t
 t/002-other-modules-mouse.t
 t/003-is_moose_loaded.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/META.yml new/Any-Moose-0.17/META.yml
--- old/Any-Moose-0.15/META.yml 2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/META.yml 2011-09-17 00:17:51.000000000 +0200
@@ -9,14 +9,13 @@
 build_requires: {}
 configure_requires:
   ExtUtils::MakeMaker: 6.30
-dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200007, CPAN::Meta::Converter version 
2.110440'
+dynamic_config: 1
+generated_by: 'Dist::Zilla version 4.200015, CPAN::Meta::Converter version 
2.112150'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Any-Moose
 requires:
-  Mouse: 0.40
   perl: 5.006_002
-version: 0.15
+version: 0.17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/Makefile.PL 
new/Any-Moose-0.17/Makefile.PL
--- old/Any-Moose-0.15/Makefile.PL      2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/Makefile.PL      2011-09-17 00:17:51.000000000 +0200
@@ -1,13 +1,10 @@
-
+# This Makefile.PL for  was generated by Dist::Zilla.
+# Don't edit it but the dist.ini used to construct it.
+BEGIN { require 5.006_002; }
 use strict;
 use warnings;
-
-use 5.006_002;
-
 use ExtUtils::MakeMaker 6.30;
 
-
-
 my %WriteMakefileArgs = (
   'ABSTRACT' => 'use Moose or Mouse modules',
   'AUTHOR' => 'Shawn M Moore <sar...@bestpractical.com>, Florian Ragwitz 
<r...@debian.org>, Stevan Little <ste...@iinteractive.com>, Tokuhiro Matsuno 
<tokuhi...@gmail.com>, Goro Fuji <gf...@cpan.org>',
@@ -19,14 +16,24 @@
   'EXE_FILES' => [],
   'LICENSE' => 'perl',
   'NAME' => 'Any::Moose',
-  'PREREQ_PM' => {
-    'Mouse' => '0.40'
-  },
-  'VERSION' => '0.15',
+  'PREREQ_PM' => {},
+  'VERSION' => '0.17',
   'test' => {
     'TESTS' => 't/*.t'
   }
 );
+;
+
+$WriteMakefileArgs{PREREQ_PM} ||= {};
+
+if (eval { require Moose }) {
+  # we have any version of Moose; good enough! -- rjbs, 2011-09-15
+} else {
+  # No Moose?  Well, we need *something* to test with, so we'll ask for the
+  # lighter-weight one, Mouse. -- rjbs, 2011-09-15
+  $WriteMakefileArgs{PREREQ_PM}{Mouse} = '0.40';
+}
+
 
 
 unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
@@ -47,5 +54,3 @@
 
 WriteMakefile(%WriteMakefileArgs);
 
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/README new/Any-Moose-0.17/README
--- old/Any-Moose-0.15/README   2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/README   2011-09-17 00:17:51.000000000 +0200
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution Any-Moose,
-version 0.15:
+version 0.17:
 
   use Moose or Mouse modules
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/devel/test-combos.pl 
new/Any-Moose-0.17/devel/test-combos.pl
--- old/Any-Moose-0.15/devel/test-combos.pl     2011-06-08 00:58:49.000000000 
+0200
+++ new/Any-Moose-0.17/devel/test-combos.pl     2011-09-17 00:17:51.000000000 
+0200
@@ -17,7 +17,8 @@
     $ENV{PERL5OPT} = "-MTest::Without::Module=$list";
     system("prove");
 
-    push @{ $results{ $? >> 8 ? "NOT OK" : "OK" } }, $list;
+    my $result = $? >> 8 ? "NOT OK" : "OK";
+    push @{ $results{$result} }, $list;
 }
 
 for my $result (sort keys %results) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/dist.ini new/Any-Moose-0.17/dist.ini
--- old/Any-Moose-0.15/dist.ini 2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/dist.ini 2011-09-17 00:17:51.000000000 +0200
@@ -1,5 +1,5 @@
 name    = Any-Moose
-version = 0.15
+version = 0.17
 author  = Shawn M Moore <sar...@bestpractical.com>
 author  = Florian Ragwitz <r...@debian.org>
 author  = Stevan Little <ste...@iinteractive.com>
@@ -11,9 +11,14 @@
 [@Filter]
 bundle = @Classic
 remove = PodVersion
+remove = MakeMaker
+
+[=inc::MakeMaker]
+; authordep Dist::Zilla::Plugin::MakeMaker::Awesome
+
+[Meta::Dynamic::Config]
 
 [PodWeaver]
 
 [Prereqs]
-Mouse = 0.40
 perl  = 5.006_002
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/inc/MakeMaker.pm 
new/Any-Moose-0.17/inc/MakeMaker.pm
--- old/Any-Moose-0.15/inc/MakeMaker.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Any-Moose-0.17/inc/MakeMaker.pm 2011-09-17 00:17:51.000000000 +0200
@@ -0,0 +1,30 @@
+package inc::MakeMaker;
+use Moose;
+extends 'Dist::Zilla::Plugin::MakeMaker::Awesome';
+
+use namespace::autoclean;
+
+override _build_WriteMakefile_dump => sub {
+  my ($self) = @_;
+
+  my $str = super;
+
+  $str .= ";\n\n";
+
+  $str .= <<'END_NONSENSE';
+$WriteMakefileArgs{PREREQ_PM} ||= {};
+
+if (eval { require Moose }) {
+  # we have any version of Moose; good enough! -- rjbs, 2011-09-15
+} else {
+  # No Moose?  Well, we need *something* to test with, so we'll ask for the
+  # lighter-weight one, Mouse. -- rjbs, 2011-09-15
+  $WriteMakefileArgs{PREREQ_PM}{Mouse} = '0.40';
+}
+
+END_NONSENSE
+
+  return $str;
+};
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/lib/Any/Moose.pm 
new/Any-Moose-0.17/lib/Any/Moose.pm
--- old/Any-Moose-0.15/lib/Any/Moose.pm 2011-06-08 00:58:49.000000000 +0200
+++ new/Any-Moose-0.17/lib/Any/Moose.pm 2011-09-17 00:17:51.000000000 +0200
@@ -1,6 +1,6 @@
 package Any::Moose;
-BEGIN {
-  $Any::Moose::VERSION = '0.15';
+{
+  $Any::Moose::VERSION = '0.17';
 }
 # ABSTRACT: use Moose or Mouse modules
 
@@ -236,7 +236,7 @@
 
 =head1 VERSION
 
-version 0.15
+version 0.17
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Any-Moose-0.15/t/001-basic.t 
new/Any-Moose-0.17/t/001-basic.t
--- old/Any-Moose-0.15/t/001-basic.t    1970-01-01 01:00:00.000000000 +0100
+++ new/Any-Moose-0.17/t/001-basic.t    2011-09-17 00:17:51.000000000 +0200
@@ -0,0 +1,35 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+do {
+    package Point;
+    use Any::Moose;
+
+    has ['x', 'y'] => (
+        is  => 'rw',
+        isa => 'Int',
+    );
+
+    sub BUILDARGS {
+        my ($class, $x, $y) = @_;
+        return { x => $x, y => $y };
+    }
+};
+
+my $origin = Point->new(0, 0);
+is($origin->x, 0);
+is($origin->y, 0);
+
+my $aa = Point->new(1, 1);
+is($aa->x, 1);
+is($aa->y, 1);
+
+$aa->x(-1);
+
+is($aa->x, -1);
+is($aa->y, 1);
+
+done_testing;
+


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to