commit:     881de80d0a216b44ad4eb0ee2e61ca6332bf9136
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 06:09:39 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 06:42:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881de80d

dev-python/jsonschema: Bump to 4.6.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jsonschema/Manifest                |  1 +
 dev-python/jsonschema/jsonschema-4.6.0.ebuild | 50 +++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
index 2b035efe4cd7..49505471245e 100644
--- a/dev-python/jsonschema/Manifest
+++ b/dev-python/jsonschema/Manifest
@@ -1,2 +1,3 @@
 DIST jsonschema-4.4.0.tar.gz 313519 BLAKE2B 
6339c4ac9e99b55e41c133861baacb6644e04d15e915d3199955512530c946973ca6d5348746688660ea7392d53102754dba3f3380fc8aa3a4ab284a9dcde684
 SHA512 
8e5c138f4debf7540e2cd131f3f208d1778927ac9036f5fa67bcf5db8c62fe1bb454c7818ee61acef64e856ea4b498ef6ab08be314a3c6b1e461e0bb44db41c7
 DIST jsonschema-4.5.1.tar.gz 282414 BLAKE2B 
5b1d4e591e48c760e89a438b3bf9ea6b27b0959030be4558d5a863ceea218bdc4db19d09e2783724026fc2e10eeb6c969a939f4d1a5b44c16dbf7ff39c61a743
 SHA512 
3866a649ece45c1c69d3d5e9810cfdb094f1af82fcc08a186f9babd7516ad311c4bffa52f61f013bc84e7ab1be06605c5fab738c1c920ff8ce85a73429d9efde
+DIST jsonschema-4.6.0.tar.gz 269939 BLAKE2B 
f214f65fbb908029f221789ab3857db9cbc1a7bb355f04a46bc7798514ba73ac3ba6f78cc3eaf985c19b16607ea6cf38bf46c9a8e19b1b1aef0138ef74239a4c
 SHA512 
82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f

diff --git a/dev-python/jsonschema/jsonschema-4.6.0.ebuild 
b/dev-python/jsonschema/jsonschema-4.6.0.ebuild
new file mode 100644
index 000000000000..1c261989b31f
--- /dev/null
+++ b/dev-python/jsonschema/jsonschema-4.6.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="An implementation of JSON-Schema validation for Python"
+HOMEPAGE="
+       https://pypi.org/project/jsonschema/
+       https://github.com/python-jsonschema/jsonschema/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
+       >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
+       ' 3.8)
+"
+
+# formatter deps
+RDEPEND+="
+       dev-python/fqdn[${PYTHON_USEDEP}]
+       dev-python/idna[${PYTHON_USEDEP}]
+       dev-python/isoduration[${PYTHON_USEDEP}]
+       >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
+       dev-python/rfc3339-validator[${PYTHON_USEDEP}]
+       dev-python/rfc3986-validator[${PYTHON_USEDEP}]
+       dev-python/rfc3987[${PYTHON_USEDEP}]
+       dev-python/uri_template[${PYTHON_USEDEP}]
+       >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires pip, does not make much sense for the users
+       jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+       # wtf?
+       jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
+)

Reply via email to