These patches update p5-Class-MOP and p5-Moose to 0.78 and 0.72 respectively.

Class::MOP changes:
http://cpansearch.perl.org/src/DROLSKY/Class-MOP-0.78/Changes

Moose changes:
http://cpansearch.perl.org/src/DROLSKY/Moose-0.72/Changes

Mostly documentation, deprecations and bugfixes in the Moose case.

I have added more REGRESS_DEPENDS to Moose so that fewer tests are skipped (the remaining missing dependencies required for a full test are DBM::Deep, Params::Coerce and Declare::Constraints::Simple)

I also added Task::Weaken (checks for a 'weaken' function at Makefile.PL time) to BUILD_DEPENDS for both Class::MOP and Moose.

The patch to eliminate gmake-isms in Class-MOP/Makefile.PL in has been removed as it is no longer required (so remember to use patch -E to apply)

NB: Unfortunately these two modules have become deeply intertwined; while it makes sense for newer Moose to require newer Class::MOP, older Moose now cannot run against that newer Class::MOP (f.e. Moose 0.68 and Class::MOP 0.78)

During the configure stage of building these ports, the warning 'Warning: prerequisite Test::More 0.77 not found. We have 0.72.' will be printed. This seems an unnecessary dependency as the Test::More we have in base (Test::More 0.72) runs fine with the regression test. Should warnings like this be patched away, ignored or should the modules get updated in base?

Tested on i386 only for now.

:



Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Class-MOP/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    9 Feb 2009 12:08:25 -0000       1.6
+++ Makefile    6 Mar 2009 12:03:31 -0000
@@ -5,7 +5,7 @@
 COMMENT=       meta object protocol for perl 5
 
 MODULES=       cpan
-DISTNAME=      Class-MOP-0.76
+DISTNAME=      Class-MOP-0.78
 CATEGORIES=    devel
 
 # perl
@@ -14,7 +14,8 @@
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+               ::devel/p5-Task-Weaken
 RUN_DEPENDS=   ::devel/p5-Devel-GlobalDestruction \
                ::devel/p5-MRO-Compat \
                ::devel/p5-Sub-Identify \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Class-MOP/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    9 Feb 2009 12:08:25 -0000       1.5
+++ distinfo    6 Mar 2009 12:03:31 -0000
@@ -1,5 +1,5 @@
-MD5 (Class-MOP-0.76.tar.gz) = eeP02o+snSyWAXd753J5yg==
-RMD160 (Class-MOP-0.76.tar.gz) = NVexK519YQNfpOxd1dlIXCseq3o=
-SHA1 (Class-MOP-0.76.tar.gz) = wbR8kc2fbEFOigSfccOSgwIMSSY=
-SHA256 (Class-MOP-0.76.tar.gz) = 3sfN7d7EQ/x+74IgUZiX7+sHnlZWURrcLqYB9D08ykM=
-SIZE (Class-MOP-0.76.tar.gz) = 154409
+MD5 (Class-MOP-0.78.tar.gz) = A74dVrJub7EsBHRuQh/bvg==
+RMD160 (Class-MOP-0.78.tar.gz) = SQ1vYjIhYaf700yS5Nhua1IWDqM=
+SHA1 (Class-MOP-0.78.tar.gz) = VDsIyjAckW8Vjy+h0cvczvOUzQY=
+SHA256 (Class-MOP-0.78.tar.gz) = Yl0aNliGbmMerdVvh99LGOX7gilCqyIk0oZlO960S68=
+SIZE (Class-MOP-0.78.tar.gz) = 164915
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/devel/p5-Class-MOP/pkg/DESCR,v
retrieving revision 1.1
retrieving revision 1.1.1.1
diff -u -r1.1 -r1.1.1.1
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Moose/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    10 Feb 2009 10:31:32 -0000      1.6
+++ Makefile    6 Mar 2009 10:21:04 -0000
@@ -3,7 +3,7 @@
 COMMENT=       complete modern object system for perl 5
 
 MODULES=       cpan
-DISTNAME=      Moose-0.68
+DISTNAME=      Moose-0.72
 CATEGORIES=    devel
 
 # perl
@@ -14,8 +14,9 @@
 
 CPAN_AUTHOR=   DROLSKY
 
-BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS=   :p5-Class-MOP->=0.76:devel/p5-Class-MOP \
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+               ::devel/p5-Task-Weaken
+RUN_DEPENDS=   :p5-Class-MOP->=0.77:devel/p5-Class-MOP \
                ::devel/p5-List-MoreUtils \
                ::devel/p5-Sub-Exporter
 
