2009-06-07 13:31:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2009/06/07 11:31:05 seb Exp $
|
2008-07-26 15:50:13 +02:00
|
|
|
#
|
|
|
|
|
2009-06-07 13:31:05 +02:00
|
|
|
DISTNAME= Moose-0.80
|
2008-07-26 15:50:13 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= devel perl5
|
Update from version 0.55 to version 0.57.
Package changes: add all required Perl modules for test target as
build dependencies
Changes:
0.57 Wed September 3, 2008
* Moose::Intro
- A new bit of doc intended to introduce folks familiar with
"standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
* Moose::Unsweetened
- Shows examples of two classes, each done first with and then
without Moose. This makes a nice parallel to
Moose::Intro. (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fixed a bug in find_or_parse_type_constraint so that it
accepts a Moose::Meta::TypeConstraint object as the parent
type, not just a name (jnapiorkowski)
- added tests (jnapiorkowski)
* Moose::Exporter
- If Sub::Name was not present, unimporting failed to actually
remove some sugar subs, causing test failures (Dave Rolsky)
0.56 Mon September 1, 2008
For those not following the series of dev releases, there are
several major changes in this release of Moose.
! Moose::init_meta should now be called as a method. See the
docs for details.
- Major performance improvements by nothingmuch.
- New modules for extension writers, Moose::Exporter and
Moose::Util::MetaRole by Dave Rolsky.
- Lots of doc improvements and additions, especially in the
cookbook sections.
- Various bug fixes.
* Removed all references to the experimental-but-no-longer-needed
Moose::Meta::Role::Application::ToMetaclassInstance.
* Require Class::MOP 0.65.
0.55_04 Sat August 30, 2008
* Moose::Util::MetaRole
* Moose::Cookbook::Extending::Recipe2
- This simplifies the application of roles to any meta class, as
well as the base object class. Reimplemented metaclass traits
using this module. (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe1
- This a new recipe, an overview of various ways to write Moose
extensions (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe3
* Moose::Cookbook::Extending::Recipe4
- These used to be Extending::Recipe1 and Extending::Recipe2,
respectively.
0.55_03 Fri August 29, 2008
* No changes from 0.55_02 except increasing the Class::MOP
dependency to 0.64_07.
0.55_02 Fri August 29, 2008
* Makefile.PL and Moose.pm
- explicitly require Perl 5.8.0+ (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fix warnings from find_type_constraint if the type is not
found (t0m).
* Moose::Meta::TypeConstraint
- Predicate methods (equals/is_a_type_of/is_subtype_of) now
return false if the type you specify cannot be found in the
type registry, rather than throwing an unhelpful and
coincidental exception. (t0m).
- added docs & test for this (t0m)
* Moose::Meta::TypeConstraint::Registry
- add_type_constraint now throws an exception if a parameter is
not supplied (t0m).
- added docs & test for this (t0m)
* Moose::Cookbook::FAQ
- Added a faq entry on the difference between "role" and "trait"
(t0m)
* Moose::Meta::Role
- Fixed a bug that caused role composition to not see a required
method when that method was provided by another role being
composed at the same time. (Dave Rolsky)
- test and bug finding (tokuhirom)
0.55_01 Wed August 20, 2008
!! Calling Moose::init_meta as a function is now !!
!! deprecated. Please see the Moose.pm docs for details. !!
* Moose::Meta::Method::Constructor
- Fix inlined constructor so that values produced by default
or builder methods are coerced as required. (t0m)
- added test for this (t0m)
* Moose::Meta::Attribute
- A lazy attribute with a default or builder did not attempt to
coerce the default value. The immutable code _did_
coerce. (t0m)
- added test for this (t0m)
* Moose::Exporter
- This is a new helper module for writing "Moose-alike"
modules. This should make the lives of MooseX module authors
much easier. (Dave Rolsky)
* Moose
* Moose::Cookbook::Meta::Recipe5
- Implemented metaclass traits (and wrote a recipe for it):
use Moose -traits => 'Foo'
This should make writing small Moose extensions a little
easier (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Removed any examples of direct hashref access, and applied an
editorial axe to reduce verbosity. (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Also applied an editorial axe here. (Dave Rolsky)
* Moose
* Moose::Cookbook::Extending::Recipe1
* Moose::Cookbook::Extending::Recipe2
- Rewrote extending and embedding moose documentation and
recipes to use Moose::Exporter (Dave Rolsky)
* Moose
* Moose::Role
- These two modules now warn when you load them from the main
package "main" package, because we will not export sugar to
main. Previously it just did nothing. (Dave Rolsky)
* Moose::Role
- Now provide an init_meta method just like Moose.pm, and you
can call this to provide an alternate role metaclass. (Dave
Rolsky and nothingmuch)
- get_method_map now respects the package cache flag (nothingmuch)
* Moose::Meta::Role
- Two new methods - add_method and wrap_method_body
(nothingmuch)
* many modules
- Optimizations including allowing constructors to accept hash
refs, making many more classes immutable, and making
constructors immutable. (nothingmuch)
2008-09-09 01:14:00 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
2008-07-26 15:50:13 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://moose.perl.org/
|
|
|
|
COMMENT= Postmodern object system for Perl 5
|
PkgSrc changes:
- Update package for p5 module Moose to 0.74
- set artistic-2.0 as license
- update dependencies along META.yml
Upstream changes:
0.74 Tue, April 7, 2009
* Moose::Meta::Role
* Moose::Meta::Method::Destructor
- Include stack traces in the deprecation warnings.
(Florian Ragwitz)
* Moose::Meta::Class
- Removed the long-deprecated _apply_all_roles method.
* Moose::Meta::TypeContsraint
- Removed the long-deprecated union method.
0.73_02 Mon, April 6, 2009
* More deprecations and renamings
- Moose::Meta::Method::Constructor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
* Moose::Object
- The DEMOLISHALL method could throw an exception during global
destruction, meaning that your class's DEMOLISH methods would
not be properly called. Reported by t0m.
* Moose::Meta::Method::Destructor
- Destructor inlining was totally broken by the change to the
is_needed method in 0.72_01. Now there is a test for this
feature, and it works again.
0.73_01 Sun, April 5, 2009
* Moose::*
- Call user_class->meta in fewer places, with the eventual goal
of allowing the user to rename or exclude ->meta
altogether. Instead uses Class::MOP::class_of. (Sartak)
* Moose::Meta::Method::Accessor
- If an attribute had a lazy default, and that value did not
pass the attribute's type constraint, it did not get the
message from the type constraint, instead using a generic
message. Test provided by perigrin.
* Moose::Util::TypeConstraints
- Add duck_type keyword. It's sugar over making sure an object
can() a list of methods. This is easier than jrockway's
suggestion to fork all of CPAN. (perigrin)
- add tests and documentation (perigrin)
* Moose
- Document the fact that init_meta() returns the target class's
metaclass object. (hdp)
* Moose::Cookbook::Extending::Recipe1
* Moose::Cookbook::Extending::Recipe2
* Moose::Cookbook::Extending::Recipe3
* Moose::Cookbook::Extending::Recipe4
- Make init_meta() examples explicitly return the metaclass and
point out this fact. (hdp)
* Moose::Cookbook::Meta::Recipe6
- A new recipe, creating a custom meta-method class.
* Moose::Meta::Class
* Moose::Meta::Method::Constructor
- Attribute triggers no longer receive the meta-attribute object
as an argument in any circumstance. Previously, triggers
called during instance construction were passed the
meta-attribute, but triggers called by normal accessors were
not. Fixes RT#44429, reported by Mark Swayne. (hdp)
* Moose::Manual::Attributes
- Remove references to triggers receving the meta-attribute object as an
argument. (hdp)
* Moose::Cookbook::FAQ
- Remove recommendation for deprecated Moose::Policy and
Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
instead. (hdp)
* Many methods have been renamed with a leading underscore, and a
few have been deprecated entirely. The methods with a leading
underscore are consider "internals only". People writing
subclasses or extensions to Moose should feel free to override
them, but they are not for "public" use.
- Moose::Meta::Class
- check_metaclass_compatibility => _check_metaclass_compatibility
- Moose::Meta::Method::Accessor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
- /(generate_.*_method(?:_inline)?)/ => '_' . $1
- Moose::Meta::Method::Constructor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
- /(generate_constructor_method(?:_inline)?)/ => '_' . $1
- attributes => _attributes (now inherited from parent)
- meta_instance => _meta_instance (now inherited from parent)
- Moose::Meta::Role
- alias_method is deprecated. Use add_method
0.73 Fri, March 29, 2009
* No changes from 0.72_01.
0.72_01 Thu, March 26, 2009
* Everything
- Almost every module has complete API documentation. A few
methods (and even whole classes) have been intentionally
excluded pending some rethinking of their APIs.
* Moose::Util::TypeConstraints
- Calling subtype with a name as the only argument is now an
exception. If you want an anonymous subtype do:
my $subtype = subtype as 'Foo';
* Moose::Cookbook::Meta::Recipe7
- A new recipe, creating a custom meta-instance class.
* Moose::Cookbook::Basics::Recipe5
- Fix various typos and mistakes. Includes a patch from Radu
Greab.
* Moose::Cookbook::Basics::Recipe9
- Link to this recipe from Moose.pm's builder blurb
* Moose::Exporter
- When wrapping a function with a prototype, Moose::Exporter now
makes sure the wrapped function still has the same
prototype. (Daisuke Maki)
* Moose::Meta::Attribute
- Allow a subclass to set lazy_build for an inherited
attribute. (hdp)
* Makefile.PL
- Explicitly depend on Data::OptList. We already had this dependency
via Sub::Exporter, but since we're using it directly we're
better off with it listed. (Sartak)
* Moose::Meta::Method::Constructor
- Make it easier to subclass the inlining behaviour. (Ash
Berlin)
* Moose::Manual::Delta
- Details significant changes in the history of Moose, along
with recommended workarounds.
* Moose::Manual::Contributing
- Contributor's guide to Moose.
* Moose::Meta::Method::Constructor
- The long-deprecated intialize_body method has been removed
(yes, spelled like that).
* Moose::Meta::Method::Destructor
- This is_needed method is now always a class method.
* Moose::Meta::Class
- Changes to the internals of how make_immutable works to match
changes in latest Class::MOP.
2009-04-12 15:00:15 +02:00
|
|
|
LICENSE= artistic-2.0
|
2008-07-26 15:50:13 +02:00
|
|
|
|
2009-05-13 19:46:51 +02:00
|
|
|
DEPENDS+= p5-Class-MOP>=0.83:../../devel/p5-Class-MOP
|
PkgSrc changes:
- Update package for p5 module Moose to 0.74
- set artistic-2.0 as license
- update dependencies along META.yml
Upstream changes:
0.74 Tue, April 7, 2009
* Moose::Meta::Role
* Moose::Meta::Method::Destructor
- Include stack traces in the deprecation warnings.
(Florian Ragwitz)
* Moose::Meta::Class
- Removed the long-deprecated _apply_all_roles method.
* Moose::Meta::TypeContsraint
- Removed the long-deprecated union method.
0.73_02 Mon, April 6, 2009
* More deprecations and renamings
- Moose::Meta::Method::Constructor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
* Moose::Object
- The DEMOLISHALL method could throw an exception during global
destruction, meaning that your class's DEMOLISH methods would
not be properly called. Reported by t0m.
* Moose::Meta::Method::Destructor
- Destructor inlining was totally broken by the change to the
is_needed method in 0.72_01. Now there is a test for this
feature, and it works again.
0.73_01 Sun, April 5, 2009
* Moose::*
- Call user_class->meta in fewer places, with the eventual goal
of allowing the user to rename or exclude ->meta
altogether. Instead uses Class::MOP::class_of. (Sartak)
* Moose::Meta::Method::Accessor
- If an attribute had a lazy default, and that value did not
pass the attribute's type constraint, it did not get the
message from the type constraint, instead using a generic
message. Test provided by perigrin.
* Moose::Util::TypeConstraints
- Add duck_type keyword. It's sugar over making sure an object
can() a list of methods. This is easier than jrockway's
suggestion to fork all of CPAN. (perigrin)
- add tests and documentation (perigrin)
* Moose
- Document the fact that init_meta() returns the target class's
metaclass object. (hdp)
* Moose::Cookbook::Extending::Recipe1
* Moose::Cookbook::Extending::Recipe2
* Moose::Cookbook::Extending::Recipe3
* Moose::Cookbook::Extending::Recipe4
- Make init_meta() examples explicitly return the metaclass and
point out this fact. (hdp)
* Moose::Cookbook::Meta::Recipe6
- A new recipe, creating a custom meta-method class.
* Moose::Meta::Class
* Moose::Meta::Method::Constructor
- Attribute triggers no longer receive the meta-attribute object
as an argument in any circumstance. Previously, triggers
called during instance construction were passed the
meta-attribute, but triggers called by normal accessors were
not. Fixes RT#44429, reported by Mark Swayne. (hdp)
* Moose::Manual::Attributes
- Remove references to triggers receving the meta-attribute object as an
argument. (hdp)
* Moose::Cookbook::FAQ
- Remove recommendation for deprecated Moose::Policy and
Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
instead. (hdp)
* Many methods have been renamed with a leading underscore, and a
few have been deprecated entirely. The methods with a leading
underscore are consider "internals only". People writing
subclasses or extensions to Moose should feel free to override
them, but they are not for "public" use.
- Moose::Meta::Class
- check_metaclass_compatibility => _check_metaclass_compatibility
- Moose::Meta::Method::Accessor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
- /(generate_.*_method(?:_inline)?)/ => '_' . $1
- Moose::Meta::Method::Constructor
- initialize_body => _initialize_body (this is always called
when an object is constructed)
- /(generate_constructor_method(?:_inline)?)/ => '_' . $1
- attributes => _attributes (now inherited from parent)
- meta_instance => _meta_instance (now inherited from parent)
- Moose::Meta::Role
- alias_method is deprecated. Use add_method
0.73 Fri, March 29, 2009
* No changes from 0.72_01.
0.72_01 Thu, March 26, 2009
* Everything
- Almost every module has complete API documentation. A few
methods (and even whole classes) have been intentionally
excluded pending some rethinking of their APIs.
* Moose::Util::TypeConstraints
- Calling subtype with a name as the only argument is now an
exception. If you want an anonymous subtype do:
my $subtype = subtype as 'Foo';
* Moose::Cookbook::Meta::Recipe7
- A new recipe, creating a custom meta-instance class.
* Moose::Cookbook::Basics::Recipe5
- Fix various typos and mistakes. Includes a patch from Radu
Greab.
* Moose::Cookbook::Basics::Recipe9
- Link to this recipe from Moose.pm's builder blurb
* Moose::Exporter
- When wrapping a function with a prototype, Moose::Exporter now
makes sure the wrapped function still has the same
prototype. (Daisuke Maki)
* Moose::Meta::Attribute
- Allow a subclass to set lazy_build for an inherited
attribute. (hdp)
* Makefile.PL
- Explicitly depend on Data::OptList. We already had this dependency
via Sub::Exporter, but since we're using it directly we're
better off with it listed. (Sartak)
* Moose::Meta::Method::Constructor
- Make it easier to subclass the inlining behaviour. (Ash
Berlin)
* Moose::Manual::Delta
- Details significant changes in the history of Moose, along
with recommended workarounds.
* Moose::Manual::Contributing
- Contributor's guide to Moose.
* Moose::Meta::Method::Constructor
- The long-deprecated intialize_body method has been removed
(yes, spelled like that).
* Moose::Meta::Method::Destructor
- This is_needed method is now always a class method.
* Moose::Meta::Class
- Changes to the internals of how make_immutable works to match
changes in latest Class::MOP.
2009-04-12 15:00:15 +02:00
|
|
|
DEPENDS+= p5-Data-OptList-[0-9]*:../../devel/p5-Data-OptList
|
Update from version 0.62 to version 0.63.
Pkgsrc changes:
- adjust dependency on devel/p5-Class-MOP: minimum required version is
0.72 while Moose's minimum required version is 0.71_02 but the latter
did not make it into pkgsrc.
- set minimum required version of devel/p5-List-MoreUtils to 0.12
- whitespace fix
Upstream changes:
0.63 Mon, December 8, 2008
* Moose::Unsweetened
- Some small grammar tweaks and bug fixes in non-Moose example
code. (Dave Rolsky)
0.62_02 Fri, December 5, 2008
* Moose::Meta::Role::Application::ToClass
- When a class does not provide all of a role's required
methods, the error thrown now mentions all of the missing
methods, as opposed to just the first one found. Requested by
Michael Schwern (RT #41119). (Dave Rolsky)
* Moose::Meta::Method::Constructor
- Moose will no longer inline a constructor for your class
unless it inherits its constructor from Moose::Object, and
will warn when it doesn't inline. If you want to force
inlining anyway, pass "replace_constructor => 1" to
make_immutable. Addresses RT #40968, reported by Jon
Swartz. (Dave Rolsky)
- The quoting of default values could be broken if the default
contained a single quote ('). Now we use quotemeta to escape
anything potentially dangerous in the defaults. (Dave Rolsky)
0.62_01 Wed, December 3, 2008
* Moose::Object
- use the method->execute API for BUILDALL
and DEMOLISHALL (Sartak)
* Moose::Util::TypeConstraints
- We now make all the type constraint meta classes immutable
before creating the default types provided by Moose. This
should make loading Moose a little faster. (Dave Rolsky)
2008-12-09 23:19:14 +01:00
|
|
|
DEPENDS+= p5-List-MoreUtils>=0.12:../../devel/p5-List-MoreUtils
|
2008-07-26 15:50:13 +02:00
|
|
|
DEPENDS+= p5-Sub-Exporter>=0.972:../../devel/p5-Sub-Exporter
|
2009-05-13 19:46:51 +02:00
|
|
|
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
|
Update from version 0.62 to version 0.63.
Pkgsrc changes:
- adjust dependency on devel/p5-Class-MOP: minimum required version is
0.72 while Moose's minimum required version is 0.71_02 but the latter
did not make it into pkgsrc.
- set minimum required version of devel/p5-List-MoreUtils to 0.12
- whitespace fix
Upstream changes:
0.63 Mon, December 8, 2008
* Moose::Unsweetened
- Some small grammar tweaks and bug fixes in non-Moose example
code. (Dave Rolsky)
0.62_02 Fri, December 5, 2008
* Moose::Meta::Role::Application::ToClass
- When a class does not provide all of a role's required
methods, the error thrown now mentions all of the missing
methods, as opposed to just the first one found. Requested by
Michael Schwern (RT #41119). (Dave Rolsky)
* Moose::Meta::Method::Constructor
- Moose will no longer inline a constructor for your class
unless it inherits its constructor from Moose::Object, and
will warn when it doesn't inline. If you want to force
inlining anyway, pass "replace_constructor => 1" to
make_immutable. Addresses RT #40968, reported by Jon
Swartz. (Dave Rolsky)
- The quoting of default values could be broken if the default
contained a single quote ('). Now we use quotemeta to escape
anything potentially dangerous in the defaults. (Dave Rolsky)
0.62_01 Wed, December 3, 2008
* Moose::Object
- use the method->execute API for BUILDALL
and DEMOLISHALL (Sartak)
* Moose::Util::TypeConstraints
- We now make all the type constraint meta classes immutable
before creating the default types provided by Moose. This
should make loading Moose a little faster. (Dave Rolsky)
2008-12-09 23:19:14 +01:00
|
|
|
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
|
2008-07-26 15:50:13 +02:00
|
|
|
|
Update from version 0.55 to version 0.57.
Package changes: add all required Perl modules for test target as
build dependencies
Changes:
0.57 Wed September 3, 2008
* Moose::Intro
- A new bit of doc intended to introduce folks familiar with
"standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
* Moose::Unsweetened
- Shows examples of two classes, each done first with and then
without Moose. This makes a nice parallel to
Moose::Intro. (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fixed a bug in find_or_parse_type_constraint so that it
accepts a Moose::Meta::TypeConstraint object as the parent
type, not just a name (jnapiorkowski)
- added tests (jnapiorkowski)
* Moose::Exporter
- If Sub::Name was not present, unimporting failed to actually
remove some sugar subs, causing test failures (Dave Rolsky)
0.56 Mon September 1, 2008
For those not following the series of dev releases, there are
several major changes in this release of Moose.
! Moose::init_meta should now be called as a method. See the
docs for details.
- Major performance improvements by nothingmuch.
- New modules for extension writers, Moose::Exporter and
Moose::Util::MetaRole by Dave Rolsky.
- Lots of doc improvements and additions, especially in the
cookbook sections.
- Various bug fixes.
* Removed all references to the experimental-but-no-longer-needed
Moose::Meta::Role::Application::ToMetaclassInstance.
* Require Class::MOP 0.65.
0.55_04 Sat August 30, 2008
* Moose::Util::MetaRole
* Moose::Cookbook::Extending::Recipe2
- This simplifies the application of roles to any meta class, as
well as the base object class. Reimplemented metaclass traits
using this module. (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe1
- This a new recipe, an overview of various ways to write Moose
extensions (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe3
* Moose::Cookbook::Extending::Recipe4
- These used to be Extending::Recipe1 and Extending::Recipe2,
respectively.
0.55_03 Fri August 29, 2008
* No changes from 0.55_02 except increasing the Class::MOP
dependency to 0.64_07.
0.55_02 Fri August 29, 2008
* Makefile.PL and Moose.pm
- explicitly require Perl 5.8.0+ (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fix warnings from find_type_constraint if the type is not
found (t0m).
* Moose::Meta::TypeConstraint
- Predicate methods (equals/is_a_type_of/is_subtype_of) now
return false if the type you specify cannot be found in the
type registry, rather than throwing an unhelpful and
coincidental exception. (t0m).
- added docs & test for this (t0m)
* Moose::Meta::TypeConstraint::Registry
- add_type_constraint now throws an exception if a parameter is
not supplied (t0m).
- added docs & test for this (t0m)
* Moose::Cookbook::FAQ
- Added a faq entry on the difference between "role" and "trait"
(t0m)
* Moose::Meta::Role
- Fixed a bug that caused role composition to not see a required
method when that method was provided by another role being
composed at the same time. (Dave Rolsky)
- test and bug finding (tokuhirom)
0.55_01 Wed August 20, 2008
!! Calling Moose::init_meta as a function is now !!
!! deprecated. Please see the Moose.pm docs for details. !!
* Moose::Meta::Method::Constructor
- Fix inlined constructor so that values produced by default
or builder methods are coerced as required. (t0m)
- added test for this (t0m)
* Moose::Meta::Attribute
- A lazy attribute with a default or builder did not attempt to
coerce the default value. The immutable code _did_
coerce. (t0m)
- added test for this (t0m)
* Moose::Exporter
- This is a new helper module for writing "Moose-alike"
modules. This should make the lives of MooseX module authors
much easier. (Dave Rolsky)
* Moose
* Moose::Cookbook::Meta::Recipe5
- Implemented metaclass traits (and wrote a recipe for it):
use Moose -traits => 'Foo'
This should make writing small Moose extensions a little
easier (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Removed any examples of direct hashref access, and applied an
editorial axe to reduce verbosity. (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Also applied an editorial axe here. (Dave Rolsky)
* Moose
* Moose::Cookbook::Extending::Recipe1
* Moose::Cookbook::Extending::Recipe2
- Rewrote extending and embedding moose documentation and
recipes to use Moose::Exporter (Dave Rolsky)
* Moose
* Moose::Role
- These two modules now warn when you load them from the main
package "main" package, because we will not export sugar to
main. Previously it just did nothing. (Dave Rolsky)
* Moose::Role
- Now provide an init_meta method just like Moose.pm, and you
can call this to provide an alternate role metaclass. (Dave
Rolsky and nothingmuch)
- get_method_map now respects the package cache flag (nothingmuch)
* Moose::Meta::Role
- Two new methods - add_method and wrap_method_body
(nothingmuch)
* many modules
- Optimizations including allowing constructors to accept hash
refs, making many more classes immutable, and making
constructors immutable. (nothingmuch)
2008-09-09 01:14:00 +02:00
|
|
|
BUILD_DEPENDS+= p5-DBM-Deep-[0-9]*:../../databases/p5-DBM-Deep
|
|
|
|
BUILD_DEPENDS+= p5-DateTime-Format-MySQL-[0-9]*:../../time/p5-DateTime-Format-MySQL
|
|
|
|
BUILD_DEPENDS+= p5-Declare-Constraints-Simple-[0-9]*:../../devel/p5-Declare-Constraints-Simple
|
|
|
|
BUILD_DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
|
|
|
|
BUILD_DEPENDS+= p5-Locale-US-[0-9]*:../../misc/p5-Locale-US
|
|
|
|
BUILD_DEPENDS+= p5-Module-Refresh-[0-9]*:../../devel/p5-Module-Refresh
|
|
|
|
BUILD_DEPENDS+= p5-Params-Coerce-[0-9]*:../../devel/p5-Params-Coerce
|
|
|
|
BUILD_DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
|
|
|
|
BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
|
2009-05-13 19:46:51 +02:00
|
|
|
BUILD_DEPENDS+= p5-Test-Exception>=0.27:../../devel/p5-Test-Exception
|
Update from version 0.55 to version 0.57.
Package changes: add all required Perl modules for test target as
build dependencies
Changes:
0.57 Wed September 3, 2008
* Moose::Intro
- A new bit of doc intended to introduce folks familiar with
"standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
* Moose::Unsweetened
- Shows examples of two classes, each done first with and then
without Moose. This makes a nice parallel to
Moose::Intro. (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fixed a bug in find_or_parse_type_constraint so that it
accepts a Moose::Meta::TypeConstraint object as the parent
type, not just a name (jnapiorkowski)
- added tests (jnapiorkowski)
* Moose::Exporter
- If Sub::Name was not present, unimporting failed to actually
remove some sugar subs, causing test failures (Dave Rolsky)
0.56 Mon September 1, 2008
For those not following the series of dev releases, there are
several major changes in this release of Moose.
! Moose::init_meta should now be called as a method. See the
docs for details.
- Major performance improvements by nothingmuch.
- New modules for extension writers, Moose::Exporter and
Moose::Util::MetaRole by Dave Rolsky.
- Lots of doc improvements and additions, especially in the
cookbook sections.
- Various bug fixes.
* Removed all references to the experimental-but-no-longer-needed
Moose::Meta::Role::Application::ToMetaclassInstance.
* Require Class::MOP 0.65.
0.55_04 Sat August 30, 2008
* Moose::Util::MetaRole
* Moose::Cookbook::Extending::Recipe2
- This simplifies the application of roles to any meta class, as
well as the base object class. Reimplemented metaclass traits
using this module. (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe1
- This a new recipe, an overview of various ways to write Moose
extensions (Dave Rolsky)
* Moose::Cookbook::Extending::Recipe3
* Moose::Cookbook::Extending::Recipe4
- These used to be Extending::Recipe1 and Extending::Recipe2,
respectively.
0.55_03 Fri August 29, 2008
* No changes from 0.55_02 except increasing the Class::MOP
dependency to 0.64_07.
0.55_02 Fri August 29, 2008
* Makefile.PL and Moose.pm
- explicitly require Perl 5.8.0+ (Dave Rolsky)
* Moose::Util::TypeConstraints
- Fix warnings from find_type_constraint if the type is not
found (t0m).
* Moose::Meta::TypeConstraint
- Predicate methods (equals/is_a_type_of/is_subtype_of) now
return false if the type you specify cannot be found in the
type registry, rather than throwing an unhelpful and
coincidental exception. (t0m).
- added docs & test for this (t0m)
* Moose::Meta::TypeConstraint::Registry
- add_type_constraint now throws an exception if a parameter is
not supplied (t0m).
- added docs & test for this (t0m)
* Moose::Cookbook::FAQ
- Added a faq entry on the difference between "role" and "trait"
(t0m)
* Moose::Meta::Role
- Fixed a bug that caused role composition to not see a required
method when that method was provided by another role being
composed at the same time. (Dave Rolsky)
- test and bug finding (tokuhirom)
0.55_01 Wed August 20, 2008
!! Calling Moose::init_meta as a function is now !!
!! deprecated. Please see the Moose.pm docs for details. !!
* Moose::Meta::Method::Constructor
- Fix inlined constructor so that values produced by default
or builder methods are coerced as required. (t0m)
- added test for this (t0m)
* Moose::Meta::Attribute
- A lazy attribute with a default or builder did not attempt to
coerce the default value. The immutable code _did_
coerce. (t0m)
- added test for this (t0m)
* Moose::Exporter
- This is a new helper module for writing "Moose-alike"
modules. This should make the lives of MooseX module authors
much easier. (Dave Rolsky)
* Moose
* Moose::Cookbook::Meta::Recipe5
- Implemented metaclass traits (and wrote a recipe for it):
use Moose -traits => 'Foo'
This should make writing small Moose extensions a little
easier (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Removed any examples of direct hashref access, and applied an
editorial axe to reduce verbosity. (Dave Rolsky)
* Moose::Cookbook::Basics::Recipe1
- Also applied an editorial axe here. (Dave Rolsky)
* Moose
* Moose::Cookbook::Extending::Recipe1
* Moose::Cookbook::Extending::Recipe2
- Rewrote extending and embedding moose documentation and
recipes to use Moose::Exporter (Dave Rolsky)
* Moose
* Moose::Role
- These two modules now warn when you load them from the main
package "main" package, because we will not export sugar to
main. Previously it just did nothing. (Dave Rolsky)
* Moose::Role
- Now provide an init_meta method just like Moose.pm, and you
can call this to provide an alternate role metaclass. (Dave
Rolsky and nothingmuch)
- get_method_map now respects the package cache flag (nothingmuch)
* Moose::Meta::Role
- Two new methods - add_method and wrap_method_body
(nothingmuch)
* many modules
- Optimizations including allowing constructors to accept hash
refs, making many more classes immutable, and making
constructors immutable. (nothingmuch)
2008-09-09 01:14:00 +02:00
|
|
|
BUILD_DEPENDS+= p5-Test-Output-[0-9]*:../../devel/p5-Test-Output
|
|
|
|
BUILD_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage
|
|
|
|
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
|
|
|
|
BUILD_DEPENDS+= p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
|
|
|
|
BUILD_DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
|
|
|
|
BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
|
2008-07-26 15:50:13 +02:00
|
|
|
|
2008-07-28 00:14:03 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-07-26 15:50:13 +02:00
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Moose/.packlist
|
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|