Date: Wed, 27 Nov 2013 00:00:54 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334982 - in head/devel: . p5-Role-Basic Message-ID: <201311270000.rAR00sYn000526@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Wed Nov 27 00:00:54 2013 New Revision: 334982 URL: http://svnweb.freebsd.org/changeset/ports/334982 Log: Sometimes you want roles. You're not sure about Moose, Mouse, Moo and what was that damned Squirrel thing anyway? Then there's Class::Trait, but it has a funky syntax and the maintainer's deprecated it in favor of Moose::Role and you really don't care that it handles overloading, instance application or has a workaround for the SUPER:: bug. You think a meta-object protocol sounds nifty, but you don't understand it. Maybe you're not sure you want the syntactic sugar for object declaration. Maybe you've convinced your colleagues that roles are a good idea but they're leery of dragging in Moose (your author has had this happen more than once and heard of others making the same complaint). Sometimes you just want good old-fashioned roles which let you separate class responsibility from code reuse. WWW: http://search.cpan.org/dist/Role-Basic/ Added: head/devel/p5-Role-Basic/ head/devel/p5-Role-Basic/Makefile (contents, props changed) head/devel/p5-Role-Basic/distinfo (contents, props changed) head/devel/p5-Role-Basic/pkg-descr (contents, props changed) head/devel/p5-Role-Basic/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Nov 26 23:56:58 2013 (r334981) +++ head/devel/Makefile Wed Nov 27 00:00:54 2013 (r334982) @@ -2596,6 +2596,7 @@ SUBDIR += p5-ResourcePool SUBDIR += p5-Resources SUBDIR += p5-Return-Value + SUBDIR += p5-Role-Basic SUBDIR += p5-Role-HasMessage SUBDIR += p5-Role-Identifiable SUBDIR += p5-Role-Tiny Added: head/devel/p5-Role-Basic/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Role-Basic/Makefile Wed Nov 27 00:00:54 2013 (r334982) @@ -0,0 +1,21 @@ +# Created by: Matthew Seaman <matthew@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Role-Basic +PORTVERSION= 0.13 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:OVID + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Just roles. Nothing else + +PKGNAMEPREFIX= p5- + +USES= perl5 +USE_PERL5= configure + +regression-test: build + @cd ${WRKSRC} && ${MAKE} test + +.include <bsd.port.mk> Added: head/devel/p5-Role-Basic/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Role-Basic/distinfo Wed Nov 27 00:00:54 2013 (r334982) @@ -0,0 +1,2 @@ +SHA256 (Role-Basic-0.13.tar.gz) = 38a0959ef9f193ff76e72c325a9e9211bc4868689bd0e2b005778f53f8b6f36a +SIZE (Role-Basic-0.13.tar.gz) = 39625 Added: head/devel/p5-Role-Basic/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Role-Basic/pkg-descr Wed Nov 27 00:00:54 2013 (r334982) @@ -0,0 +1,14 @@ +Sometimes you want roles. You're not sure about Moose, Mouse, Moo and +what was that damned Squirrel thing anyway? Then there's Class::Trait, +but it has a funky syntax and the maintainer's deprecated it in favor +of Moose::Role and you really don't care that it handles overloading, +instance application or has a workaround for the SUPER:: bug. You +think a meta-object protocol sounds nifty, but you don't understand +it. Maybe you're not sure you want the syntactic sugar for object +declaration. Maybe you've convinced your colleagues that roles are a +good idea but they're leery of dragging in Moose (your author has had +this happen more than once and heard of others making the same +complaint). Sometimes you just want good old-fashioned roles which let +you separate class responsibility from code reuse. + +WWW: http://search.cpan.org/dist/Role-Basic/ Added: head/devel/p5-Role-Basic/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Role-Basic/pkg-plist Wed Nov 27 00:00:54 2013 (r334982) @@ -0,0 +1,9 @@ +%%PERL5_MAN3%%/Role::Basic.3.gz +%%PERL5_MAN3%%/Role::Basic::Philosophy.3.gz +%%SITE_PERL%%/Role/Basic.pm +%%SITE_PERL%%/Role/Basic/Philosophy.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Role/Basic/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Role/Basic +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Role +@dirrmtry %%SITE_PERL%%/Role/Basic +@dirrmtry %%SITE_PERL%%/Role
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311270000.rAR00sYn000526>