Hello community, here is the log from the commit of package perl-Moose for openSUSE:Factory checked in at Tue May 17 13:33:06 CEST 2011.
-------- --- perl-Moose/perl-Moose.changes 2010-12-01 14:49:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Moose/perl-Moose.changes 2011-04-30 01:42:20.000000000 +0200 @@ -1,0 +2,120 @@ +Fri Apr 29 23:37:20 UTC 2011 - pascal.ble...@opensuse.org + +- update to 2.0002: + * provide definition context information for constructors and destructors, so + that they will show up as something other than "generated method (unknown + origin)". Also, add the package that accessors are defined in to their + definition context. + * use Devel::PartialDump in type constraint error messages, if it is + installed + * stop hiding warnings produced by throwing errors in DEMOLISH methods + * the 'reset' native delegation for Counter attributes will now also respect + builders (previously, it only respected defaults) + +------------------------------------------------------------------- +Sat Apr 23 06:16:43 UTC 2011 - pascal.ble...@opensuse.org + +- update to 2.0001: + * Anonymous classes and roles now have a unified implementation in + Class::MOP::Package. This means that anonymous packages are now also + possible + * No longer call XSLoader from multiple places, as this causes issues on + older perls + * Moose::Meta::Role->create now accepts the 'roles' parameter, as it was + documented too + * Depend on Eval::Closure 0.04, which fixes some issues in mod_perl + environments + +------------------------------------------------------------------- +Fri Apr 22 15:17:33 UTC 2011 - co...@opensuse.org + +- fix build and unsplit Class::MOP - too tough to handle + +------------------------------------------------------------------- +Tue Apr 12 19:41:58 UTC 2011 - pascal.ble...@opensuse.org + +- update to 2.0000: use original sources + +------------------------------------------------------------------- +Thu Feb 24 15:33:05 UTC 2011 - pascal.ble...@opensuse.org + +- update to 1.24: + * reverse the order that Moose::Exporter 'also' exports are dispatched; when + trying to re-export from a package that itself exported a modified set of + Moose sugar, you'd get the original Moose sugar instead of the overrides + +------------------------------------------------------------------- +Mon Feb 14 06:25:01 UTC 2011 - pascal.ble...@opensuse.org + +- update to 1.23: + * when reinitializing meta objects for classes and roles, we failed to + preserve roles and role applications; this led to weird bugs: many MooseX + modules end up reinitializing your class or role + +- changes from 1.20: + * the role attribute metaclass did not inherit from Class::MOP::Object, + which could cause errors when trying to resolve metaclass compatibility + issues + * the lazy_build feature was accidentally removed all the docs; now it's + listed in Moose.pm again + +- changes from 1.18: + * type constraint objects now have an assert_coerce method which will either + return a valid value or throw an error + * we now warn when an accessor for one attribute overwrites an accessor for + another attribute; RT #57510 + * the native Array and Hash delegation methods now coerce individual new + members if the _member type_ has a coercion; in other words, if the array + reference is defined as an ArrayRef[DateTime], and you've defined a + coercion from Int to DateTime, then pushing an integer via a delegation + method will coerce the integer to a DateTime object; RT #62351 + * an attribute using native delegations did not always properly coerce and + type check a lazily set default value + * using a regexp to define delegations for a class which was not yet loaded + did not actually work, but did not explicitly fail; however, it caused an + error when the class was loaded later; RT#60596 + * attempting to delegate to a class or role which is not yet loaded will now + throw an explicit error + * attempting to set lazy_build in an inherited attribute was ignored; + RT#62057 + +- changes from 1.17: + * make native delegation inlining work with instance metaclasses where slot + access is an do {} block, like Kioku; this fixes the use of native + delegations together with Kioku + +- changes from 1.15: + * almost every native delegation method which changes the attribute value + now has an explicitly documented return value; in general, this return + value matches what Perl would return for the same operation + * passing an odd number of args to ->new() now gives a more useful warning + than Perl's builtin warning + * allow disabling stack traces by setting an environment variable; see + Moose::Error::Default for details -- this feature is considered + experimental, and may change in a future release + * the deprecation warning for using alias and excludes without a leading + dash now tells you the role being applied and what it was being applied + to + * a number of native trait methods which expected strings as arguments did + not allow the empty string; this included Array->join, String->match, + String->replace, and String->substr; RT#61962 + * 'no Moose' no longer inadvertently removes imports it didn't create + itself; RT #60013 + * roles now support passing an array reference of method names to method + modifier sugar functions + * native traits no longer use optimized inlining routines if the instance + requests it (in particular, if inline_get_slot_value doesn't return + something that can be assigned to) + * we now ignore all Class::MOP and Moose classes when determining what + package called a deprecated feature; this should make the deprecation + warnings saner, and make it possible to turn them off more easily + * the deprecated "default is" warning no longer happens if the attribute has + any accessor method defined (accessor, reader, writer); also, this warning + only happens when a method that was generated because of the "default is" + gets called, rather than when the attribute is defined + * the "default default" code for some native delegations no longer issues a + deprecation warning when the attribute is required or has a builder + * setting a "default default" caused a fatal error if you used the builder + or lazy_build options for the attribute; RT#59613 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- Moose-1.15.tar.gz New: ---- Moose-2.0002.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Moose.spec ++++++ --- /var/tmp/diff_new_pack.xptLty/_old 2011-05-17 13:30:29.000000000 +0200 +++ /var/tmp/diff_new_pack.xptLty/_new 2011-05-17 13:30:29.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Moose (Version 1.15) +# spec file for package perl-Moose # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,99 +15,100 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: perl-Moose -Version: 1.15 -Release: 3 -Summary: Perl module that implements a complete modern object system -# http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Moose-%{version}.tar.gz -Source: Moose-%{version}.tar.gz +Version: 2.0002 +Release: 1 +License: GPL+ or Artistic +%define cpan_name Moose +Summary: A postmodern object system for Perl 5 Url: http://search.cpan.org/dist/Moose/ Group: Development/Libraries/Perl -License: Perl License +Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -BuildRequires: make +# MANUAL +Provides: perl-Class-MOP = %{version} +Obsoletes: perl-Class-MOP < %{version} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Carp) -BuildRequires: perl(Class::MOP) >= 1.09 BuildRequires: perl(Data::OptList) +BuildRequires: perl(Devel::GlobalDestruction) +BuildRequires: perl(Dist::CheckConflicts) >= 0.02 +BuildRequires: perl(Eval::Closure) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(List::MoreUtils) >= 0.12 -BuildRequires: perl(Package::DeprecationManager) >= 0.04 +BuildRequires: perl(MRO::Compat) >= 0.05 +BuildRequires: perl(Package::DeprecationManager) >= 0.10 +BuildRequires: perl(Package::Stash) >= 0.21 +BuildRequires: perl(Package::Stash::XS) >= 0.18 +BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Scalar::Util) >= 1.19 BuildRequires: perl(Sub::Exporter) >= 0.980 -BuildRequires: perl(Sub::Name) +BuildRequires: perl(Sub::Name) >= 0.05 BuildRequires: perl(Task::Weaken) -BuildRequires: perl(Try::Tiny) >= 0.02 -# for tests: -BuildRequires: perl(IO::String) -BuildRequires: perl(IO::File) -BuildRequires: perl(Test::Output) -BuildRequires: perl(DateTime) -BuildRequires: perl(DateTime::Calendar::Mayan) -BuildRequires: perl(Regexp::Common) -BuildRequires: perl(Locale::US) -BuildRequires: perl(HTTP::Headers) -BuildRequires: perl(Params::Coerce) -BuildRequires: perl(URI) +BuildRequires: perl(Test::Fatal) >= 0.001 BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Test::Exception) >= 0.27 BuildRequires: perl(Test::Requires) >= 0.05 -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Module::Install::ExtraTests) -Requires: perl(Carp) -Requires: perl(Class::MOP) >= 1.05 +BuildRequires: perl(Test::Output) +BuildRequires: perl(Test::LeakTrace) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(SUPER) +BuildRequires: perl(Module::Refresh) +BuildRequires: perl(DateTime::Format::MySQL) +BuildRequires: perl(Declare::Constraints::Simple) +BuildRequires: perl(Try::Tiny) >= 0.02 +BuildRequires: perl(DBM::Deep) +BuildRequires: perl(IO::String) Requires: perl(Data::OptList) +Requires: perl(Devel::GlobalDestruction) +Requires: perl(Eval::Closure) Requires: perl(List::MoreUtils) >= 0.12 -Requires: perl(Package::DeprecationManager) >= 0.04 +Requires: perl(MRO::Compat) >= 0.05 +Requires: perl(Package::DeprecationManager) >= 0.10 +Requires: perl(Package::Stash) >= 0.21 +Requires: perl(Package::Stash::XS) >= 0.18 +Requires: perl(Params::Util) >= 1.00 Requires: perl(Scalar::Util) >= 1.19 Requires: perl(Sub::Exporter) >= 0.980 -Requires: perl(Sub::Name) +Requires: perl(Sub::Name) >= 0.05 Requires: perl(Task::Weaken) Requires: perl(Try::Tiny) >= 0.02 +%{perl_requires} %description -Moose is a Perl module that implements a complete modern object system. +Moose is an extension of the Perl 5 object system. + +The main goal of Moose is to make Perl 5 Object Oriented programming +easier, more consistent, and less tedious. With Moose you can think more +about what you want to do and less about the mechanics of OOP. + +Additionally, Moose is built on top of the Class::MOP manpage, which is a +metaclass system for Perl 5. This means that Moose not only makes building +normal Perl 5 objects better, but it provides the power of metaclass +programming as well. %prep -%setup -q -n "Moose-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL -#rm t/050_metaclasses/030_metarole_combination.t -#rm t/050_metaclasses/023_easy_init_meta.t -#rm t/600_todo_tests/002_various_role_features.t +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%jobs} - -%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1120 +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -%__make test -%endif +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist %clean %{?buildroot:%__rm -rf "%{buildroot}"} -%files -%defattr(-,root,root) -%doc Changes README -%{perl_vendorarch}/oose.pm -%{perl_vendorarch}/Moose.pm -%{perl_vendorarch}/Moose -%dir %{perl_vendorarch}/Test -%{perl_vendorarch}/Test/Moose.pm -%{perl_vendorarch}/auto/Moose -%doc %{perl_man3dir}/Moose.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Moose::*.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Test::Moose.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/oose.%{perl_man3ext}%{ext_man} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc author benchmarks Changes Changes.Class-MOP doap.rdf doc eg examples LICENSE README TODO %changelog ++++++ Moose-1.15.tar.gz -> Moose-2.0002.tar.gz ++++++ ++++ 109073 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org