diff options
Diffstat (limited to 'dev-python/fastjsonschema')
4 files changed, 2 insertions, 102 deletions
diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 6bef2f3a4f86..81f4d11b4e97 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1,6 +1,3 @@ -AUX fastjsonschema-2.19.1-pytest-8.patch 1907 BLAKE2B 510c0a15e1d8b644d8d2ea89c24406273fee8086a187b3af06d59446cd7d969fed6a05aeb8bd70c72a41594aecf59d7a43eb2aea2b6fc2d3867a44fcc9b4f85b SHA512 4ac8e849399e06ec89e31eccf708dbd2aa2a44cfcd2fcac30137d4a73e552e52625401408593ae0f8b975623a64c5ea81822037b799d8ce903c29e6550715dab -DIST fastjsonschema-2.19.1.tar.gz 372732 BLAKE2B f028e027483e02969c4d750a888659add9dd7f661776ab42242f74492272267b93a2248cdc50b78389091cc1a1fd7661abbf377d81edf73df35ed1e222be7328 SHA512 b276788ebe1d3a6bc5d1463c2a4940fbe5c9e0a7919c813b78f385faa406527cac34d4042e6a69e0ca1631f3e5ed0bc351e13d9d1e245132a1607e010a5a2346 DIST fastjsonschema-2.20.0.tar.gz 373056 BLAKE2B 99e80a6aa05aef421c5d95149f5f40f0a732bd686888f32067295c19d9c1d7569bf628d06b59bbeb68ea302e06de700b05c27e7a44e018b213e0c1a7f4dc1304 SHA512 7881937a02c7487d1dfd7499dbe85e8f8e359b9686673f32491d93cef1d7a949df5309b0d4a5cc525a7d9c8269568bc34e9d072ec1a49e44d5becbf8718b250d -EBUILD fastjsonschema-2.19.1.ebuild 673 BLAKE2B 047183cf26277f410b200e2a5b31a34da91a89d797032f247b611ce2653e4868d58b3aef4cdcdb06e95777e60f6ccdb0c3efc35a6e40530443b6d1c2386102a0 SHA512 aec9387d35c6dc186724217131e51c1e80d2abc4924e72d1dc148d5fcdf7ccd53dff0f78d2066ea76366add93496f2161427aa3141b0df7202f2c97e1a4fe2c1 -EBUILD fastjsonschema-2.20.0.ebuild 571 BLAKE2B c5d211021c9cf0941d268951dbb4649b842df70d9ffecb0502039943ec4bbfa3f234ce308d382e443163ce410902f26c9b1d9b0da2e28e8049373e53d1d9bb55 SHA512 0d29556c86d56bfb814925508c8de8365c8db1d66532f9c8ad5fcd3226d0ff8243f53467eef32387f1fdcf1b6ec0c686b2b27e374fd7e59818d585ae67b305dc +EBUILD fastjsonschema-2.20.0.ebuild 563 BLAKE2B 423b2f2dda81c200c2cf12a9b54c5531b54d362cda393750e48cd02e71069f3d9f67db0fb49bc5d946ed0561ed48aaa2f36402432eb8a018291cc220d6b15e0d SHA512 6742bfeb0744df50942c7e05388ff0ab719f38df2f7b585bb077f36aff2863fa50f745eca82fb8b2562ca63819ec0e1f97b73e224c66c3c30b9cb3f8f917adfb MISC metadata.xml 390 BLAKE2B d29071ddcb0aea8db343c2924de51e8fdbf9295898c687ca0f474e007007407c9a402cd2fa74f0f2142dfb2f14a2cfd0c51c05f5fad6891734328a003283821f SHA512 db3339aaba0218ebea0ea4cd5b950dbf74572b18341f595fbbbe1f67c0c9c23413f4a98aeec5b49b036533cfea46e8f2a74f5f999c3b4c472a66297346139b05 diff --git a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild deleted file mode 100644 index cf18821f1b26..000000000000 --- a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast JSON schema validator for Python" -HOMEPAGE=" - https://github.com/horejsek/python-fastjsonschema/ - https://pypi.org/project/fastjsonschema/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - tests/benchmarks -) - -PATCHES=( - # https://github.com/horejsek/python-fastjsonschema/pull/180 - "${FILESDIR}/${P}-pytest-8.patch" -) diff --git a/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild index 84565f715777..d67b1dea983b 100644 --- a/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild +++ b/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch b/dev-python/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch deleted file mode 100644 index 40cd057f6299..000000000000 --- a/dev-python/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 427a34e9ef409fefd8f1f7ae7e1c2a2bb7eb4496 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= - <edgarrm358@gmail.com> -Date: Tue, 14 Nov 2023 18:05:17 -0600 -Subject: [PATCH] Use `warnings.catch_warnings` instead of `pytest.warns(None)` - in tests - ---- - tests/test_pattern_properties.py | 7 ++++--- - tests/test_string.py | 7 ++++--- - 2 files changed, 8 insertions(+), 6 deletions(-) - -diff --git a/tests/test_pattern_properties.py b/tests/test_pattern_properties.py -index ae86946..945315b 100644 ---- a/tests/test_pattern_properties.py -+++ b/tests/test_pattern_properties.py -@@ -1,3 +1,5 @@ -+import warnings -+ - import pytest - - -@@ -59,12 +61,11 @@ def test_pattern_with_escape_no_warnings(asserter): - 'bar': {} - } - -- with pytest.warns(None) as record: -+ with warnings.catch_warnings(): -+ warnings.simplefilter("error") - asserter({ - 'type': 'object', - 'patternProperties': { - '\\w+': {'type': 'object'} - } - }, value, value) -- -- assert len(record) == 0 -diff --git a/tests/test_string.py b/tests/test_string.py -index a8e8318..12fc3c9 100644 ---- a/tests/test_string.py -+++ b/tests/test_string.py -@@ -1,3 +1,5 @@ -+import warnings -+ - import pytest - - from fastjsonschema import JsonSchemaValueException -@@ -74,14 +76,13 @@ def test_pattern_with_space(asserter, pattern): - - - def test_pattern_with_escape_no_warnings(asserter): -- with pytest.warns(None) as record: -+ with warnings.catch_warnings(): -+ warnings.simplefilter("error") - asserter({ - 'type': 'string', - 'pattern': '\\s' - }, ' ', ' ') - -- assert len(record) == 0 -- - - exc = JsonSchemaValueException('data must be a valid regex', value='{data}', name='data', definition='{definition}', rule='format') - @pytest.mark.parametrize('value, expected', [ --- -2.44.0 - |