From nobody Wed Jul 20 21:52:32 2022 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 4Lp8Z91BH5z4X3b7; Wed, 20 Jul 2022 21:52:33 +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 4Lp8Z90gMpz3gK5; Wed, 20 Jul 2022 21:52:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658353953; 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=obm+bZdeM0m14E6lq7mZWaDu/yEUFmlZFuY1WWoX824=; b=jBtwFAzOANw16nneAWj64bCYk1xyVj1uPckgUJZ78aqsKEqICRtbzBppQ7CG3ukIo6SiIG /DVF4urQLjb5SdbLFn5BvlBmCtqYjYAoYYFAdMvwuhizPlTYi7OEOrYt1Eu2iPQyHrQ/lG lkuNqrh5OL8A3SRlLBtgmA6ScDFuE/IB1qrLW7naVkxtO3B/cu5MJ6iMCsi7lvQK0V10lf sIVZTbpLeu5ERbktFKsUbNpSxlbcGNXRE3c4jejAWsK+Ne2oDGM9Is2Zydz+80nNfV97jj FXpu86CIlCEEyVG4J3zCSe65JM/eD7KeN70vvLqtxmb30zwu2QHHI8lyGq+rTg== 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 4Lp8Z86s5Fz1CWP; Wed, 20 Jul 2022 21:52:32 +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 26KLqWJc017518; Wed, 20 Jul 2022 21:52:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26KLqWi9017517; Wed, 20 Jul 2022 21:52:32 GMT (envelope-from git) Date: Wed, 20 Jul 2022 21:52:32 GMT Message-Id: <202207202152.26KLqWi9017517@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: f2300f756cfd - main - devel/py-jsonschema: Add schemas folder 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f2300f756cfd5b1947cf5a16ecd132fa7962a06b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658353953; 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=obm+bZdeM0m14E6lq7mZWaDu/yEUFmlZFuY1WWoX824=; b=Mt9+5Hl2XAJCT3QMr5eApMP6dWfdhov5w5w7u6Hi1xd8Kgbtc9HuXZkMSqgFUyxxWIL5QF G+xDZTojWP9qULc2ZX/Cf0Xwi91GA4t+EnlNm03EH8RiphuGJ1MhqDsc4I/V15ytaohmpg bEH4qB8vQDBWREpEWknn1BQd5Kk095MmNLozCYO3Yxhor5iIJvSv+2t5pM7eW0+TTfBst4 +hZ2Aam5EaHxN78KBY6YwjYVZZTDJcupu9C5oiMQ5ZJ1OlxVjxkWS723IbdnC+NjCYASa1 ljVTY28WBRQMYDOZTo1WMlLQwz26T8nyMQSQf0ZR+mVerBhQykflzFkW4LtQCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658353953; a=rsa-sha256; cv=none; b=emHFWZuOi30DjKPXQd/2DZmjZ+f3Oq49tXXbeDfwQhA1fSZs9+sZXg97kTeB1DBYn58fPO ds699/gfxTJaMBpJ/seqZktmCmfd4yk0rwwP8BDTmpTI+YzUoxAi2Kb2MMpQS4ZLIpgrR9 M04JoOmOU4U9c1NG8MYPAYc65Lt/Xw7+KPn80AL6YyaH/k2ofo5jmiu2Rc2ldDJ/2WGFow X+4fB45eSXuPBQnvl6mfb5FN9Tlsjq/qRsYXW4B9lW6BBbMFAS7kKRQi90rV7aJeEvEGqq ViE3XW6kwbOEns0eGYTSAt6jUdNLNHaSiuhdGXVjKfn6f3g4AHWqV6Q+5YSB6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2300f756cfd5b1947cf5a16ecd132fa7962a06b commit f2300f756cfd5b1947cf5a16ecd132fa7962a06b Author: Muhammad Moinur Rahman AuthorDate: 2022-07-20 21:51:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-07-20 21:52:27 +0000 devel/py-jsonschema: Add schemas folder Reported by: kai --- devel/py-jsonschema/Makefile | 2 +- devel/py-jsonschema/files/patch-setup.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/devel/py-jsonschema/Makefile b/devel/py-jsonschema/Makefile index a1d53d8a4901..c55751b49d96 100644 --- a/devel/py-jsonschema/Makefile +++ b/devel/py-jsonschema/Makefile @@ -1,6 +1,6 @@ PORTNAME= jsonschema PORTVERSION= 4.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-jsonschema/files/patch-setup.py b/devel/py-jsonschema/files/patch-setup.py index 34e2ea541b85..fd4b31c64e70 100644 --- a/devel/py-jsonschema/files/patch-setup.py +++ b/devel/py-jsonschema/files/patch-setup.py @@ -1,12 +1,12 @@ ---- setup.py.orig 2022-06-05 15:48:47 UTC +--- setup.py.orig 2022-07-20 21:49:12 UTC +++ setup.py -@@ -0,0 +1,65 @@ +@@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +setup( + name='jsonschema', -+ version='4.6.0', ++ version='4.7.2', + description='An implementation of JSON Schema validation for Python', + long_description='==========\njsonschema\n==========\n\n|PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/jsonschema.svg\n :alt: PyPI version\n :target: https://pypi.org/project/jsonschema/\n\n.. |Pythons| image:: https://img.shields.io/pypi/pyversions/jsonschema.svg\n :alt: Supported Python versions\n :target: https://pypi.org/project/jsonschema/\n\n.. |CI| image:: https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg\n :alt: Build status\n :target: https://github.com/python-jsonschema/jsonschema/actions?query=workflow%3ACI\n\n.. |ReadTheDocs| image:: https://readthedocs.org/projects/python-jsonschema/badge/?version=stable&style=flat\n :alt: ReadTheDocs status\n :target: https://python-jsonschema.readthedocs.io/en/stable/\n\n.. |Precommit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/jsonschema/main.svg\n :alt: pre-commit.ci status\n :target: https://results.pre -commit.ci/latest/github/python-jsonschema/jsonschema/main\n\n.. |Zenodo| image:: https://zenodo.org/badge/3072629.svg\n :target: https://zenodo.org/badge/latestdoi/3072629\n\n\n``jsonschema`` is an implementation of the `JSON Schema\n`_ specification for Python.\n\n.. code-block:: python\n\n >>> from jsonschema import validate\n\n >>> # A sample schema, like what we\'d get from json.load()\n >>> schema = {\n ... "type" : "object",\n ... "properties" : {\n ... "price" : {"type" : "number"},\n ... "name" : {"type" : "string"},\n ... },\n ... }\n\n >>> # If no exception is raised by validate(), the instance is valid.\n >>> validate(instance={"name" : "Eggs", "price" : 34.99}, schema=schema)\n\n >>> validate(\n ... instance={"name" : "Eggs", "price" : "Invalid"}, schema=schema,\n ... ) # doctest: +IGNORE_EXCEPTION_DETAIL\n Traceback (most recent call last):\n ...\n ValidationError: \! 'Invalid\' is not of type \'number\'\n\nIt can also be used from console:\n\n.. code-block:: bash\n\n $ jsonschema --instance sample.json sample.schema\n\nFeatures\n--------\n\n* Partial support for\n `Draft 2020-12 `_ and\n `Draft 2019-09 `_,\n except for ``dynamicRef`` / ``recursiveRef`` and ``$vocabulary`` (in-progress).\n Full support for\n `Draft 7 `_,\n `Draft 6 `_,\n `Draft 4 `_\n and\n `Draft 3 `_\n\n* `Lazy validation `_\n that can iteratively report *all* validation errors.\n\n* `Programmatic querying `_\n of which properties or items failed validation.\n\n\nInstallation\n------------\n\n``jsonschema`` is available on `PyPI `_. You can install using `pip `_:\n\n.. code-block:: bash\n\n $ pip install jsonschema\n\n\nRunning the Test Suite\n----------------------\n\nIf you have ``tox`` installed (perhaps via ``pip install tox`` or your\npackage manager), running ``tox`` in the directory of your source\ncheckout will run ``jsonschema``\'s test suite on all of the versions\nof Python ``jsonschema`` supports. If you don\'t have all of the\nversions that ``jsonschema`` is tested under, you\'ll likely want to run\nusing ``tox``\'s ``--skip-missing-interpreters`` option.\n\nOf course you\'re also free to just run the tes! ts on a s! ingle version with your\nfavorite test runner. The tests live in the ``jsonschema.tests`` package.\n\n\nBenchmarks\n----------\n\n``jsonschema``\'s benchmarks make use of `pyperf\n`_. Running them can be done via::\n\n $ tox -e perf\n\n\nCommunity\n---------\n\nThe JSON Schema specification has `a Slack\n`_, with an `invite link on its home page\n`_. Many folks knowledgeable on authoring\nschemas can be found there.\n\nOtherwise, asking questions on Stack Overflow is another means of\ngetting help if you\'re stuck.\n\n\nAbout\n-----\n\nI\'m Julian Berman.\n\n``jsonschema`` is on `GitHub `_.\n\nGet in touch, via GitHub or otherwise, if you\'ve got something to contribute,\nit\'d be most welcome!\n\nYou can also generally find me on Libera (nick: ``Julian``) in various\nchannels, including ``#python``.\n\nIf you feel overwhelmingly grateful, you can also `sponsor me\n`_.\n\nAnd for companies who appreciate ``jsonschema`` and its continued support\nand growth, ``jsonschema`` is also now supportable via `TideLift\n`_.\n', + author='Julian Berman', @@ -65,4 +65,5 @@ + 'jsonschema.benchmarks', + 'jsonschema.tests', + ], ++ package_data={'': ['*']}, +)