Date: Fri, 24 Apr 2020 18:01:18 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r532814 - in head/devel: . p5-routines Message-ID: <202004241801.03OI1IBt053454@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Apr 24 18:01:18 2020 New Revision: 532814 URL: https://svnweb.freebsd.org/changeset/ports/532814 Log: Add p5-routines 0.02 The routines pragma is used to provide typeable method and function signtures to the calling package, as well as before, after, around, augment and override method modifiers. The registry pragma is used to associate the calling package with Type::Tiny type libraries. A $registry variable is made available to the caller to be used to access registry objects. The variable is a callback (i.e. coderef) which should be called with a single argument, the namespace whose registry object you want, otherwise the argument defaults to main. WWW: https://metacpan.org/release/routines Added: head/devel/p5-routines/ head/devel/p5-routines/Makefile (contents, props changed) head/devel/p5-routines/distinfo (contents, props changed) head/devel/p5-routines/pkg-descr (contents, props changed) head/devel/p5-routines/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Apr 24 18:01:11 2020 (r532813) +++ head/devel/Makefile Fri Apr 24 18:01:18 2020 (r532814) @@ -3661,6 +3661,7 @@ SUBDIR += p5-pip SUBDIR += p5-prefork SUBDIR += p5-relative + SUBDIR += p5-routines SUBDIR += p5-self SUBDIR += p5-self-init SUBDIR += p5-strictures Added: head/devel/p5-routines/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-routines/Makefile Fri Apr 24 18:01:18 2020 (r532814) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= routines +PORTVERSION= 0.02 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:AWNCORP +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Typeable method and function signatures + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Function-Parameters>=2.001003:devel/p5-Function-Parameters \ + p5-Type-Tiny>=1.004004:devel/p5-Type-Tiny +TEST_DEPENDS= p5-Test-Auto>=0.03:devel/p5-Test-Auto + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/p5-routines/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-routines/distinfo Fri Apr 24 18:01:18 2020 (r532814) @@ -0,0 +1,3 @@ +TIMESTAMP = 1587721877 +SHA256 (routines-0.02.tar.gz) = fc6da1cc15ec93fc977ea01e59b06328e981871871a178ba5585273a9e0b905d +SIZE (routines-0.02.tar.gz) = 13302 Added: head/devel/p5-routines/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-routines/pkg-descr Fri Apr 24 18:01:18 2020 (r532814) @@ -0,0 +1,11 @@ +The routines pragma is used to provide typeable method and function signtures to +the calling package, as well as before, after, around, augment and override +method modifiers. + +The registry pragma is used to associate the calling package with Type::Tiny +type libraries. A $registry variable is made available to the caller to be used +to access registry objects. The variable is a callback (i.e. coderef) which +should be called with a single argument, the namespace whose registry object you +want, otherwise the argument defaults to main. + +WWW: https://metacpan.org/release/routines Added: head/devel/p5-routines/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-routines/pkg-plist Fri Apr 24 18:01:18 2020 (r532814) @@ -0,0 +1,4 @@ +%%PERL5_MAN3%%/registry.3.gz +%%PERL5_MAN3%%/routines.3.gz +%%SITE_PERL%%/registry.pm +%%SITE_PERL%%/routines.pm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004241801.03OI1IBt053454>