From owner-svn-ports-head@FreeBSD.ORG Tue Aug 27 17:15:30 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA02163C; Tue, 27 Aug 2013 17:15:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C72DE25DD; Tue, 27 Aug 2013 17:15:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7RHFTvh019595; Tue, 27 Aug 2013 17:15:29 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7RHFSjx019587; Tue, 27 Aug 2013 17:15:28 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201308271715.r7RHFSjx019587@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 27 Aug 2013 17:15:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325471 - in head/devel: . p5-Specio X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 17:15:30 -0000 Author: sunpoet Date: Tue Aug 27 17:15:28 2013 New Revision: 325471 URL: http://svnweb.freebsd.org/changeset/ports/325471 Log: - Add p5-Specio 0.08 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. The author's long-term goal is to replace Moose's built-in types and MooseX::Types with this module. WWW: http://search.cpan.org/dist/Specio/ Added: head/devel/p5-Specio/ head/devel/p5-Specio/Makefile (contents, props changed) head/devel/p5-Specio/distinfo (contents, props changed) head/devel/p5-Specio/pkg-descr (contents, props changed) head/devel/p5-Specio/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Aug 27 17:13:25 2013 (r325470) +++ head/devel/Makefile Tue Aug 27 17:15:28 2013 (r325471) @@ -2655,6 +2655,7 @@ SUBDIR += p5-Sort-Maker SUBDIR += p5-Sort-Tree SUBDIR += p5-Sort-Versions + SUBDIR += p5-Specio SUBDIR += p5-Spiffy SUBDIR += p5-Spoon SUBDIR += p5-Storable Added: head/devel/p5-Specio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Specio/Makefile Tue Aug 27 17:15:28 2013 (r325471) @@ -0,0 +1,62 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Specio +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DROLSKY +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Type constraints and coercions for Perl + +LICENSE= ART20 + +BUILD_DEPENDS= p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \ + p5-Devel-PartialDump>=0:${PORTSDIR}/devel/p5-Devel-PartialDump \ + p5-Eval-Closure>=0:${PORTSDIR}/devel/p5-Eval-Closure \ + p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \ + p5-List-AllUtils>=0:${PORTSDIR}/devel/p5-List-AllUtils \ + p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Clone>=0:${PORTSDIR}/devel/p5-MooseX-Clone \ + p5-MooseX-Params-Validate>=0:${PORTSDIR}/devel/p5-MooseX-Params-Validate \ + p5-MooseX-SemiAffordanceAccessor>=0:${PORTSDIR}/devel/p5-MooseX-SemiAffordanceAccessor \ + p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \ + p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name \ + p5-Throwable>=0:${PORTSDIR}/devel/p5-Throwable \ + p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal + +USE_PERL5= configure +USES= perl5 + +MAN3= Specio.3 \ + Specio::Coercion.3 \ + Specio::Constraint::AnyCan.3 \ + Specio::Constraint::AnyDoes.3 \ + Specio::Constraint::AnyIsa.3 \ + Specio::Constraint::Enum.3 \ + Specio::Constraint::ObjectCan.3 \ + Specio::Constraint::ObjectDoes.3 \ + Specio::Constraint::ObjectIsa.3 \ + Specio::Constraint::Parameterizable.3 \ + Specio::Constraint::Parameterized.3 \ + Specio::Constraint::Role::CanType.3 \ + Specio::Constraint::Role::DoesType.3 \ + Specio::Constraint::Role::Interface.3 \ + Specio::Constraint::Role::IsaType.3 \ + Specio::Constraint::Simple.3 \ + Specio::Declare.3 \ + Specio::DeclaredAt.3 \ + Specio::Exception.3 \ + Specio::Exporter.3 \ + Specio::Helpers.3 \ + Specio::Library::Builtins.3 \ + Specio::Registry.3 \ + Specio::Role::Inlinable.3 + +.include Added: head/devel/p5-Specio/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Specio/distinfo Tue Aug 27 17:15:28 2013 (r325471) @@ -0,0 +1,2 @@ +SHA256 (Specio-0.08.tar.gz) = fd09eb800b9dc7c1667966ba617ee2908e15dc3d22a2eecbf8cd7943ca638f44 +SIZE (Specio-0.08.tar.gz) = 40086 Added: head/devel/p5-Specio/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Specio/pkg-descr Tue Aug 27 17:15:28 2013 (r325471) @@ -0,0 +1,15 @@ +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. + +The author's long-term goal is to replace Moose's built-in types and +MooseX::Types with this module. + +WWW: http://search.cpan.org/dist/Specio/ Added: head/devel/p5-Specio/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Specio/pkg-plist Tue Aug 27 17:15:28 2013 (r325471) @@ -0,0 +1,31 @@ +%%SITE_PERL%%/Specio.pm +%%SITE_PERL%%/Specio/Coercion.pm +%%SITE_PERL%%/Specio/Constraint/AnyCan.pm +%%SITE_PERL%%/Specio/Constraint/AnyDoes.pm +%%SITE_PERL%%/Specio/Constraint/AnyIsa.pm +%%SITE_PERL%%/Specio/Constraint/Enum.pm +%%SITE_PERL%%/Specio/Constraint/ObjectCan.pm +%%SITE_PERL%%/Specio/Constraint/ObjectDoes.pm +%%SITE_PERL%%/Specio/Constraint/ObjectIsa.pm +%%SITE_PERL%%/Specio/Constraint/Parameterizable.pm +%%SITE_PERL%%/Specio/Constraint/Parameterized.pm +%%SITE_PERL%%/Specio/Constraint/Role/CanType.pm +%%SITE_PERL%%/Specio/Constraint/Role/DoesType.pm +%%SITE_PERL%%/Specio/Constraint/Role/Interface.pm +%%SITE_PERL%%/Specio/Constraint/Role/IsaType.pm +%%SITE_PERL%%/Specio/Constraint/Simple.pm +%%SITE_PERL%%/Specio/Declare.pm +%%SITE_PERL%%/Specio/DeclaredAt.pm +%%SITE_PERL%%/Specio/Exception.pm +%%SITE_PERL%%/Specio/Exporter.pm +%%SITE_PERL%%/Specio/Helpers.pm +%%SITE_PERL%%/Specio/Library/Builtins.pm +%%SITE_PERL%%/Specio/Registry.pm +%%SITE_PERL%%/Specio/Role/Inlinable.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Specio/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Specio +@dirrm %%SITE_PERL%%/Specio/Role +@dirrm %%SITE_PERL%%/Specio/Library +@dirrm %%SITE_PERL%%/Specio/Constraint/Role +@dirrm %%SITE_PERL%%/Specio/Constraint +@dirrm %%SITE_PERL%%/Specio