From nobody Tue Jan 28 17:06:01 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YjBWZ58kGz5lmHL; Tue, 28 Jan 2025 17:06:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjBWY5xYdz440T; Tue, 28 Jan 2025 17:06:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZkKWpk3m1jbvVvqiGlkswcgNABCHXQ4UbWWej9fVEus=; b=lT265xCo6Mxq5UCPkQI1Qh76O5Z//IY/ctVtWM+JRPN9QjCnWf9DpBcQRogA/KWWojbO3F G/+Qc3+AwpFK6v6p3sNIEjggXIT+iKD8WEBZnOAzuRBssFZSgtoQJhVVFQbKhoUNlqYse5 1U3YZteHJfp34ex+oA5XtSCSKs4ke/urauLYOXxM7mC56pcUkDJstu1bhDgDwMljT/gw/2 Jp07YdG+1I575EcGLUCIjwXt6E4D3Zo3r9gVQh3fm3+B4AreBdnxu27TbQV6ta+PlsCSr9 G80L5388VHrq8c9MPIHIt3SE4p+i5sPdZDrnFGB/kgA08AbBwTgVFja76T9ODg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZkKWpk3m1jbvVvqiGlkswcgNABCHXQ4UbWWej9fVEus=; b=Miqwg7s1n/sRCl0Sc638ZFWf2WOa3jmofH79vQhTuVE885iYuatiiWDWNNtnkwhgjUoMao aSifRbU/vVCafhZopdP1EDn1oR5xlCDziSuj2t/e2I+aqzA9qQdGnBezZd78XkOPrrvi07 yqSN/xWm0/o6LW36K6RHoBlFzLvZNIUWLCyPbBrYeU91mGVIDRdwTPT3T4/mW9WS6yY6Kk qOOOVePv8D2CevHb+Anxvh6sPZKBZ4KEn8v4YCZ0v6CWPMOBfcgPbNFz5UQv9P9ieFqWj9 qKuyVYvhWmxjtEXTdRjEa4Vhfa1q+Jv9nJynDlSVIyeIX33OrShDNmyapgyaEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738083961; a=rsa-sha256; cv=none; b=qHnkZYccFmWHnUr6pxB6wO4KBaqwTLjmsptlvnWoXXi/VwJYsYgyT1OKQhmF6CCrQ2d3Y4 is2PPStTdAbdYIF+zHWbSecfxaLrFfUYVjVCVJSTTj/wUjs9V8bqZ5hNGUWgYmrFQBXT/x PPDG2ADtpaPvT76bg56oDhRecUY+7OGrc4fkwo3demZVf4p+0dEUSTngfv294dGASP6rFo L1rN3+f7VXbSOd0JpOiAGGOOobMWovSgqerWEFc4bviIzyu2XPZUA2aSAGbOELUFWfzCj3 iSCDrnrxHDiBubCYWZoNbA9th3t5cJGk57T7fTM85DxU0UE9ay/tYAW9FoUInw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YjBWY58ZVz7wl; Tue, 28 Jan 2025 17:06:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50SH6183061328; Tue, 28 Jan 2025 17:06:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50SH61BL061324; Tue, 28 Jan 2025 17:06:01 GMT (envelope-from git) Date: Tue, 28 Jan 2025 17:06:01 GMT Message-Id: <202501281706.50SH61BL061324@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b909e6890b55 - main - devel/p5-Type-TinyX-Facets: Add p5-Type-TinyX-Facets 1.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b909e6890b554f5f8a9ef4b3e9ce5d1ef805742b Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b909e6890b554f5f8a9ef4b3e9ce5d1ef805742b commit b909e6890b554f5f8a9ef4b3e9ce5d1ef805742b Author: Po-Chuan Hsieh AuthorDate: 2025-01-28 16:48:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-01-28 16:48:44 +0000 devel/p5-Type-TinyX-Facets: Add p5-Type-TinyX-Facets 1.3 Type::TinyX::Facets make it easy to create parameterized types with facets. Type::Tiny allows definition of types which can accept parameters: use Types::Standard -types; my $t1 = Array[Int]; my $t2 = Tuple[Int, HashRef]; This defines $t1 as an array of integers. and $t2 as a tuple of two elements, an integer and a hash. Parameters are passed as a list to the parameterized constraint generation machinery, and there is great freedom in how they may be interpreted. This module makes it easy to create a parameterized type which takes name - value pairs or,facets. (The terminology is taken from Types::XSD::Lite, to which this module owes its existence.) --- devel/Makefile | 1 + devel/p5-Type-TinyX-Facets/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-Type-TinyX-Facets/distinfo | 3 +++ devel/p5-Type-TinyX-Facets/pkg-descr | 16 ++++++++++++++++ devel/p5-Type-TinyX-Facets/pkg-plist | 2 ++ 5 files changed, 50 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d63c8334f9e9..1f84ec4d1c7f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3884,6 +3884,7 @@ SUBDIR += p5-Type-Tiny SUBDIR += p5-Type-Tiny-Signatures SUBDIR += p5-Type-Tiny-XS + SUBDIR += p5-Type-TinyX-Facets SUBDIR += p5-Types-Core SUBDIR += p5-Types-PDL SUBDIR += p5-Types-Path-Tiny diff --git a/devel/p5-Type-TinyX-Facets/Makefile b/devel/p5-Type-TinyX-Facets/Makefile new file mode 100644 index 000000000000..4d8c15bf5b96 --- /dev/null +++ b/devel/p5-Type-TinyX-Facets/Makefile @@ -0,0 +1,28 @@ +PORTNAME= Type-TinyX-Facets +PORTVERSION= 1.3 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DJERIUS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Easily create a facet parameterized Type::Tiny type +WWW= https://metacpan.org/dist/Type-TinyX-Facets + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Exporter-Tiny>=0:devel/p5-Exporter-Tiny \ + p5-Safe-Isa>=0:devel/p5-Safe-Isa \ + p5-Type-Tiny>=0:devel/p5-Type-Tiny +TEST_DEPENDS= p5-Test-Lib>=0:devel/p5-Test-Lib \ + p5-Test-Simple>=1.302200:devel/p5-Test-Simple + +USES= perl5 +USE_PERL5= modbuildtiny + +NO_ARCH= yes + +.include diff --git a/devel/p5-Type-TinyX-Facets/distinfo b/devel/p5-Type-TinyX-Facets/distinfo new file mode 100644 index 000000000000..7313b6628db9 --- /dev/null +++ b/devel/p5-Type-TinyX-Facets/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671123 +SHA256 (Type-TinyX-Facets-1.3.tar.gz) = 60553c7a9527c5253b3bf005fe3d9de2503c7ef2baa339fec917c7b6f5f20bc0 +SIZE (Type-TinyX-Facets-1.3.tar.gz) = 23303 diff --git a/devel/p5-Type-TinyX-Facets/pkg-descr b/devel/p5-Type-TinyX-Facets/pkg-descr new file mode 100644 index 000000000000..e5eeeeda4d24 --- /dev/null +++ b/devel/p5-Type-TinyX-Facets/pkg-descr @@ -0,0 +1,16 @@ +Type::TinyX::Facets make it easy to create parameterized types with facets. + +Type::Tiny allows definition of types which can accept parameters: + use Types::Standard -types; + my $t1 = Array[Int]; + my $t2 = Tuple[Int, HashRef]; + +This defines $t1 as an array of integers. and $t2 as a tuple of two elements, an +integer and a hash. + +Parameters are passed as a list to the parameterized constraint generation +machinery, and there is great freedom in how they may be interpreted. + +This module makes it easy to create a parameterized type which takes name - +value pairs or,facets. (The terminology is taken from Types::XSD::Lite, to which +this module owes its existence.) diff --git a/devel/p5-Type-TinyX-Facets/pkg-plist b/devel/p5-Type-TinyX-Facets/pkg-plist new file mode 100644 index 000000000000..8799fce688f5 --- /dev/null +++ b/devel/p5-Type-TinyX-Facets/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Type/TinyX/Facets.pm +%%PERL5_MAN3%%/Type::TinyX::Facets.3.gz