git: b6f44a096118 - main - devel/p5-MooseX-Extended: Add p5-MooseX-Extended 0.34
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 15:38:50 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b6f44a0961189dc29cb0e270500cd46ae124e5c1 commit b6f44a0961189dc29cb0e270500cd46ae124e5c1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-09 15:19:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-09 15:37:42 +0000 devel/p5-MooseX-Extended: Add p5-MooseX-Extended 0.34 MooseX::Extended attempts to create a safer version of Moose that defaults to read-only attributes and is easier to read and write. It tries to bring some of the lessons learned from the Corinna project, while acknowledging that you can't always get what you want (such as true encapsulation and true methods). --- devel/Makefile | 1 + devel/p5-MooseX-Extended/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/p5-MooseX-Extended/distinfo | 3 +++ devel/p5-MooseX-Extended/pkg-descr | 6 ++++++ devel/p5-MooseX-Extended/pkg-plist | 28 ++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c557e6e8fb37..04aa6288b48f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2882,6 +2882,7 @@ SUBDIR += p5-MooseX-Daemonize SUBDIR += p5-MooseX-Declare SUBDIR += p5-MooseX-Emulate-Class-Accessor-Fast + SUBDIR += p5-MooseX-Extended SUBDIR += p5-MooseX-FollowPBP SUBDIR += p5-MooseX-Getopt SUBDIR += p5-MooseX-Has-Options diff --git a/devel/p5-MooseX-Extended/Makefile b/devel/p5-MooseX-Extended/Makefile new file mode 100644 index 000000000000..cac5e536dc93 --- /dev/null +++ b/devel/p5-MooseX-Extended/Makefile @@ -0,0 +1,34 @@ +PORTNAME= MooseX-Extended +PORTVERSION= 0.34 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Extend Moose with safe defaults and useful features +WWW= https://metacpan.org/dist/MooseX-Extended + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-B-Hooks-AtRuntime>=0:devel/p5-B-Hooks-AtRuntime \ + p5-Data-Printer>=0:devel/p5-Data-Printer \ + p5-Import-Into>=0:devel/p5-Import-Into \ + p5-Moose>=0:devel/p5-Moose \ + p5-MooseX-Role-WarnOnConflict>=0:devel/p5-MooseX-Role-WarnOnConflict \ + p5-MooseX-StrictConstructor>=0:devel/p5-MooseX-StrictConstructor \ + p5-Ref-Util>=0:devel/p5-Ref-Util \ + p5-Type-Tiny>=1.012004:devel/p5-Type-Tiny \ + p5-namespace-autoclean>=0:devel/p5-namespace-autoclean \ + p5-true>=1.0.2:devel/p5-true +TEST_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ + p5-DateTime>=0:devel/p5-DateTime \ + p5-Test-Most>=0:devel/p5-Test-Most + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-MooseX-Extended/distinfo b/devel/p5-MooseX-Extended/distinfo new file mode 100644 index 000000000000..71e267803171 --- /dev/null +++ b/devel/p5-MooseX-Extended/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665073064 +SHA256 (MooseX-Extended-0.34.tar.gz) = 4ea40a94ccf3de0fba9648495a7c480627fbf68394ce2712e5a446902c34764d +SIZE (MooseX-Extended-0.34.tar.gz) = 55747 diff --git a/devel/p5-MooseX-Extended/pkg-descr b/devel/p5-MooseX-Extended/pkg-descr new file mode 100644 index 000000000000..3f24903ac34e --- /dev/null +++ b/devel/p5-MooseX-Extended/pkg-descr @@ -0,0 +1,6 @@ +MooseX::Extended attempts to create a safer version of Moose that defaults to +read-only attributes and is easier to read and write. + +It tries to bring some of the lessons learned from the Corinna project, while +acknowledging that you can't always get what you want (such as true +encapsulation and true methods). diff --git a/devel/p5-MooseX-Extended/pkg-plist b/devel/p5-MooseX-Extended/pkg-plist new file mode 100644 index 000000000000..2565c65816c8 --- /dev/null +++ b/devel/p5-MooseX-Extended/pkg-plist @@ -0,0 +1,28 @@ +%%SITE_PERL%%/Moose/Exception/InvalidAttributeDefinition.pm +%%SITE_PERL%%/Moose/Exception/InvalidImportList.pm +%%SITE_PERL%%/MooseX/Extended.pm +%%SITE_PERL%%/MooseX/Extended/Core.pm +%%SITE_PERL%%/MooseX/Extended/Custom.pm +%%SITE_PERL%%/MooseX/Extended/Manual/Cloning.pod +%%SITE_PERL%%/MooseX/Extended/Manual/Construction.pod +%%SITE_PERL%%/MooseX/Extended/Manual/Includes.pod +%%SITE_PERL%%/MooseX/Extended/Manual/Overview.pod +%%SITE_PERL%%/MooseX/Extended/Manual/Shortcuts.pod +%%SITE_PERL%%/MooseX/Extended/Manual/Tutorial.pod +%%SITE_PERL%%/MooseX/Extended/Role.pm +%%SITE_PERL%%/MooseX/Extended/Role/Custom.pm +%%SITE_PERL%%/MooseX/Extended/Types.pm +%%PERL5_MAN3%%/Moose::Exception::InvalidAttributeDefinition.3.gz +%%PERL5_MAN3%%/Moose::Exception::InvalidImportList.3.gz +%%PERL5_MAN3%%/MooseX::Extended.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Core.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Custom.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Cloning.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Construction.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Includes.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Overview.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Shortcuts.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Manual::Tutorial.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Role.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Role::Custom.3.gz +%%PERL5_MAN3%%/MooseX::Extended::Types.3.gz