svn commit: r499007 - in head/devel: . p5-MooX-Singleton

Kai Knoblich kai at FreeBSD.org
Mon Apr 15 09:07:21 UTC 2019


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 at 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 at centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME=	MooX-Singleton
+PORTVERSION=	1.20
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	dgeo at 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


More information about the svn-ports-all mailing list