Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonschema/
Date: Wed, 12 Jan 2022 21:12:43
Message-Id: 1642021954.7e2e78ae147b0a06ae17ff143d77f3d74eca39a2.mgorny@gentoo
1 commit: 7e2e78ae147b0a06ae17ff143d77f3d74eca39a2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 12 20:23:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 12 21:12:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2e78ae
7
8 dev-python/jsonschema: Bump to 4.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jsonschema/Manifest | 1 +
13 dev-python/jsonschema/jsonschema-4.4.0.ebuild | 52 +++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index ea92e20b9dee..065c8f50c16c 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -4,3 +4,4 @@ DIST jsonschema-4.3.0.tar.gz 311317 BLAKE2B 6ec3d2cf05923657e9875b5f51b9356a730a
21 DIST jsonschema-4.3.1.tar.gz 311425 BLAKE2B e524675d64fece5f7687d62ed043ffb35e7627c6d1f213fde3e9c2f35b929fc56b998d39e84148fe24c507361114e047540fcf23606f4d77b2bdfc0454c6d529 SHA512 621093b8964ea94dadd23aab7c0bbbf5eb23ae615b569278886a4213ef7adc779fddcd75cfff87e243087f788fca180f4472cd3bafe8f2f8157e30c04b5f33e7
22 DIST jsonschema-4.3.2.tar.gz 311576 BLAKE2B df6e656244b3ad963714e3a5e457971ad29455529b1e032e4ead2aa60a76ef332d31c871d6e9cc98b1a76d52e53b6586e6ef0b601d4b1b6fef8b39e2ea29acfa SHA512 a849282e6661ac28d3116754e87235a1970993bedeb4590d67605409ef875c5c26efe12a35bce7eeb624778a6d7770feda0356b4a0c05f6bc0364da9aefcaed6
23 DIST jsonschema-4.3.3.tar.gz 311720 BLAKE2B 685e7712bdf87f0b6cfdc0ca6b094c90efd78acec72a6233661caddbba52e55ab78af83a24b14b9580a9eed6179302208b35ca836dce36459db65f0017805142 SHA512 f2a9e4d89a12d5d1c53666a9c95bc29adf2559438f0ab11f34abaf3f2525f525cd742ae54f2d3a732d98db92c4f45fc7611ffbc61f2ac1121377066a86db3bf9
24 +DIST jsonschema-4.4.0.tar.gz 313519 BLAKE2B 6339c4ac9e99b55e41c133861baacb6644e04d15e915d3199955512530c946973ca6d5348746688660ea7392d53102754dba3f3380fc8aa3a4ab284a9dcde684 SHA512 8e5c138f4debf7540e2cd131f3f208d1778927ac9036f5fa67bcf5db8c62fe1bb454c7818ee61acef64e856ea4b498ef6ab08be314a3c6b1e461e0bb44db41c7
25
26 diff --git a/dev-python/jsonschema/jsonschema-4.4.0.ebuild b/dev-python/jsonschema/jsonschema-4.4.0.ebuild
27 new file mode 100644
28 index 000000000000..03d1e2c86ba7
29 --- /dev/null
30 +++ b/dev-python/jsonschema/jsonschema-4.4.0.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
42 +HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
48 +
49 +RDEPEND="
50 + dev-python/attrs[${PYTHON_USEDEP}]
51 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
52 + $(python_gen_cond_dep '
53 + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
54 + ' pypy3 python3_8)
55 +"
56 +
57 +# formatter deps
58 +RDEPEND+="
59 + dev-python/fqdn[${PYTHON_USEDEP}]
60 + dev-python/idna[${PYTHON_USEDEP}]
61 + dev-python/isoduration[${PYTHON_USEDEP}]
62 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
63 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
64 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
65 + dev-python/rfc3987[${PYTHON_USEDEP}]
66 + dev-python/uritemplate[${PYTHON_USEDEP}]
67 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
68 +"
69 +
70 +BDEPEND="
71 + test? (
72 + dev-python/twisted[${PYTHON_USEDEP}]
73 + )
74 +"
75 +
76 +distutils_enable_tests pytest
77 +
78 +EPYTEST_DESELECT=(
79 + # requires pip, does not make much sense for the users
80 + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
81 + # wtf?
82 + jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
83 +)