1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Add textproc/p5-JSON-Validator

JSON::Validator validates a data structure against a schema. It can
load schemas from JSON, YAML, and perl data structures, and includes a
powerful schema-building DSL.

JSON is processed by Mojo::JSON (which will use p5-Cpanel-JSON-XS
if it's installed). YAML uses p5-YAML-LibYAML (YAML::XS).

WWW: https://metacpan.org/pod/JSON::Validator
This commit is contained in:
Adam Weinberger 2020-06-20 14:47:12 +00:00
parent 7d98fbcfca
commit 6f33388575
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539744
5 changed files with 70 additions and 0 deletions

View File

@ -537,6 +537,7 @@
SUBDIR += p5-Hash-Merge
SUBDIR += p5-Hatena-Keyword
SUBDIR += p5-IO-CSVHeaderFile
SUBDIR += p5-JSON-Validator
SUBDIR += p5-JavaScript-Minifier
SUBDIR += p5-JavaScript-Minifier-XS
SUBDIR += p5-JavaScript-Packer

View File

@ -0,0 +1,28 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= JSON-Validator
PORTVERSION= 4.00
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= adamw@FreeBSD.org
COMMENT= Validate data against a JSON schema
LICENSE= ART20
BUILD_DEPENDS:= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Mojolicious>=7.28:www/p5-Mojolicious \
p5-YAML-LibYAML>=0.80:textproc/p5-YAML-LibYAML
TEST_DEPENDS= p5-Data-Validate-Domain>0:dns/p5-Data-Validate-Domain \
p5-Data-Validate-IP>0:net-mgmt/p5-Data-Validate-IP \
p5-Net-IDN-Encode>0:textproc/p5-Net-IDN-Encode \
p5-Test-Deep>0:devel/p5-Test-Deep
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1592625929
SHA256 (JSON-Validator-4.00.tar.gz) = 9233d352b7ccd4f8e192563055c07a5cfbca60fa5107b07a7523280d55b1e626
SIZE (JSON-Validator-4.00.tar.gz) = 83689

View File

@ -0,0 +1,8 @@
JSON::Validator validates a data structure against a schema. It can
load schemas from JSON, YAML, and perl data structures, and includes a
powerful schema-building DSL.
JSON is processed by Mojo::JSON (which will use p5-Cpanel-JSON-XS
if it's installed). YAML uses p5-YAML-LibYAML (YAML::XS).
WWW: https://metacpan.org/pod/JSON::Validator

View File

@ -0,0 +1,30 @@
%%SITE_PERL%%/JSON/Validator.pm
%%SITE_PERL%%/JSON/Validator/Error.pm
%%SITE_PERL%%/JSON/Validator/Formats.pm
%%SITE_PERL%%/JSON/Validator/Joi.pm
%%SITE_PERL%%/JSON/Validator/Ref.pm
%%SITE_PERL%%/JSON/Validator/Schema.pm
%%SITE_PERL%%/JSON/Validator/Schema/Draft4.pm
%%SITE_PERL%%/JSON/Validator/Schema/Draft6.pm
%%SITE_PERL%%/JSON/Validator/Schema/Draft7.pm
%%SITE_PERL%%/JSON/Validator/Util.pm
%%SITE_PERL%%/JSON/Validator/cache/10a5eeb37fcd5d829449028f7ceb0774
%%SITE_PERL%%/JSON/Validator/cache/36d1bd12eeed51e86c8695bd8876a9df
%%SITE_PERL%%/JSON/Validator/cache/3d35aac549d951f4cf9182ff47bff0b4
%%SITE_PERL%%/JSON/Validator/cache/49c95b866e40f788892a7fb3c816b0e8
%%SITE_PERL%%/JSON/Validator/cache/4a31fe43be9e23ca9eb8d9e9faba8892
%%SITE_PERL%%/JSON/Validator/cache/630949337805585c8e52deea27d11419
%%SITE_PERL%%/JSON/Validator/cache/a0f5b4b4e75ea17fc09e88ec0343d148
%%SITE_PERL%%/JSON/Validator/cache/a516498b60c53096b2ce2cd83ebe0abc
%%SITE_PERL%%/JSON/Validator/cache/ea34d47d4e060a1c3b12d2287aff89a7
%%SITE_PERL%%/JSON/Validator/cache/eaa832720f36cff0abc20c05236a9cd9
%%PERL5_MAN3%%/JSON::Validator.3.gz
%%PERL5_MAN3%%/JSON::Validator::Error.3.gz
%%PERL5_MAN3%%/JSON::Validator::Formats.3.gz
%%PERL5_MAN3%%/JSON::Validator::Joi.3.gz
%%PERL5_MAN3%%/JSON::Validator::Ref.3.gz
%%PERL5_MAN3%%/JSON::Validator::Schema.3.gz
%%PERL5_MAN3%%/JSON::Validator::Schema::Draft4.3.gz
%%PERL5_MAN3%%/JSON::Validator::Schema::Draft6.3.gz
%%PERL5_MAN3%%/JSON::Validator::Schema::Draft7.3.gz
%%PERL5_MAN3%%/JSON::Validator::Util.3.gz