@@ -23,8 +24,11 @@
                ::devel/p5-Test-LongString \
                ::devel/p5-Test-Exception \
                ::devel/p5-Test-Output \
+               ::devel/p5-Test-Deep \
                ::textproc/p5-Regexp-Common \
+               ::devel/p5-Module-Refresh \
                ::devel/p5-Locale-US \
+               ::devel/p5-IO-String \
                ::www/p5-libwww \
                ::www/p5-URI
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Moose/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    10 Feb 2009 10:31:33 -0000      1.5
+++ distinfo    6 Mar 2009 10:21:04 -0000
@@ -1,5 +1,5 @@
-MD5 (Moose-0.68.tar.gz) = hxDjUBKST41JsPW6mU4yjA==
-RMD160 (Moose-0.68.tar.gz) = Ri9TrNbBBJrrrOKWlKmqJu4RoGE=
-SHA1 (Moose-0.68.tar.gz) = VkeLtLnG85qg1Fzrssp7yTG/VPI=
-SHA256 (Moose-0.68.tar.gz) = ISsymrY5YLyfDUUZ+6ct+r5BqdSDJASCnfRsDzZSl1k=
-SIZE (Moose-0.68.tar.gz) = 285870
+MD5 (Moose-0.72.tar.gz) = t4/vEVRjcfM7meYf1MT1wA==
+RMD160 (Moose-0.72.tar.gz) = Nl6FIpToqb0PTGZTB5Eb2OPbxVI=
+SHA1 (Moose-0.72.tar.gz) = 0KdWu0XJgeAeXg30F6k5kzZzKII=
+SHA256 (Moose-0.72.tar.gz) = iaxeeHmzvo7byRZO5/8H976UlG/gov9+h6ImhMiK9WA=
+SIZE (Moose-0.72.tar.gz) = 295230
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/devel/p5-Moose/pkg/DESCR,v
retrieving revision 1.1
retrieving revision 1.1.1.1
diff -u -r1.1 -r1.1.1.1
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-Moose/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- pkg/PLIST   10 Feb 2009 10:31:33 -0000      1.4
+++ pkg/PLIST   6 Mar 2009 10:21:04 -0000
@@ -6,6 +6,7 @@
 ${P5SITE}/Moose/Cookbook/Basics/
 ${P5SITE}/Moose/Cookbook/Basics/Recipe1.pod
 ${P5SITE}/Moose/Cookbook/Basics/Recipe10.pod
+${P5SITE}/Moose/Cookbook/Basics/Recipe11.pod
 ${P5SITE}/Moose/Cookbook/Basics/Recipe2.pod
 ${P5SITE}/Moose/Cookbook/Basics/Recipe3.pod
 ${P5SITE}/Moose/Cookbook/Basics/Recipe4.pod
@@ -28,6 +29,7 @@
 ${P5SITE}/Moose/Cookbook/Roles/
 ${P5SITE}/Moose/Cookbook/Roles/Recipe1.pod
 ${P5SITE}/Moose/Cookbook/Roles/Recipe2.pod
+${P5SITE}/Moose/Cookbook/Roles/Recipe3.pod
 ${P5SITE}/Moose/Cookbook/Snack/
 ${P5SITE}/Moose/Cookbook/Snack/Keywords.pod
 ${P5SITE}/Moose/Cookbook/Snack/Types.pod
@@ -105,6 +107,7 @@
 @man man/man3p/Moose::Cookbook.3p
 @man man/man3p/Moose::Cookbook::Basics::Recipe1.3p
 @man man/man3p/Moose::Cookbook::Basics::Recipe10.3p
+...@man man/man3p/Moose::Cookbook::Basics::Recipe11.3p
 @man man/man3p/Moose::Cookbook::Basics::Recipe2.3p
 @man man/man3p/Moose::Cookbook::Basics::Recipe3.3p
 @man man/man3p/Moose::Cookbook::Basics::Recipe4.3p
@@ -124,6 +127,7 @@
 @man man/man3p/Moose::Cookbook::Meta::Recipe5.3p
 @man man/man3p/Moose::Cookbook::Roles::Recipe1.3p
 @man man/man3p/Moose::Cookbook::Roles::Recipe2.3p
+...@man man/man3p/Moose::Cookbook::Roles::Recipe3.3p
 @man man/man3p/Moose::Cookbook::Snack::Keywords.3p
 @man man/man3p/Moose::Cookbook::Snack::Types.3p
 @man man/man3p/Moose::Cookbook::Style.3p

Reply via email to