Date: Sat, 20 Oct 2018 15:12:44 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482557 - in head/devel: . p5-MooX-Traits Message-ID: <201810201512.w9KFCiHN034578@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zi Date: Sat Oct 20 15:12:44 2018 New Revision: 482557 URL: https://svnweb.freebsd.org/changeset/ports/482557 Log: New port: devel/p5-MooX-Traits: Often you want to create components that can be added to a class arbitrarily. This module makes it easy for the end user to use these components. Instead of requiring the user to create a named class with the desired roles applied, or apply roles to the instance one-by-one, he can just create a new class from yours with with_traits, and then instantiate that. WWW: https://metacpan.org/release/MooX-Traits Added: head/devel/p5-MooX-Traits/ head/devel/p5-MooX-Traits/Makefile (contents, props changed) head/devel/p5-MooX-Traits/distinfo (contents, props changed) head/devel/p5-MooX-Traits/pkg-descr (contents, props changed) head/devel/p5-MooX-Traits/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Oct 20 14:58:37 2018 (r482556) +++ head/devel/Makefile Sat Oct 20 15:12:44 2018 (r482557) @@ -2993,6 +2993,7 @@ SUBDIR += p5-MooX-Options SUBDIR += p5-MooX-StrictConstructor SUBDIR += p5-MooX-Thunking + SUBDIR += p5-MooX-Traits SUBDIR += p5-MooX-TypeTiny SUBDIR += p5-MooX-Types-MooseLike SUBDIR += p5-MooX-Types-MooseLike-Numeric Added: head/devel/p5-MooX-Traits/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Traits/Makefile Sat Oct 20 15:12:44 2018 (r482557) @@ -0,0 +1,25 @@ +# Created by: Ryan Steinmetz <zi@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= MooX-Traits +PORTVERSION= 0.005 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TOBYINK +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Automatically apply roles at object creation time + +LICENSE= ARTPERL10 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Exporter-Tiny>0:devel/p5-Exporter-Tiny \ + p5-Module-Runtime>0:devel/p5-Module-Runtime \ + p5-Role-Tiny>0:devel/p5-Role-Tiny + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/devel/p5-MooX-Traits/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Traits/distinfo Sat Oct 20 15:12:44 2018 (r482557) @@ -0,0 +1,3 @@ +TIMESTAMP = 1540048159 +SHA256 (MooX-Traits-0.005.tar.gz) = a64e8d907580fe930113987ca405dbd6b05b9849400d2dc920f705453a3dd07b +SIZE (MooX-Traits-0.005.tar.gz) = 20065 Added: head/devel/p5-MooX-Traits/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Traits/pkg-descr Sat Oct 20 15:12:44 2018 (r482557) @@ -0,0 +1,7 @@ +Often you want to create components that can be added to a class arbitrarily. +This module makes it easy for the end user to use these components. Instead +of requiring the user to create a named class with the desired roles applied, +or apply roles to the instance one-by-one, he can just create a new class +from yours with with_traits, and then instantiate that. + +WWW: https://metacpan.org/release/MooX-Traits Added: head/devel/p5-MooX-Traits/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Traits/pkg-plist Sat Oct 20 15:12:44 2018 (r482557) @@ -0,0 +1,4 @@ +%%SITE_PERL%%/MooX/Traits.pm +%%SITE_PERL%%/MooX/Traits/Util.pm +%%PERL5_MAN3%%/MooX::Traits.3.gz +%%PERL5_MAN3%%/MooX::Traits::Util.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810201512.w9KFCiHN034578>