Tue Jan 19 04:19:23 2010 UTC ()
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)


(seb)
diff -r1.34 -r1.35 pkgsrc/devel/p5-Moose/Makefile
diff -r1.30 -r1.31 pkgsrc/devel/p5-Moose/distinfo

cvs diff -r1.34 -r1.35 pkgsrc/devel/p5-Moose/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Moose/Makefile 2009/11/19 21:21:53 1.34
+++ pkgsrc/devel/p5-Moose/Makefile 2010/01/19 04:19:23 1.35
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile,v 1.34 2009/11/19 21:21:53 seb Exp $ 1# $NetBSD: Makefile,v 1.35 2010/01/19 04:19:23 seb Exp $
2# 2#
3 3
4DISTNAME= Moose-0.93 4DISTNAME= Moose-0.94
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6CATEGORIES= devel perl5 6CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://moose.perl.org/ 10HOMEPAGE= http://moose.perl.org/
11COMMENT= Postmodern object system for Perl 5 11COMMENT= Postmodern object system for Perl 5
12LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
13 13
14DEPENDS+= p5-Class-MOP>=0.94:../../devel/p5-Class-MOP 14DEPENDS+= p5-Class-MOP>=0.98:../../devel/p5-Class-MOP
15DEPENDS+= p5-Data-OptList-[0-9]*:../../devel/p5-Data-OptList 15DEPENDS+= p5-Data-OptList-[0-9]*:../../devel/p5-Data-OptList
16DEPENDS+= p5-List-MoreUtils>=0.12:../../devel/p5-List-MoreUtils 16DEPENDS+= p5-List-MoreUtils>=0.12:../../devel/p5-List-MoreUtils
17DEPENDS+= p5-Sub-Exporter>=0.980:../../devel/p5-Sub-Exporter 17DEPENDS+= p5-Sub-Exporter>=0.980:../../devel/p5-Sub-Exporter
18DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name 18DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
19DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken 19DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
20DEPENDS+= p5-Try-Tiny>=0.02:../../devel/p5-Try-Tiny 20DEPENDS+= p5-Try-Tiny>=0.02:../../devel/p5-Try-Tiny
21 21
22BUILD_DEPENDS+= p5-DBM-Deep-[0-9]*:../../databases/p5-DBM-Deep 22BUILD_DEPENDS+= p5-DBM-Deep-[0-9]*:../../databases/p5-DBM-Deep
23BUILD_DEPENDS+= p5-DateTime-Calendar-Mayan-[0-9]*:../../time/p5-DateTime-Calendar-Mayan 23BUILD_DEPENDS+= p5-DateTime-Calendar-Mayan-[0-9]*:../../time/p5-DateTime-Calendar-Mayan
24BUILD_DEPENDS+= p5-DateTime-Format-MySQL-[0-9]*:../../time/p5-DateTime-Format-MySQL 24BUILD_DEPENDS+= p5-DateTime-Format-MySQL-[0-9]*:../../time/p5-DateTime-Format-MySQL
25BUILD_DEPENDS+= p5-Declare-Constraints-Simple-[0-9]*:../../devel/p5-Declare-Constraints-Simple 25BUILD_DEPENDS+= p5-Declare-Constraints-Simple-[0-9]*:../../devel/p5-Declare-Constraints-Simple
26BUILD_DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String 26BUILD_DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
27BUILD_DEPENDS+= p5-Locale-US-[0-9]*:../../misc/p5-Locale-US 27BUILD_DEPENDS+= p5-Locale-US-[0-9]*:../../misc/p5-Locale-US
@@ -29,22 +29,19 @@ BUILD_DEPENDS+= p5-Module-Refresh-[0-9]* @@ -29,22 +29,19 @@ BUILD_DEPENDS+= p5-Module-Refresh-[0-9]*
29BUILD_DEPENDS+= p5-Params-Coerce-[0-9]*:../../devel/p5-Params-Coerce 29BUILD_DEPENDS+= p5-Params-Coerce-[0-9]*:../../devel/p5-Params-Coerce
30BUILD_DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common 30BUILD_DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
31BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep 31BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
32BUILD_DEPENDS+= p5-Test-Exception>=0.27:../../devel/p5-Test-Exception 32BUILD_DEPENDS+= p5-Test-Exception>=0.27:../../devel/p5-Test-Exception
33BUILD_DEPENDS+= p5-Test-Output-[0-9]*:../../devel/p5-Test-Output 33BUILD_DEPENDS+= p5-Test-Output-[0-9]*:../../devel/p5-Test-Output
34BUILD_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage 34BUILD_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage
35BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod 35BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
36BUILD_DEPENDS+= p5-Test-Simple>=0.88:../../devel/p5-Test-Simple 36BUILD_DEPENDS+= p5-Test-Simple>=0.88:../../devel/p5-Test-Simple
37BUILD_DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI 37BUILD_DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
38BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww 38BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
39 39
40PKG_DESTDIR_SUPPORT= user-destdir 40PKG_DESTDIR_SUPPORT= user-destdir
41 41
42USE_LANGUAGES= # empty 
43PERL5_PACKLIST= auto/Moose/.packlist 42PERL5_PACKLIST= auto/Moose/.packlist
44 43
45# keep bundled Module::Install - it's modified 44PERL5_MODULE_TYPE= Module::Install::Bundled
46MAKE_PARAMS+= --skipdeps 
47#PERL5_MODULE_TYPE= Module::Install 
48 45
49.include "../../lang/perl5/module.mk" 46.include "../../lang/perl5/module.mk"
50.include "../../mk/bsd.pkg.mk" 47.include "../../mk/bsd.pkg.mk"

cvs diff -r1.30 -r1.31 pkgsrc/devel/p5-Moose/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Moose/distinfo 2009/11/19 21:21:53 1.30
+++ pkgsrc/devel/p5-Moose/distinfo 2010/01/19 04:19:23 1.31
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.30 2009/11/19 21:21:53 seb Exp $ 1$NetBSD: distinfo,v 1.31 2010/01/19 04:19:23 seb Exp $
2 2
3SHA1 (Moose-0.93.tar.gz) = d30bfd4141382fb01b295d34b6e37e59f80b1da2 3SHA1 (Moose-0.94.tar.gz) = 19bc8a0c1dd91fb256c68002d35b15c8682b4bf1
4RMD160 (Moose-0.93.tar.gz) = 6487890c593d518c5610d5563e197b967df34d99 4RMD160 (Moose-0.94.tar.gz) = 5c89deb6f1fc92e37fe7b1054bb3414a9badafd9
5Size (Moose-0.93.tar.gz) = 366396 bytes 5Size (Moose-0.94.tar.gz) = 418459 bytes