summaryrefslogtreecommitdiff
path: root/devel/p5-Moose
diff options
context:
space:
mode:
authorseb <seb>2010-01-19 04:19:23 +0000
committerseb <seb>2010-01-19 04:19:23 +0000
commitdbbcf110a3acb9cdfa4084679b62945fa65de179 (patch)
tree92ec81a8cc036f20f15c7ed43b83ae67b7a038f6 /devel/p5-Moose
parent8faf5248eb554838550a40fe0b6a7a6d86c200a6 (diff)
downloadpkgsrc-dbbcf110a3acb9cdfa4084679b62945fa65de179.tar.gz
Update p5-Moose from version 0.93 to version 0.94.
Pkgsrc changes: - Adjust dependencies - Set PERL5_MODULE_TYPE to Module::Install::Bundled (isomorphism) - A C compiler is now required Upstream changes: 0.94 Mon, Jan 18, 2010 [API CHANGES] * Please see the changes listed for 0.93_01 and Moose::Manual::Delta. [ENHANCEMENTS] * Improved support for anonymous roles by changing various APIs to take Moose::Meta::Role objects as well as role names. This included - Moose::Meta::Class->does_role - Moose::Meta::Role->does_role - Moose::Util::does_role - Moose::Util::apply_all_roles - Moose::Util::ensure_all_roles - Moose::Util::search_class_by_role Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky) [BUG FIXES] * Fix handling of non-alphanumeric attributes names like '@foo'. This should work as long as the accessor method names are explicitly set to valid Perl method names. Reported by Doug Treder. RT #53731. (Dave Rolsky) 0.93_03 Tue, Jan 5, 2010 [BUG FIXES] * Portability fixes to our XS code so we compile with 5.8.8 with Visual C++. Fixes RT #53391. Reported by Taro Nishino. (rafl) 0.93_02 Tue, Jan 5, 2010 [BUG FIXES] * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN testers. (Dave Rolsky) 0.93_01 Mon, Jan 4, 2010 [API CHANGES] See Moose::Manual::Delta for more details on backwards compatiblity issues. * Role attributes are now objects of the Moose::Meta::Role::Attribute class. (Dave Rolsky). * There were major changes to how metaroles are applied. We now distinguish between metaroles for classes vs those for roles. See the Moose::Util::MetaRole docs for details. (Dave Rolsky) * The old MetaRole API has been deprecated, but will continue to work. However, if you are applying an attribute metaclass role, this may break because of the fact that roles now have an attribute metaclass too. (Dave Rolsky) * Moose::Util::MetaRole::apply_metaclass_roles is now called apply_metaroles. The old name is deprecated. Dave Rolsky> * The unimport subs created by Moose::Exporter now clean up re-exported functions like blessed and confess, unless the caller imported them from somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl) [ENHANCEMENTS AND BUG FIXES] * Changed the Str constraint to accept magic lvalue strings like one gets from substr et al, again. (sorear) * Sped up the type constraint parsing regex. (Sam Vilain) * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by jrey. * Added Moose::Util::TypeConstraints exports when using oose.pm to allow easier testing of TypeConstraints from the command line. (perigrin) * Added a with_immutable test function to Test::Moose, to run a block of tests with and without certain classes being immutable. (doy) * We now use Module::Install extensions explicitly to avoid confusing errors if they're not installed. We use Module::Install::AuthorRequires to stop test extraction and general failures if you don't have the author side dependencies installed. * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org #51791. (Amir E. Aharoni)
Diffstat (limited to 'devel/p5-Moose')
-rw-r--r--devel/p5-Moose/Makefile11
-rw-r--r--devel/p5-Moose/distinfo8
2 files changed, 8 insertions, 11 deletions
diff --git a/devel/p5-Moose/Makefile b/devel/p5-Moose/Makefile
index 78ca9a5f04c..59f33c0041c 100644
--- a/devel/p5-Moose/Makefile
+++ b/devel/p5-Moose/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2009/11/19 21:21:53 seb Exp $
+# $NetBSD: Makefile,v 1.35 2010/01/19 04:19:23 seb Exp $
#
-DISTNAME= Moose-0.93
+DISTNAME= Moose-0.94
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
@@ -11,7 +11,7 @@ HOMEPAGE= http://moose.perl.org/
COMMENT= Postmodern object system for Perl 5
LICENSE= ${PERL5_LICENSE}
-DEPENDS+= p5-Class-MOP>=0.94:../../devel/p5-Class-MOP
+DEPENDS+= p5-Class-MOP>=0.98:../../devel/p5-Class-MOP
DEPENDS+= p5-Data-OptList-[0-9]*:../../devel/p5-Data-OptList
DEPENDS+= p5-List-MoreUtils>=0.12:../../devel/p5-List-MoreUtils
DEPENDS+= p5-Sub-Exporter>=0.980:../../devel/p5-Sub-Exporter
@@ -39,12 +39,9 @@ BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
PKG_DESTDIR_SUPPORT= user-destdir
-USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Moose/.packlist
-# keep bundled Module::Install - it's modified
-MAKE_PARAMS+= --skipdeps
-#PERL5_MODULE_TYPE= Module::Install
+PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Moose/distinfo b/devel/p5-Moose/distinfo
index b0479ff3ae0..bf7220bae11 100644
--- a/devel/p5-Moose/distinfo
+++ b/devel/p5-Moose/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2009/11/19 21:21:53 seb Exp $
+$NetBSD: distinfo,v 1.31 2010/01/19 04:19:23 seb Exp $
-SHA1 (Moose-0.93.tar.gz) = d30bfd4141382fb01b295d34b6e37e59f80b1da2
-RMD160 (Moose-0.93.tar.gz) = 6487890c593d518c5610d5563e197b967df34d99
-Size (Moose-0.93.tar.gz) = 366396 bytes
+SHA1 (Moose-0.94.tar.gz) = 19bc8a0c1dd91fb256c68002d35b15c8682b4bf1
+RMD160 (Moose-0.94.tar.gz) = 5c89deb6f1fc92e37fe7b1054bb3414a9badafd9
+Size (Moose-0.94.tar.gz) = 418459 bytes