Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonschema/
Date: Tue, 28 Jun 2022 18:49:47
Message-Id: 1656442175.4c3d001da65f174acfb2f250d5505a49b3f9183e.arthurzam@gentoo
1 commit: 4c3d001da65f174acfb2f250d5505a49b3f9183e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 18:47:23 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 18:49:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3d001d
7
8 dev-python/jsonschema: add 4.6.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/jsonschema/Manifest | 1 +
13 dev-python/jsonschema/jsonschema-4.6.1.ebuild | 53 +++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index 5a9ac2e4949e..fe1272f50cfc 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -1,2 +1,3 @@
21 DIST jsonschema-4.5.1.tar.gz 282414 BLAKE2B 5b1d4e591e48c760e89a438b3bf9ea6b27b0959030be4558d5a863ceea218bdc4db19d09e2783724026fc2e10eeb6c969a939f4d1a5b44c16dbf7ff39c61a743 SHA512 3866a649ece45c1c69d3d5e9810cfdb094f1af82fcc08a186f9babd7516ad311c4bffa52f61f013bc84e7ab1be06605c5fab738c1c920ff8ce85a73429d9efde
22 DIST jsonschema-4.6.0.tar.gz 269939 BLAKE2B f214f65fbb908029f221789ab3857db9cbc1a7bb355f04a46bc7798514ba73ac3ba6f78cc3eaf985c19b16607ea6cf38bf46c9a8e19b1b1aef0138ef74239a4c SHA512 82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f
23 +DIST jsonschema-4.6.1.tar.gz 278452 BLAKE2B 0b5c90b790cf7430bfbea4b38f90acec6fc256bf521d9552b463489751da3f889b43021e9d94c3ed4bd7704c462141d73d25273eea1331c85a0d2d04d5c9ad18 SHA512 5c0e2806915ef4545092b0bffe4cc1207d9a6f2a6920c10894d5b7b2a9ed665093b7a9a68114d1a05528869e7d8aed902e7569800db4393fa810c0f6853f713d
24
25 diff --git a/dev-python/jsonschema/jsonschema-4.6.1.ebuild b/dev-python/jsonschema/jsonschema-4.6.1.ebuild
26 new file mode 100644
27 index 000000000000..fb6400dc457c
28 --- /dev/null
29 +++ b/dev-python/jsonschema/jsonschema-4.6.1.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=hatchling
37 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
42 +HOMEPAGE="
43 + https://pypi.org/project/jsonschema/
44 + https://github.com/python-jsonschema/jsonschema/
45 +"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
51 +
52 +RDEPEND="
53 + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
54 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep '
56 + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
57 + ' 3.8)
58 +"
59 +BDEPEND="
60 + dev-python/hatch-vcs[${PYTHON_USEDEP}]
61 +"
62 +
63 +# formatter deps
64 +RDEPEND+="
65 + dev-python/fqdn[${PYTHON_USEDEP}]
66 + dev-python/idna[${PYTHON_USEDEP}]
67 + dev-python/isoduration[${PYTHON_USEDEP}]
68 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
69 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
70 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
71 + dev-python/rfc3987[${PYTHON_USEDEP}]
72 + dev-python/uri_template[${PYTHON_USEDEP}]
73 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
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 +)