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: Thu, 30 Sep 2021 06:26:57
Message-Id: 1632983084.029deb813806120cb3965f45672f36c5208961a0.mgorny@gentoo
1 commit: 029deb813806120cb3965f45672f36c5208961a0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 30 06:11:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 30 06:24:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029deb81
7
8 dev-python/jsonschema: Bump to 4.0.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.0.0.ebuild | 45 +++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index d3553659cc5..5643cf9fceb 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -1 +1,2 @@
21 DIST jsonschema-3.2.0.tar.gz 167226 BLAKE2B f89a8198f6b7b4dd56b0320ddecdd834423cbeaf49fbbd1563007da61004322b92e25856ecc17b4d02e2162b2359ec5d7601826fe42cfcb7683ae16cf2baeb39 SHA512 acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
22 +DIST jsonschema-4.0.0.tar.gz 290808 BLAKE2B 29b53fcdedd170d1ea8602dd706d671b78394b8d5e5f54ae3443269394bb7a4d8399a2d99a87dfbb4d27d6613b47e0d5a1c6caea9b679cfd1d21cb4ee0f4e45c SHA512 5decad39032a229f992bf25555473171a19ae076a0726b73fcc284cecf788bcd29e8662ad48405ee5a93df812b87e5846a640dafc32157c3742f2abf7f7a9c97
23
24 diff --git a/dev-python/jsonschema/jsonschema-4.0.0.ebuild b/dev-python/jsonschema/jsonschema-4.0.0.ebuild
25 new file mode 100644
26 index 00000000000..12bde460051
27 --- /dev/null
28 +++ b/dev-python/jsonschema/jsonschema-4.0.0.ebuild
29 @@ -0,0 +1,45 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
40 +HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="
48 + dev-python/attrs[${PYTHON_USEDEP}]
49 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
50 + $(python_gen_cond_dep '
51 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
52 + ' pypy3)
53 +"
54 +
55 +# formatter deps
56 +RDEPEND+="
57 + dev-python/fqdn[${PYTHON_USEDEP}]
58 + dev-python/idna[${PYTHON_USEDEP}]
59 + dev-python/isoduration[${PYTHON_USEDEP}]
60 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
61 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
62 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
63 + dev-python/rfc3987[${PYTHON_USEDEP}]
64 + dev-python/uritemplate[${PYTHON_USEDEP}]
65 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
66 +"
67 +
68 +BDEPEND="
69 + test? (
70 + dev-python/twisted[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests unittest