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: Sun, 02 Jan 2022 10:59:59
Message-Id: 1641121154.8f8324128330b3832102bf3bdb09434afd672363.mgorny@gentoo
1 commit: 8f8324128330b3832102bf3bdb09434afd672363
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 2 07:51:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 2 10:59:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f832412
7
8 dev-python/jsonschema: Bump to 4.3.3
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.3.3.ebuild | 52 +++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index f77fd48ed993..ea92e20b9dee 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -3,3 +3,4 @@ DIST jsonschema-4.2.1.tar.gz 310668 BLAKE2B ba36be8abf0678fda773a9950f06e4d15f6a
21 DIST jsonschema-4.3.0.tar.gz 311317 BLAKE2B 6ec3d2cf05923657e9875b5f51b9356a730a7f9a1ab8e07bbf7226fdf1005f729a06c110ec52b62d12a4bba96a14dc647786398e66a6439de93fb38c02eef848 SHA512 3772952fb482660da86b0f71ed509ef267375a80ba2db0e4c12b9bb17f79c1f31f1a8ed2746a0bef76c620d61a63ccf967c77cc55255c7d3fe4e688dc0413b38
22 DIST jsonschema-4.3.1.tar.gz 311425 BLAKE2B e524675d64fece5f7687d62ed043ffb35e7627c6d1f213fde3e9c2f35b929fc56b998d39e84148fe24c507361114e047540fcf23606f4d77b2bdfc0454c6d529 SHA512 621093b8964ea94dadd23aab7c0bbbf5eb23ae615b569278886a4213ef7adc779fddcd75cfff87e243087f788fca180f4472cd3bafe8f2f8157e30c04b5f33e7
23 DIST jsonschema-4.3.2.tar.gz 311576 BLAKE2B df6e656244b3ad963714e3a5e457971ad29455529b1e032e4ead2aa60a76ef332d31c871d6e9cc98b1a76d52e53b6586e6ef0b601d4b1b6fef8b39e2ea29acfa SHA512 a849282e6661ac28d3116754e87235a1970993bedeb4590d67605409ef875c5c26efe12a35bce7eeb624778a6d7770feda0356b4a0c05f6bc0364da9aefcaed6
24 +DIST jsonschema-4.3.3.tar.gz 311720 BLAKE2B 685e7712bdf87f0b6cfdc0ca6b094c90efd78acec72a6233661caddbba52e55ab78af83a24b14b9580a9eed6179302208b35ca836dce36459db65f0017805142 SHA512 f2a9e4d89a12d5d1c53666a9c95bc29adf2559438f0ab11f34abaf3f2525f525cd742ae54f2d3a732d98db92c4f45fc7611ffbc61f2ac1121377066a86db3bf9
25
26 diff --git a/dev-python/jsonschema/jsonschema-4.3.3.ebuild b/dev-python/jsonschema/jsonschema-4.3.3.ebuild
27 new file mode 100644
28 index 000000000000..319fe19b4d5e
29 --- /dev/null
30 +++ b/dev-python/jsonschema/jsonschema-4.3.3.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 ~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 +)