Date: Mon, 15 Apr 2019 09:07:19 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499007 - in head/devel: . p5-MooX-Singleton Message-ID: <201904150907.x3F97JYc004793@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Mon Apr 15 09:07:19 2019 New Revision: 499007 URL: https://svnweb.freebsd.org/changeset/ports/499007 Log: New port: devel/p5-MooX-Singleton Role::Tiny role that provides "instance" method turning your object into singleton. NOTE: Subsequent calls to "instance" will return the singleton instance ignoring any arguments. This is different from MooseX::Singleton which does not allow any arguments. WWW: https://metacpan.org/pod/MooX::Singleton PR: 237109 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19857 Added: head/devel/p5-MooX-Singleton/ head/devel/p5-MooX-Singleton/Makefile (contents, props changed) head/devel/p5-MooX-Singleton/distinfo (contents, props changed) head/devel/p5-MooX-Singleton/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Apr 15 08:59:45 2019 (r499006) +++ head/devel/Makefile Mon Apr 15 09:07:19 2019 (r499007) @@ -2979,6 +2979,7 @@ SUBDIR += p5-MooX-Locale-Passthrough SUBDIR += p5-MooX-Options SUBDIR += p5-MooX-Role-Parameterized + SUBDIR += p5-MooX-Singleton SUBDIR += p5-MooX-StrictConstructor SUBDIR += p5-MooX-Thunking SUBDIR += p5-MooX-Traits Added: head/devel/p5-MooX-Singleton/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Singleton/Makefile Mon Apr 15 09:07:19 2019 (r499007) @@ -0,0 +1,28 @@ +# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> +# $FreeBSD$ + +PORTNAME= MooX-Singleton +PORTVERSION= 1.20 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dgeo@centrale-marseille.fr +COMMENT= Turn your Moo class into singleton + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_ART10= ${WRKSRC}/LICENSE +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Moo>=0.009013:devel/p5-Moo +RUN_DEPENDS= p5-Moo>=0.009013:devel/p5-Moo + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes +PLIST_FILES= ${SITE_PERL_REL}/MooX/Singleton.pm \ + ${SITE_MAN3_REL}/MooX::Singleton.3.gz + +.include <bsd.port.mk> Added: head/devel/p5-MooX-Singleton/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Singleton/distinfo Mon Apr 15 09:07:19 2019 (r499007) @@ -0,0 +1,3 @@ +TIMESTAMP = 1553516707 +SHA256 (MooX-Singleton-1.20.tar.gz) = f7d7626fffde98f85ec12c1ee26b01f139a4dddd2f453ea56c341df194e3210e +SIZE (MooX-Singleton-1.20.tar.gz) = 14420 Added: head/devel/p5-MooX-Singleton/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-MooX-Singleton/pkg-descr Mon Apr 15 09:07:19 2019 (r499007) @@ -0,0 +1,8 @@ +Role::Tiny role that provides "instance" method turning your object into +singleton. + +NOTE: Subsequent calls to "instance" will return the singleton instance ignoring +any arguments. This is different from MooseX::Singleton which does not allow any +arguments. + +WWW: https://metacpan.org/pod/MooX::Singleton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904150907.x3F97JYc004793>