summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-18 06:03:12 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-18 06:39:17 +0200
commitca233b67dae47a2df825ea22c9211618a7e27b47 (patch)
treebe35ed9406d5c4e640956bd445126c51c98a12fb /dev-python
parentc4bc7992f0bb52480060bc19ad6dba97e53f0a53 (diff)
downloadgentoo-ca233b67dae47a2df825ea22c9211618a7e27b47.tar.gz
gentoo-ca233b67dae47a2df825ea22c9211618a7e27b47.tar.bz2
gentoo-ca233b67dae47a2df825ea22c9211618a7e27b47.zip
dev-python/jsonschema: Bump to 4.24.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jsonschema/Manifest1
-rw-r--r--dev-python/jsonschema/jsonschema-4.24.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
index a560bd2eb408..c44892f60011 100644
--- a/dev-python/jsonschema/Manifest
+++ b/dev-python/jsonschema/Manifest
@@ -1 +1,2 @@
DIST jsonschema-4.24.0.tar.gz 353480 BLAKE2B d063c9e55f25472b403645f9b274b8274cbaeca68f9cd1c88867431d05fca07a5885b805a7e91bd82f30cc6bc76dd44a2c561c0a69e5f1847dcea5a3ecbf90c2 SHA512 64840a1c989874fbdda2a996288ac0c5f46fe1ae9d5254eface832326b49d0090f33c3a06de952965b910eb8857daf9548e790de604abaf9cea588c8e3d89234
+DIST jsonschema-4.24.1.tar.gz 356635 BLAKE2B 971d94dec0da08885fd20742186ab5094979c2d885f5306596f857d54a41edca3d1619d212b94901a63225fab78971831af36ce94a14aa6e0d28cabfcdef005c SHA512 de4afa98061ab797b1690a74f9e3e694d522b7f24008fc4bc80eb8fa1138dd446581bd8d6a9c211e578fb6db0f4211867fdc728914fc8fe15037e1769e6ce5f9
diff --git a/dev-python/jsonschema/jsonschema-4.24.1.ebuild b/dev-python/jsonschema/jsonschema-4.24.1.ebuild
new file mode 100644
index 000000000000..24444c50daca
--- /dev/null
+++ b/dev-python/jsonschema/jsonschema-4.24.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="An implementation of JSON-Schema validation for Python"
+HOMEPAGE="
+ https://pypi.org/project/jsonschema/
+ https://github.com/python-jsonschema/jsonschema/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}]
+ >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}]
+ >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+ test? (
+ dev-python/jsonpath-ng[${PYTHON_USEDEP}]
+ !!dev-python/shiboken6
+ )
+"
+
+# 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-24.6.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # requires pip, does not make much sense for the users
+ jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+ # fragile warning tests
+ jsonschema/tests/test_deprecations.py
+ # wtf?
+ jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug
+)