From nobody Sat Jun 15 09:13:03 2024 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 4W1Vmb3X1Tz5NQq3; Sat, 15 Jun 2024 09:13:03 +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 4W1Vmb26Znz4mX3; Sat, 15 Jun 2024 09:13:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718442783; 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=xyOxPCTQwDXs8YRsboqIIY2kYppg2HfJ34ivJ4OQQbU=; b=PN7eAjMT80bIFaOZ+9vwMt9n29WUIfrhzrYPACa7NocC0BtJfr0V64iTChGcMn1Z6bRuta ZaGyyoR1UIupFRVkfNnJw9k+LmvsbQawBqEJJNRUotRW/R/0E2i2NgVm40QnwvWokzpGbi /XEPUxHN1yX/7y0NMlfRJs8L/kPz/4CQD09Q5nQMrM9kjqlG8PUbyQUws6uAY8d8svfJtu ZpI0Jd5d6Y5x3CaZuHF3mMfn9ifi/BuBJmvA0NwgFkWuwFAqErKvJ4GNBbNS8Vnot3WhDS uK8QuRIRFV2k7ftSK/MyfYnrp5T9Mp2OTWJPodnUlgla3cecq4tCdnA4XQTCbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718442783; a=rsa-sha256; cv=none; b=eAnCNfrvn4cHCur6vyXdIHQGpzHkNIn5t7p4dJnNyQZMgBvqrbQWUNfSEmtgrmDKt1mnD/ 3xRv6FPlx8IKU8tudyYJdyAJPH8pUDccfiVKoEyzv3mBALfPJSDOnY/iK5TeyzgMBWgYXX 1hgAkcx/WdTBQNCv64EWDk37Hey51PGj03GjCKgMaYBiha616zyUS3l7jhgdaLIEglry40 miPbWf3jnfZw+3zwA3fEA+0iLLbcKANHnmL66WQSGpKCgyZ+yNO0Baqee2Jd9xylLFKaQd 3FxfzpGLGX5D1kxQySbddJJ2tEyvxInwxMsO4bGRTeYo/uZuQ9tyds8aqhEeIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718442783; 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=xyOxPCTQwDXs8YRsboqIIY2kYppg2HfJ34ivJ4OQQbU=; b=cKhVLUrCvA8KsPucnvOHCGIZAzjSjXTZfeFQbNIheruDN9JedVw2wVeOjxFGJnb5Dp5o/X hNE4QP2UqXmBmV+xRebawl9/8b2P5wpGd+ChhL+8FjMlUAxZFyG7tl/alV8yNsTwyexzlS ARIBFvlC61Um5q+jlPuNcDqQ5aXMKtU1XZHtCt/5ibv8yvEc1u6oK7S6YAV3NLHEpHdqpO sz11iizuSu/9NRg6gsCh5vG1hnu2SSS8TQsAYchS3kkR3C7EmDedMFhT3WJ3WbGBWcqNoU zQNuMdLw0KaR0MO5/Z1CGNOunj6LrUYWA20TlOV9IaETyXWOvY1Gm7x8bqY7cQ== 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 4W1Vmb1c5KzyYW; Sat, 15 Jun 2024 09:13:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45F9D3kO092572; Sat, 15 Jun 2024 09:13:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45F9D3vc092569; Sat, 15 Jun 2024 09:13:03 GMT (envelope-from git) Date: Sat, 15 Jun 2024 09:13:03 GMT Message-Id: <202406150913.45F9D3vc092569@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 83f92b48b265 - main - devel/py-jschon: New port: JSON toolkit for Python developers 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83f92b48b265affa4ba4563fd5842c9ef08d9554 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=83f92b48b265affa4ba4563fd5842c9ef08d9554 commit 83f92b48b265affa4ba4563fd5842c9ef08d9554 Author: Yuri Victorovich AuthorDate: 2024-06-15 08:40:30 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-15 09:12:43 +0000 devel/py-jschon: New port: JSON toolkit for Python developers --- devel/Makefile | 1 + devel/py-jschon/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/py-jschon/distinfo | 11 +++++++++++ devel/py-jschon/pkg-descr | 12 ++++++++++++ 4 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a3eb8e37481d..e8eb0849aedc 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4979,6 +4979,7 @@ SUBDIR += py-johnnydep SUBDIR += py-jsbeautifier SUBDIR += py-jschema-to-python + SUBDIR += py-jschon SUBDIR += py-jsmin SUBDIR += py-json5 SUBDIR += py-json_tricks diff --git a/devel/py-jschon/Makefile b/devel/py-jschon/Makefile new file mode 100644 index 000000000000..c21d80620911 --- /dev/null +++ b/devel/py-jschon/Makefile @@ -0,0 +1,34 @@ +PORTNAME= jschon +DISTVERSIONPREFIX= v +DISTVERSION= 0.11.1 +CATEGORIES= devel textproc python +#MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= JSON toolkit for Python developers +WWW= https://github.com/marksparkza/jschon + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rfc3986>0:www/py-rfc3986@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-httpserver>=0:devel/py-pytest-httpserver@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest # 4 tests fail, see https://github.com/marksparkza/jschon/issues/118 + +USE_GITHUB= yes +GH_ACCOUNT= marksparkza +GH_TUPLE= json-schema-org:JSON-Schema-Test-Suite:0433a2bf827d3039c272e831049a6e58deab787d:json_schema_org_JSON_Schema_Test_Suite/tests/JSON-Schema-Test-Suite \ + json-schema-org:json-schema-spec:aaedf928fb5aba87d815d0a7a152e872b13cbb77:json_schema_org_json_schema_spec1/jschon/catalog/json-schema-2019-09 \ + json-schema-org:json-schema-spec:6b2052df656484d01bdf1969b709dc8845884678:json_schema_org_json_schema_spec2/jschon/catalog/json-schema-2020-12 \ + marksparkza:json-schema-spec:2cb7c7447f9b795c9940710bf0eda966a92c937f:marksparkza_json_schema_spec/jschon/catalog/json-schema-next + +NO_ARCH= yes + +.include diff --git a/devel/py-jschon/distinfo b/devel/py-jschon/distinfo new file mode 100644 index 000000000000..3a1e360d7de5 --- /dev/null +++ b/devel/py-jschon/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1718439259 +SHA256 (marksparkza-jschon-v0.11.1_GH0.tar.gz) = 575ad63618710a13e6eb7fa96225ebf9820845fdec1d5c75fde33f1f19294e68 +SIZE (marksparkza-jschon-v0.11.1_GH0.tar.gz) = 84003 +SHA256 (json-schema-org-JSON-Schema-Test-Suite-0433a2bf827d3039c272e831049a6e58deab787d_GH0.tar.gz) = 1a6da89452e57b94bc117ace9c760a492c27e0c59540f547577c2b95c4f672c2 +SIZE (json-schema-org-JSON-Schema-Test-Suite-0433a2bf827d3039c272e831049a6e58deab787d_GH0.tar.gz) = 221182 +SHA256 (json-schema-org-json-schema-spec-aaedf928fb5aba87d815d0a7a152e872b13cbb77_GH0.tar.gz) = 660bbbf65911e85e0e39bef01663fbe962f3b003633e2386b4e6b79ba19f4727 +SIZE (json-schema-org-json-schema-spec-aaedf928fb5aba87d815d0a7a152e872b13cbb77_GH0.tar.gz) = 98756 +SHA256 (json-schema-org-json-schema-spec-6b2052df656484d01bdf1969b709dc8845884678_GH0.tar.gz) = ecd400bd7d7921aff5e683e16d677e00913008a86f3575dc8e9e544005b0e4aa +SIZE (json-schema-org-json-schema-spec-6b2052df656484d01bdf1969b709dc8845884678_GH0.tar.gz) = 107264 +SHA256 (marksparkza-json-schema-spec-2cb7c7447f9b795c9940710bf0eda966a92c937f_GH0.tar.gz) = bba05bc120d23848beedff55a33d479e92ce1d825806a5c400a7b08cda5676f9 +SIZE (marksparkza-json-schema-spec-2cb7c7447f9b795c9940710bf0eda966a92c937f_GH0.tar.gz) = 163737 diff --git a/devel/py-jschon/pkg-descr b/devel/py-jschon/pkg-descr new file mode 100644 index 000000000000..f10fae187dca --- /dev/null +++ b/devel/py-jschon/pkg-descr @@ -0,0 +1,12 @@ +jschon is an object-oriented JSON Schema implementation for Python. + +Features: +* JSON Schema validator implementation (drafts 2019-09, 2020-12) + * Schema compilation and indexing + * $ref loading from local and remote sources + * Support for custom keywords, vocabularies and meta-schemas + * Support for format validation +* JSON class implementing the JSON data model +* JSON Pointer (RFC 6901) +* JSON Patch (RFC 6902) +* Relative JSON Pointer (draft)