pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Specio
Module Name: pkgsrc
Committed By: mef
Date: Sun Sep 18 07:15:35 UTC 2016
Added Files:
pkgsrc/devel/p5-Specio: DESCR Makefile distinfo
Log Message:
Import p5-Specio-0.25 as devel/p5-Specio.
The Specio distribution provides classes for representing type constraints
and coercion, along with syntax sugar for declaring them.
Note that this is not a proper type system for Perl. Nothing in this
distribution will magically make the Perl interpreter start checking a
value's type on assignment to a variable. In fact, there's no built-in way
to apply a type to a variable at all.
Instead, you can explicitly check a value against a type, and optionally
coerce values to that type.
My long-term goal is to replace Moose's built-in types and MooseX::Types
with this module.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Specio/DESCR \
pkgsrc/devel/p5-Specio/Makefile pkgsrc/devel/p5-Specio/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-Specio/DESCR
diff -u /dev/null pkgsrc/devel/p5-Specio/DESCR:1.1
--- /dev/null Sun Sep 18 07:15:35 2016
+++ pkgsrc/devel/p5-Specio/DESCR Sun Sep 18 07:15:35 2016
@@ -0,0 +1,13 @@
+The Specio distribution provides classes for representing type constraints
+and coercion, along with syntax sugar for declaring them.
+
+Note that this is not a proper type system for Perl. Nothing in this
+distribution will magically make the Perl interpreter start checking a
+value's type on assignment to a variable. In fact, there's no built-in way
+to apply a type to a variable at all.
+
+Instead, you can explicitly check a value against a type, and optionally
+coerce values to that type.
+
+My long-term goal is to replace Moose's built-in types and MooseX::Types
+with this module.
Index: pkgsrc/devel/p5-Specio/Makefile
diff -u /dev/null pkgsrc/devel/p5-Specio/Makefile:1.1
--- /dev/null Sun Sep 18 07:15:35 2016
+++ pkgsrc/devel/p5-Specio/Makefile Sun Sep 18 07:15:35 2016
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/09/18 07:15:35 mef Exp $
+
+DISTNAME= Specio-0.25
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/
+COMMENT= Specio - Type constraints and coercions for Perl
+LICENSE= artistic-2.0
+
+DEPENDS+= p5-Eval-Closure-[0-9]*:../../devel/p5-Eval-Closure
+DEPENDS+= p5-Role-Tiny-[0-9]*:../../devel/p5-Role-Tiny
+DEPENDS+= p5-MRO-Compat-[0-9]*:../../devel/p5-MRO-Compat
+DEPENDS+= p5-Devel-StackTrace-[0-9]*:../../devel/p5-Devel-StackTrace
+
+# for make test
+BUILD_DEPENDS+= p5-Test-Needs-[0-9]*:../../devel/p5-Test-Needs
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+
+PERL5_PACKLIST= auto/Specio/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Specio/distinfo
diff -u /dev/null pkgsrc/devel/p5-Specio/distinfo:1.1
--- /dev/null Sun Sep 18 07:15:35 2016
+++ pkgsrc/devel/p5-Specio/distinfo Sun Sep 18 07:15:35 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/18 07:15:35 mef Exp $
+
+SHA1 (Specio-0.25.tar.gz) = 782389a6b73329ca90ec8065aec59dd5fceec51f
+RMD160 (Specio-0.25.tar.gz) = c62a54748875dff6789785fded594201f7afe514
+SHA512 (Specio-0.25.tar.gz) = 94c88290da38aa08199094eab6beff4caf9a5a1750c95d694d59e12b28001a02b823007a915e3b096eb28b0fb907b6cfab405e63e5047224661a0a9570244cee
+Size (Specio-0.25.tar.gz) = 78432 bytes
Home |
Main Index |
Thread Index |
Old Index