Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 06:19:13 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e2ea4ddbecb - main - devel/p5-Data-Sah: Add p5-Data-Sah 0.917
Message-ID:  <202409050619.4856JDsv091016@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e2ea4ddbecb51bae65b6b07598a2251113c7d19

commit 4e2ea4ddbecb51bae65b6b07598a2251113c7d19
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:13:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:15 +0000

    devel/p5-Data-Sah: Add p5-Data-Sah 0.917
    
    Data-Sah implements compilers for producing Perl and JavaScript validators, as
    well as translatable human description text from Sah schemas. Compiler approach
    is used instead of interpreter for faster speed.
    
    The generated validator code can run without the Data::Sah::* modules.
---
 devel/Makefile              |   1 +
 devel/p5-Data-Sah/Makefile  |  51 ++++++++++++
 devel/p5-Data-Sah/distinfo  |   3 +
 devel/p5-Data-Sah/pkg-descr |   5 ++
 devel/p5-Data-Sah/pkg-plist | 192 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 252 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 27501dfa1a62..2d7ebf07864f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2296,6 +2296,7 @@
     SUBDIR += p5-Data-RoundRobin
     SUBDIR += p5-Data-Rx
     SUBDIR += p5-Data-SExpression
+    SUBDIR += p5-Data-Sah
     SUBDIR += p5-Data-Sah-Normalize
     SUBDIR += p5-Data-Section
     SUBDIR += p5-Data-Section-Simple
