pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Sub-HandlesVia (devel/p5-Sub-HandlesVia) impo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4619a89f288
branches:  trunk
changeset: 427414:e4619a89f288
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu Apr 16 12:34:18 2020 +0000

description:
(devel/p5-Sub-HandlesVia) import p5-Sub-HandlesVia-0.013

If you've used Moose's native attribute traits, or MooX::HandlesVia
before, you should have a fairly good idea what this does.

Why re-invent the wheel? Well, this is an implementation that should work
okay with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One
ring to rule them all, so to speak.

Also, unlike MooX::HandlesVia, it honours type constraints, plus it
doesn't have the limitation that it can't mutate non-reference values.

diffstat:

 devel/p5-Sub-HandlesVia/DESCR    |   9 +++++++++
 devel/p5-Sub-HandlesVia/Makefile |  21 +++++++++++++++++++++
 devel/p5-Sub-HandlesVia/distinfo |   6 ++++++
 3 files changed, 36 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r 986cc53f0c03 -r e4619a89f288 devel/p5-Sub-HandlesVia/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sub-HandlesVia/DESCR     Thu Apr 16 12:34:18 2020 +0000
@@ -0,0 +1,9 @@
+If you've used Moose's native attribute traits, or MooX::HandlesVia
+before, you should have a fairly good idea what this does.
+
+Why re-invent the wheel? Well, this is an implementation that should work
+okay with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One
+ring to rule them all, so to speak.
+
+Also, unlike MooX::HandlesVia, it honours type constraints, plus it
+doesn't have the limitation that it can't mutate non-reference values.
diff -r 986cc53f0c03 -r e4619a89f288 devel/p5-Sub-HandlesVia/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sub-HandlesVia/Makefile  Thu Apr 16 12:34:18 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/04/16 12:34:18 mef Exp $
+
+DISTNAME=      Sub-HandlesVia-0.013
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
+COMMENT=       Alternative handles_via implementation
+LICENSE=       ${PERL5_LICENSE}
+
+TEST_DEPENDS+= p5-MooX-TypeTiny-[0-9]*:../../devel/p5-MooX-TypeTiny
+TEST_DEPENDS+= p5-Mouse-[0-9]*:../../devel/p5-Mouse
+TEST_DEPENDS+= p5-MooseX-ArrayRef-[0-9]*:../../devel/p5-MooseX-ArrayRef
+TEST_DEPENDS+= p5-MooseX-InsideOut-[0-9]*:../../devel/p5-MooseX-InsideOut
+
+PERL5_PACKLIST=        auto/Sub/HandlesVia/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 986cc53f0c03 -r e4619a89f288 devel/p5-Sub-HandlesVia/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sub-HandlesVia/distinfo  Thu Apr 16 12:34:18 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/16 12:34:18 mef Exp $
+
+SHA1 (Sub-HandlesVia-0.013.tar.gz) = 65c7be77881613edd499cb20fc1c7a47948058a8
+RMD160 (Sub-HandlesVia-0.013.tar.gz) = 6bce7df0fc6878697c7229bec943bed7c070ba30
+SHA512 (Sub-HandlesVia-0.013.tar.gz) = 0fcadaa4a19b0136c1a85d6000f4528532f74082cd9a2b08f81aafc0125b1a9924a8b4399fc7e8a39b5c6d875bd1539ea05fcd3d77befef3fb83d60fe9f6642c
+Size (Sub-HandlesVia-0.013.tar.gz) = 98942 bytes



Home | Main Index | Thread Index | Old Index