Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonschema/
Date: Mon, 04 Oct 2021 23:09:20
Message-Id: 1633388937.8d1565036fc38b87d11a49d031608b1601d40d3b.sam@gentoo
1 commit: 8d1565036fc38b87d11a49d031608b1601d40d3b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 4 23:08:31 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 23:08:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d156503
7
8 dev-python/jsonschema: add 4.0.1
9
10 Very minor changes (metadata).
11
12 Closes: https://bugs.gentoo.org/815415
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-python/jsonschema/Manifest | 1 +
16 dev-python/jsonschema/jsonschema-4.0.1.ebuild | 45 +++++++++++++++++++++++++++
17 2 files changed, 46 insertions(+)
18
19 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
20 index 5643cf9fceb..a3df46c46c0 100644
21 --- a/dev-python/jsonschema/Manifest
22 +++ b/dev-python/jsonschema/Manifest
23 @@ -1,2 +1,3 @@
24 DIST jsonschema-3.2.0.tar.gz 167226 BLAKE2B f89a8198f6b7b4dd56b0320ddecdd834423cbeaf49fbbd1563007da61004322b92e25856ecc17b4d02e2162b2359ec5d7601826fe42cfcb7683ae16cf2baeb39 SHA512 acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
25 DIST jsonschema-4.0.0.tar.gz 290808 BLAKE2B 29b53fcdedd170d1ea8602dd706d671b78394b8d5e5f54ae3443269394bb7a4d8399a2d99a87dfbb4d27d6613b47e0d5a1c6caea9b679cfd1d21cb4ee0f4e45c SHA512 5decad39032a229f992bf25555473171a19ae076a0726b73fcc284cecf788bcd29e8662ad48405ee5a93df812b87e5846a640dafc32157c3742f2abf7f7a9c97
26 +DIST jsonschema-4.0.1.tar.gz 290999 BLAKE2B d693a33ef705a401187bdf603aacfd0336eab16afc0e38c5133ff6a74e4f0b323172d5abac0959163e40f546eedb75fe2b71f2ca53e7bbe1bf4f00ad977873b9 SHA512 50a2dd6423e8aca76e0a33e33a63bb7d1500abac891076426112c4577277d1f0322d06ec0ba5a9f47c65e5981f0cce768801e55e2f03ab6b0b6d2f884249b5fb
27
28 diff --git a/dev-python/jsonschema/jsonschema-4.0.1.ebuild b/dev-python/jsonschema/jsonschema-4.0.1.ebuild
29 new file mode 100644
30 index 00000000000..66da5466d22
31 --- /dev/null
32 +++ b/dev-python/jsonschema/jsonschema-4.0.1.ebuild
33 @@ -0,0 +1,45 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
40 +PYTHON_COMPAT=( python3_{8..10} )
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
44 +HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~sparc ~x86"
50 +
51 +RDEPEND="
52 + dev-python/attrs[${PYTHON_USEDEP}]
53 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
54 + $(python_gen_cond_dep '
55 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
56 + ' pypy3)
57 +"
58 +
59 +# formatter deps
60 +RDEPEND+="
61 + dev-python/fqdn[${PYTHON_USEDEP}]
62 + dev-python/idna[${PYTHON_USEDEP}]
63 + dev-python/isoduration[${PYTHON_USEDEP}]
64 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
65 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
66 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
67 + dev-python/rfc3987[${PYTHON_USEDEP}]
68 + dev-python/uritemplate[${PYTHON_USEDEP}]
69 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
70 +"
71 +
72 +BDEPEND="
73 + test? (
74 + dev-python/twisted[${PYTHON_USEDEP}]
75 + )
76 +"
77 +
78 +distutils_enable_tests --install unittest