diff --git a/devel/p5-Data-Sah/Makefile b/devel/p5-Data-Sah/Makefile
new file mode 100644
index 000000000000..832997c1708d
--- /dev/null
+++ b/devel/p5-Data-Sah/Makefile
@@ -0,0 +1,51 @@
+PORTNAME=	Data-Sah
+PORTVERSION=	0.917
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast and featureful data structure validation
+WWW=		https://metacpan.org/dist/Data-Sah
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Data-Cmp>=0.002:devel/p5-Data-Cmp \
+		p5-Data-Dmp>=0.242:devel/p5-Data-Dmp \
+		p5-Data-Dump>=0:devel/p5-Data-Dump \
+		p5-Data-Sah-Coerce>=0.050:devel/p5-Data-Sah-Coerce \
+		p5-Data-Sah-DefaultValue>=0.005:devel/p5-Data-Sah-DefaultValue \
+		p5-Data-Sah-Filter>=0.024:devel/p5-Data-Sah-Filter \
+		p5-Data-Sah-Normalize>=0.051:devel/p5-Data-Sah-Normalize \
+		p5-Data-Sah-Resolve>=0.010:devel/p5-Data-Sah-Resolve \
+		p5-File-ShareDir-Tarball>=0:devel/p5-File-ShareDir-Tarball \
+		p5-File-ShareDir>=0:devel/p5-File-ShareDir \
+		p5-File-Slurper>=0:devel/p5-File-Slurper \
+		p5-File-chdir>=0:devel/p5-File-chdir \
+		p5-JSON>=0:converters/p5-JSON \
+		p5-Language-Expr>=0.29:devel/p5-Language-Expr \
+		p5-Lingua-EN-Numbers-Ordinate>=1.02:textproc/p5-Lingua-EN-Numbers-Ordinate \
+		p5-Log-ger>=0.038:devel/p5-Log-ger \
+		p5-Mo>=0,1:devel/p5-Mo \
+		p5-Module-Installed-Tiny>=0.011:devel/p5-Module-Installed-Tiny \
+		p5-Regexp-Stringify>=0:devel/p5-Regexp-Stringify \
+		p5-Role-Tiny>=0:devel/p5-Role-Tiny \
+		p5-Scalar-Util-Numeric-PP>=0:devel/p5-Scalar-Util-Numeric-PP \
+		p5-Text-sprintfn>=0:textproc/p5-Text-sprintfn \
+		p5-Tie-IxHash>=0:devel/p5-Tie-IxHash
+TEST_DEPENDS=	p5-Sah>=0.9.50:devel/p5-Sah \
+		p5-Test-Exception>=0:devel/p5-Test-Exception \
+		p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \
+		p5-Test-Warn>=0:devel/p5-Test-Warn \
+		p5-Time-Duration-Parse-AsHash>=0:devel/p5-Time-Duration-Parse-AsHash \
+		p5-lib-filter>=0.03:devel/p5-lib-filter
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Data-Sah/distinfo b/devel/p5-Data-Sah/distinfo
new file mode 100644
index 000000000000..cb52042a31fe
--- /dev/null
+++ b/devel/p5-Data-Sah/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084448
+SHA256 (Data-Sah-0.917.tar.gz) = 3fd8eadcf9e6f87354f70135f1927762cc9ce726a1cd415b4db085f21e843f75
+SIZE (Data-Sah-0.917.tar.gz) = 128161
diff --git a/devel/p5-Data-Sah/pkg-descr b/devel/p5-Data-Sah/pkg-descr
new file mode 100644
index 000000000000..d1c37b3e3028
--- /dev/null
+++ b/devel/p5-Data-Sah/pkg-descr
@@ -0,0 +1,5 @@
+Data-Sah implements compilers for producing Perl and JavaScript validators, as
+well as translatable human description text from Sah schemas. Compiler approach
+is used instead of interpreter for faster speed.
+
+The generated validator code can run without the Data::Sah::* modules.
diff --git a/devel/p5-Data-Sah/pkg-plist b/devel/p5-Data-Sah/pkg-plist
new file mode 100644
index 000000000000..a874895448b9
--- /dev/null
+++ b/devel/p5-Data-Sah/pkg-plist
@@ -0,0 +1,192 @@
+%%SITE_PERL%%/Data/Sah.pm
+%%SITE_PERL%%/Data/Sah/Compiler.pm
+%%SITE_PERL%%/Data/Sah/Compiler/Prog.pm
+%%SITE_PERL%%/Data/Sah/Compiler/Prog/TH.pm
+%%SITE_PERL%%/Data/Sah/Compiler/Prog/TH/all.pm
+%%SITE_PERL%%/Data/Sah/Compiler/Prog/TH/any.pm
+%%SITE_PERL%%/Data/Sah/Compiler/TH.pm
+%%SITE_PERL%%/Data/Sah/Compiler/TextResultRole.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/Comparable.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/HasElems.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/Sortable.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/all.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/any.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/array.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/bool.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/buf.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/cistr.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/code.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/date.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/datenotime.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/datetime.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/duration.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/float.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/hash.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/int.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/num.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/obj.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/re.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/str.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/timeofday.pm
+%%SITE_PERL%%/Data/Sah/Compiler/human/TH/undef.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/all.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/any.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/array.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/bool.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/buf.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/cistr.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/code.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/date.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/datenotime.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/datetime.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/duration.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/float.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/hash.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/int.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/num.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/obj.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/re.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/str.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/timeofday.pm
+%%SITE_PERL%%/Data/Sah/Compiler/perl/TH/undef.pm
+%%SITE_PERL%%/Data/Sah/Human.pm
+%%SITE_PERL%%/Data/Sah/Lang.pm
+%%SITE_PERL%%/Data/Sah/Lang/fr_FR.pm
+%%SITE_PERL%%/Data/Sah/Lang/id_ID.pm
+%%SITE_PERL%%/Data/Sah/Lang/zh_CN.pm
+%%SITE_PERL%%/Data/Sah/Manual.pod
+%%SITE_PERL%%/Data/Sah/Manual/Contributing.pod
+%%SITE_PERL%%/Data/Sah/Manual/Developer.pod
+%%SITE_PERL%%/Data/Sah/Manual/Extending.pod
+%%SITE_PERL%%/Data/Sah/Manual/ParamsValidating.pod
+%%SITE_PERL%%/Data/Sah/Type/BaseType.pm
+%%SITE_PERL%%/Data/Sah/Type/Comparable.pm
+%%SITE_PERL%%/Data/Sah/Type/HasElems.pm
+%%SITE_PERL%%/Data/Sah/Type/Sortable.pm
+%%SITE_PERL%%/Data/Sah/Type/all.pm
+%%SITE_PERL%%/Data/Sah/Type/any.pm
+%%SITE_PERL%%/Data/Sah/Type/array.pm
+%%SITE_PERL%%/Data/Sah/Type/bool.pm
+%%SITE_PERL%%/Data/Sah/Type/buf.pm
+%%SITE_PERL%%/Data/Sah/Type/cistr.pm
+%%SITE_PERL%%/Data/Sah/Type/code.pm
+%%SITE_PERL%%/Data/Sah/Type/date.pm
+%%SITE_PERL%%/Data/Sah/Type/datenotime.pm
+%%SITE_PERL%%/Data/Sah/Type/datetime.pm
+%%SITE_PERL%%/Data/Sah/Type/duration.pm
+%%SITE_PERL%%/Data/Sah/Type/float.pm
+%%SITE_PERL%%/Data/Sah/Type/hash.pm
+%%SITE_PERL%%/Data/Sah/Type/int.pm
+%%SITE_PERL%%/Data/Sah/Type/num.pm
+%%SITE_PERL%%/Data/Sah/Type/obj.pm
+%%SITE_PERL%%/Data/Sah/Type/re.pm
+%%SITE_PERL%%/Data/Sah/Type/str.pm
+%%SITE_PERL%%/Data/Sah/Type/timeofday.pm
+%%SITE_PERL%%/Data/Sah/Type/undef.pm
+%%SITE_PERL%%/Data/Sah/Util/Func.pm
+%%SITE_PERL%%/Data/Sah/Util/Role.pm
+%%SITE_PERL%%/Data/Sah/Util/Type/Date.pm
+%%SITE_PERL%%/Data/Sah/Util/TypeX.pm
+%%SITE_PERL%%/Test/Data/Sah.pm
+%%SITE_PERL%%/Test/Data/Sah/Human.pm
+%%SITE_PERL%%/Test/Data/Sah/Perl.pm
+%%PERL5_MAN3%%/Data::Sah.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::Prog.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::Prog::TH.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::Prog::TH::all.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::Prog::TH::any.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::TH.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::TextResultRole.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::Comparable.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::HasElems.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::Sortable.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::all.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::any.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::array.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::bool.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::buf.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::cistr.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::code.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::date.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::datenotime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::datetime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::duration.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::float.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::hash.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::int.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::num.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::obj.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::re.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::str.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::timeofday.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::human::TH::undef.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::all.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::any.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::array.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::bool.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::buf.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::cistr.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::code.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::date.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::datenotime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::datetime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::duration.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::float.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::hash.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::int.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::num.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::obj.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::re.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::str.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::timeofday.3.gz
+%%PERL5_MAN3%%/Data::Sah::Compiler::perl::TH::undef.3.gz
+%%PERL5_MAN3%%/Data::Sah::Human.3.gz
+%%PERL5_MAN3%%/Data::Sah::Lang.3.gz
+%%PERL5_MAN3%%/Data::Sah::Lang::fr_FR.3.gz
+%%PERL5_MAN3%%/Data::Sah::Lang::id_ID.3.gz
+%%PERL5_MAN3%%/Data::Sah::Lang::zh_CN.3.gz
+%%PERL5_MAN3%%/Data::Sah::Manual.3.gz
+%%PERL5_MAN3%%/Data::Sah::Manual::Contributing.3.gz
+%%PERL5_MAN3%%/Data::Sah::Manual::Developer.3.gz
+%%PERL5_MAN3%%/Data::Sah::Manual::Extending.3.gz
+%%PERL5_MAN3%%/Data::Sah::Manual::ParamsValidating.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::BaseType.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::Comparable.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::HasElems.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::Sortable.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::all.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::any.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::array.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::bool.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::buf.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::cistr.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::code.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::date.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::datenotime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::datetime.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::duration.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::float.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::hash.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::int.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::num.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::obj.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::re.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::str.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::timeofday.3.gz
+%%PERL5_MAN3%%/Data::Sah::Type::undef.3.gz
+%%PERL5_MAN3%%/Data::Sah::Util::Func.3.gz
+%%PERL5_MAN3%%/Data::Sah::Util::Role.3.gz
+%%PERL5_MAN3%%/Data::Sah::Util::Type::Date.3.gz
+%%PERL5_MAN3%%/Data::Sah::Util::TypeX.3.gz
+%%PERL5_MAN3%%/Test::Data::Sah.3.gz
+%%PERL5_MAN3%%/Test::Data::Sah::Human.3.gz
+%%PERL5_MAN3%%/Test::Data::Sah::Perl.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409050619.4856JDsv091016>