From nobody Mon Nov 01 13:45:19 2021 X-Original-To: dev-commits-ports-all@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 8E7271835EE8; Mon, 1 Nov 2021 13:45:21 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjZ6S2SrDz4jdM; Mon, 1 Nov 2021 13:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9784E129C8; Mon, 1 Nov 2021 13:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1DjJUZ048568; Mon, 1 Nov 2021 13:45:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1DjJFF048567; Mon, 1 Nov 2021 13:45:19 GMT (envelope-from git) Date: Mon, 1 Nov 2021 13:45:19 GMT Message-Id: <202111011345.1A1DjJFF048567@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: 83d7ba7947f3 - main - devel/py-jsonschema3: Add py-jsonschema3 3.2.0 (copied from py-jsonschema) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 83d7ba7947f30ddf8620423173545759777f97b6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=83d7ba7947f30ddf8620423173545759777f97b6 commit 83d7ba7947f30ddf8620423173545759777f97b6 Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 13:23:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 13:41:21 +0000 devel/py-jsonschema3: Add py-jsonschema3 3.2.0 (copied from py-jsonschema) - Fix *_DEPENDS - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-jsonschema3/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/py-jsonschema3/distinfo | 3 +++ devel/py-jsonschema3/pkg-descr | 8 ++++++++ 4 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f23e5237e059..3a1acb534d02 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4662,6 +4662,7 @@ SUBDIR += py-jsonref SUBDIR += py-jsonrpclib-pelix SUBDIR += py-jsonschema + SUBDIR += py-jsonschema3 SUBDIR += py-jsonsir SUBDIR += py-jupyter-client SUBDIR += py-jupyter-core diff --git a/devel/py-jsonschema3/Makefile b/devel/py-jsonschema3/Makefile new file mode 100644 index 000000000000..8d92df1d7772 --- /dev/null +++ b/devel/py-jsonschema3/Makefile @@ -0,0 +1,34 @@ +# Created by: Muhammad Moinur Rahman + +PORTNAME= jsonschema +PORTVERSION= 3.2.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 3 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= JSON Schema validation for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyrsistent>=0.14.0:devel/py-pyrsistent@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +PORTSCOUT= limit:^3\. + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-jsonschema3/distinfo b/devel/py-jsonschema3/distinfo new file mode 100644 index 000000000000..50386c736a63 --- /dev/null +++ b/devel/py-jsonschema3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635730877 +SHA256 (jsonschema-3.2.0.tar.gz) = c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a +SIZE (jsonschema-3.2.0.tar.gz) = 167226 diff --git a/devel/py-jsonschema3/pkg-descr b/devel/py-jsonschema3/pkg-descr new file mode 100644 index 000000000000..70a4a02d308d --- /dev/null +++ b/devel/py-jsonschema3/pkg-descr @@ -0,0 +1,8 @@ +jsonschema is an implementation of JSON Schema for Python + + - Full support for Draft 3 and Draft 4 of the schema. + - Lazy validation that can iteratively report all validation errors. + - Small and extensible + - Programmatic querying of which properties or items failed validation. + +WWW: https://github.com/Julian/jsonschema