mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
devel/p5-Types-Self: New port p5-Types-Self
Perl module exports a Self type constraint which constrains values to be blessed objects in the same class as the package it was imported into. Required by devel/p5-OrePAN2 to run the tests
This commit is contained in:
parent
82f8dde1b6
commit
b58c534bee
5 changed files with 35 additions and 0 deletions
|
@ -3757,6 +3757,7 @@
|
||||||
SUBDIR += p5-Types-Core
|
SUBDIR += p5-Types-Core
|
||||||
SUBDIR += p5-Types-Path-Tiny
|
SUBDIR += p5-Types-Path-Tiny
|
||||||
SUBDIR += p5-Types-Serialiser
|
SUBDIR += p5-Types-Serialiser
|
||||||
|
SUBDIR += p5-Types-Self
|
||||||
SUBDIR += p5-Types-URI
|
SUBDIR += p5-Types-URI
|
||||||
SUBDIR += p5-Types-UUID
|
SUBDIR += p5-Types-UUID
|
||||||
SUBDIR += p5-UDCode
|
SUBDIR += p5-UDCode
|
||||||
|
|
25
devel/p5-Types-Self/Makefile
Normal file
25
devel/p5-Types-Self/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
PORTNAME= Types-Self
|
||||||
|
PORTVERSION= 0.002
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
MASTER_SITES= CPAN
|
||||||
|
MASTER_SITE_SUBDIR= CPAN:TOBYINK
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= perl@FreeBSD.org
|
||||||
|
COMMENT= Perl Self type to constrains values to be blessed objects
|
||||||
|
WWW= https://metacpan.org/release/OrePAN2
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1+
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
TEST_DEPENDS= p5-Role-Hooks>0:devel/p5-Role-Hooks \
|
||||||
|
p5-Role-Tiny>0:devel/p5-Role-Tiny \
|
||||||
|
p5-Type-Tiny>0:devel/p5-Type-Tiny
|
||||||
|
|
||||||
|
USES= perl5
|
||||||
|
USE_PERL5= configure
|
||||||
|
NO_ARCH= YES
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
devel/p5-Types-Self/distinfo
Normal file
3
devel/p5-Types-Self/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1708505165
|
||||||
|
SHA256 (Types-Self-0.002.tar.gz) = 9c017076c99429ea0fd41f2ba07462fe96bc533b06f07a96ab7cdf3518bb4989
|
||||||
|
SIZE (Types-Self-0.002.tar.gz) = 15307
|
4
devel/p5-Types-Self/pkg-descr
Normal file
4
devel/p5-Types-Self/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
This module exports a Self type constraint which constrains values
|
||||||
|
to be blessed objects in the same class as the package it was
|
||||||
|
imported into, or blessed objects which consume the role it was
|
||||||
|
imported into. It should do the right thing with inheritance.
|
2
devel/p5-Types-Self/pkg-plist
Normal file
2
devel/p5-Types-Self/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%%SITE_PERL%%/Types/Self.pm
|
||||||
|
%%PERL5_MAN3%%/Types::Self.3.gz
|
Loading…
Add table
Reference in a new issue