pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-MooX-TypeTiny



Module Name:    pkgsrc
Committed By:   mef
Date:           Thu Apr 16 12:00:10 UTC 2020

Added Files:
        pkgsrc/devel/p5-MooX-TypeTiny: DESCR Makefile distinfo

Log Message:
(devel/p5-MooX-TypeTiny) import MooX-TypeTiny-0.001004

This module optimizes Moo type checks when used with Type::Tiny to
perform better. It will automatically apply to isa checks and
coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as
normal.

This is done by inlining the type check in a more optimal manner that
is specific to Type::Tiny rather than the general mechanism Moo
usually uses.

With this module, setters with type checks should be as fast as an
equivalent check in Moose.

It is hoped that eventually this type inlining will be done
automatically, making this module unnecessary.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-MooX-TypeTiny/DESCR \
    pkgsrc/devel/p5-MooX-TypeTiny/Makefile \
    pkgsrc/devel/p5-MooX-TypeTiny/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-MooX-TypeTiny/DESCR
diff -u /dev/null pkgsrc/devel/p5-MooX-TypeTiny/DESCR:1.1
--- /dev/null   Thu Apr 16 12:00:10 2020
+++ pkgsrc/devel/p5-MooX-TypeTiny/DESCR Thu Apr 16 12:00:10 2020
@@ -0,0 +1,14 @@
+This module optimizes Moo type checks when used with Type::Tiny to
+perform better. It will automatically apply to isa checks and
+coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as
+normal.
+
+This is done by inlining the type check in a more optimal manner that
+is specific to Type::Tiny rather than the general mechanism Moo
+usually uses.
+
+With this module, setters with type checks should be as fast as an
+equivalent check in Moose.
+
+It is hoped that eventually this type inlining will be done
+automatically, making this module unnecessary.
Index: pkgsrc/devel/p5-MooX-TypeTiny/Makefile
diff -u /dev/null pkgsrc/devel/p5-MooX-TypeTiny/Makefile:1.1
--- /dev/null   Thu Apr 16 12:00:10 2020
+++ pkgsrc/devel/p5-MooX-TypeTiny/Makefile      Thu Apr 16 12:00:10 2020
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/04/16 12:00:10 mef Exp $
+
+DISTNAME=      MooX-TypeTiny-0.001004
+CATEGORIES=    devel
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/H/HA/HAARG/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/H/HA/HAARG/
+COMMENT=       Optimized type checks for Moo + Type::Tiny
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=        auto/MooX/TypeTiny/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-MooX-TypeTiny/distinfo
diff -u /dev/null pkgsrc/devel/p5-MooX-TypeTiny/distinfo:1.1
--- /dev/null   Thu Apr 16 12:00:10 2020
+++ pkgsrc/devel/p5-MooX-TypeTiny/distinfo      Thu Apr 16 12:00:10 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/16 12:00:10 mef Exp $
+
+SHA1 (MooX-TypeTiny-0.001004.tar.gz) = 75c615ab33238d9af4e64b649dd721d1fc621c0e
+RMD160 (MooX-TypeTiny-0.001004.tar.gz) = ca303f306e4aed4a52f94b2fee058c10fd1585ca
+SHA512 (MooX-TypeTiny-0.001004.tar.gz) = e2801fb836b98b156de69a87624a03751c760c2e01c4bd8ccd8d55d63994b41eaf61471bfbaf42f586f2200424c3aca913fb2497b59aaa041b039144aee11880
+Size (MooX-TypeTiny-0.001004.tar.gz) = 12303 bytes



Home | Main Index | Thread Index | Old Index