From 34f48c7f4bfc13c1cbd56bf56ef6a1a8c3baf57d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 23 Feb 2026 20:54:53 +0100 Subject: [PATCH] dev-python/jsonschema-path: Bump to 0.4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jsonschema-path/Manifest | 1 + .../jsonschema-path-0.4.2.ebuild | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 dev-python/jsonschema-path/jsonschema-path-0.4.2.ebuild diff --git a/dev-python/jsonschema-path/Manifest b/dev-python/jsonschema-path/Manifest index 9389386986bd8..7ca60ac195f50 100644 --- a/dev-python/jsonschema-path/Manifest +++ b/dev-python/jsonschema-path/Manifest @@ -1,3 +1,4 @@ DIST jsonschema-path-0.3.4.gh.tar.gz 40126 BLAKE2B cc7884ab41a0cdcfbd292831f9ed2a03f82af30f4482499c7940633741560228df59c4157457e8c44c57fb73f0f6142f10ad23d36f444fea71a84cf6309d953d SHA512 85b791a374d61bedf66a0ca44b6906ec74f02ffe991c1cb220267c85c0e7b493375d712d7ca0828681c9c15f170bc29d4b808b00778895fb13f1f7ff3cdf2a9c DIST jsonschema-path-0.4.0b8.gh.tar.gz 59277 BLAKE2B 7b3fb5cc410f26b5e4960b300851194a887e27e50c05ca5818e7cd1e118f6657a55841092f2cdac130f166eddeca81e48d06fb25c60a5380859581531d9c05bb SHA512 719b57f6581e540d152863365ab85f7c9aafb0ab79880e6ccfca462f2d64892636276d741acc09662cdba242ce1e54833a42bd38048ce6c7299d9609715f9bac DIST jsonschema-path-0.4.1.gh.tar.gz 59800 BLAKE2B 8e049c88d73772216f76975048f66b55bacf1be680a4ea79926db6f3a76012ca263bf348bff46065a1e9eac8bcd82c159d7230592a8b754bb9fd2d5e64dea04c SHA512 92f5c6a8102e19b0df4b24118db8270f7de68f62804a59c55a0bed21697187c5f3ee4ae18c77ca9ffaf5de8f3611eecfc789b96d906735ed0d0c4552642fe3cd +DIST jsonschema-path-0.4.2.gh.tar.gz 60092 BLAKE2B 89a51a04a6740a145b4101ffcca3f0915e16b80d4d97ac8072bcab26e6710457a9bfb1908f2ac902946883210953a5c8ee038470f8c9137e6d52b6406fe19174 SHA512 65b10a1d7e9ec9bb5cdaf0ed8a509468affc09d5f4a998e0e673511df1f8d89e9bdf1ce6c786f1cd6227ed154779dd1311b4a77511285e1c20df05eb1576a7f3 diff --git a/dev-python/jsonschema-path/jsonschema-path-0.4.2.ebuild b/dev-python/jsonschema-path/jsonschema-path-0.4.2.ebuild new file mode 100644 index 0000000000000..f674b241d5f85 --- /dev/null +++ b/dev-python/jsonschema-path/jsonschema-path-0.4.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="JSONSchema Spec with object-oriented paths" +HOMEPAGE=" + https://pypi.org/project/jsonschema-path/ + https://github.com/p1c2u/jsonschema-path/ +" +SRC_URI=" + https://github.com/p1c2u/jsonschema-path/archive/${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +RDEPEND=" + >=dev-python/pathable-0.5.0[${PYTHON_USEDEP}] + >=dev-python/pyrsistent-0.20.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + # remove random pins + sed -i -e 's:\^:>=:' -e 's:<[0-9.]\+:*:' pyproject.toml || die + distutils-r1_src_prepare +}