1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Add p5-Data-Object-Role-Arguable 0.01

Data::Object::Role::Arguable provides a mechanism for unpacking an argument list
and creating a data structure suitable for passing to the consumer constructor.
The argslist routine should return a list of attribute names in the order to be
parsed. An attribute name maybe prefixed with "@" to denote that all remaining
items should be assigned to an arrayref, e.g. @options, or "%" to denote that
all remaining items should be assigned to a hashref, e.g. %options.

WWW: https://metacpan.org/release/Data-Object-Role-Arguable
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-04-24 17:47:59 +00:00
parent 6a9d42ce93
commit decf89e67f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532792
5 changed files with 40 additions and 0 deletions

View File

@ -2058,6 +2058,7 @@
SUBDIR += p5-Data-Object-Opts
SUBDIR += p5-Data-Object-Plugin
SUBDIR += p5-Data-Object-Role
SUBDIR += p5-Data-Object-Role-Arguable
SUBDIR += p5-Data-ObjectDriver
SUBDIR += p5-Data-OptList
SUBDIR += p5-Data-Page-NoTotalEntries

View File

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Data-Object-Role-Arguable
PORTVERSION= 0.01
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Arguable Role for Data::Object
LICENSE= APACHE20
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Data-Object-Role-Buildable>=0.03:devel/p5-Data-Object-Role-Buildable \
p5-Moo>=2.004000:devel/p5-Moo \
p5-routines>=0:devel/p5-routines
TEST_DEPENDS= p5-Test-Auto>=0.10:devel/p5-Test-Auto
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1587721835
SHA256 (Data-Object-Role-Arguable-0.01.tar.gz) = 70418f52455ab0b1b9bbb2a778ec5a83a411a5efa69680e80091fd77a5104ad0
SIZE (Data-Object-Role-Arguable-0.01.tar.gz) = 11482

View File

@ -0,0 +1,8 @@
Data::Object::Role::Arguable provides a mechanism for unpacking an argument list
and creating a data structure suitable for passing to the consumer constructor.
The argslist routine should return a list of attribute names in the order to be
parsed. An attribute name maybe prefixed with "@" to denote that all remaining
items should be assigned to an arrayref, e.g. @options, or "%" to denote that
all remaining items should be assigned to a hashref, e.g. %options.
WWW: https://metacpan.org/release/Data-Object-Role-Arguable

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Data/Object/Role/Arguable.pm
%%PERL5_MAN3%%/Data::Object::Role::Arguable.3.gz