Received: by mail.netbsd.org (Postfix, from userid 605) id D8A7584EC1; Thu, 16 Apr 2020 12:00:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5F06584D91 for ; Thu, 16 Apr 2020 12:00:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 8Ibrna_ag2in for ; Thu, 16 Apr 2020 12:00:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CED9184C8B for ; Thu, 16 Apr 2020 12:00:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 798EDFB27; Thu, 16 Apr 2020 12:00:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1587038410222620" MIME-Version: 1.0 Date: Thu, 16 Apr 2020 12:00:10 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/devel/p5-MooX-TypeTiny To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20200416120010.798EDFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1587038410222620 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1587038410222620 Content-Disposition: inline Content-Length: 2191 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1587038410222620--