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: Thu, 18 Aug 2022 18:11:55
Message-Id: 1660846298.b17c28a0731cf3b25b6332682488944f81b3a381.arthurzam@gentoo
1 commit: b17c28a0731cf3b25b6332682488944f81b3a381
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 17:31:13 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 18:11:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c28a0
7
8 dev-python/jsonschema: add 4.12.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.12.1.ebuild | 56 ++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index c519c3f20b36..137925b5450e 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -1,5 +1,6 @@
21 DIST jsonschema-4.10.0.tar.gz 286110 BLAKE2B b59e425df6a8d747424ff938de6cbd0eceaa16a1b16b795847f86662a5cbc7953f052f7aaac10109a4c75e69e227d29f3dbfdcd50197be0436f6e36ea02df29a SHA512 765ed96fe086feda9604d3079e78f62e35ab883e8826be57112bd8f7c4fedc385c4e2436b5224a171b3a7c0d18b22162ff0973448b339a8f13043532e52eb06d
22 DIST jsonschema-4.10.2.tar.gz 285395 BLAKE2B 2e40fc5e8b93922c12110f1983f933a07455d9f5d1388fc2c1ee8f07e042f3840573553f709ab7f373c8f5be0651996ffd203696bd0ec1356e90163dad8f4eb4 SHA512 1328af7b4bc70ce43aec6e27b75c9ebe1c2745eceb3b794aeb41eb430362123f9b40dda26e90e62f23d5733ff4fd21407b05569603ee1e2a4941c2009e1855e7
23 +DIST jsonschema-4.12.1.tar.gz 287475 BLAKE2B 78f4e6fa120eef9ac3fead84fa28b16a8f4c212c570785f0f6f08fcec1a58c51f7cc756ba9a7272e71e3877e80e5e17e2e4d8fbcf503a20c27232dcb4b918085 SHA512 ae95bf3dccb7365af1814255a5aecc11044c3ee579921e935e7c3f955596fdf8d32bbdd0fa2693ea701792a8a29053cf25ef3ab9b08ffb66a6859059a877888f
24 DIST jsonschema-4.7.2.tar.gz 278495 BLAKE2B 55c25847e210e0bdd3bec672b4b6a4eb1a2e2ec5167c115c34a2d0b2de079a00eaff8d901386b475fc26660887090896e78e3a38c1805f5b767fa1eece740e3b SHA512 c624d7bf317ca20fd8cdd248ec7d7679fde907ab304f1a092fc7a172464f43e41904d3f88df57e1351043b978448f51166a09af3625f00a9ad4d7353033b80af
25 DIST jsonschema-4.8.0.tar.gz 279424 BLAKE2B 9e8936bde13841f9edf42ffe214ce8d1aaae8b9be4c3040871f228399a31b4292e8cfbf4bf4261822ca1b88622cb69cdf0d55bd2cc51bf191f6e364e9bfb94f8 SHA512 75a7593eb8b0163ba428f507ed4fd9fa6d51567f284776af96f4d79cb507a69666cc048034bfa3a401f960295779e935562dde4e97cf3f7b3b4571bc28b9dde7
26 DIST jsonschema-4.9.0.tar.gz 281100 BLAKE2B 5a1c387fc33735ffd39342f3e62600aea721a51be0995d10aa1726e8e4c3bf93694a7844410c0b245c699880d6642a6903525b3637883f5e662086b53deb0948 SHA512 73fc9958f37802c4558ea6893386810784d2b577c04423b7090fce4cd052e3af078f0b0c46b2b16f96bb49820047f1ec5d96cf6c6cb822fca1d988cf1d70209f
27
28 diff --git a/dev-python/jsonschema/jsonschema-4.12.1.ebuild b/dev-python/jsonschema/jsonschema-4.12.1.ebuild
29 new file mode 100644
30 index 000000000000..dc34f689f24e
31 --- /dev/null
32 +++ b/dev-python/jsonschema/jsonschema-4.12.1.ebuild
33 @@ -0,0 +1,56 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +DISTUTILS_USE_PEP517=hatchling
40 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
45 +HOMEPAGE="
46 + https://pypi.org/project/jsonschema/
47 + https://github.com/python-jsonschema/jsonschema/
48 +"
49 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64"
54 +
55 +RDEPEND="
56 + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
57 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
58 + $(python_gen_cond_dep '
59 + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
60 + dev-python/pkgutil_resolve_name[${PYTHON_USEDEP}]
61 + ' 3.8)
62 +"
63 +BDEPEND="
64 + dev-python/hatch-vcs[${PYTHON_USEDEP}]
65 + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
66 +"
67 +
68 +# formatter deps
69 +RDEPEND+="
70 + dev-python/fqdn[${PYTHON_USEDEP}]
71 + dev-python/idna[${PYTHON_USEDEP}]
72 + dev-python/isoduration[${PYTHON_USEDEP}]
73 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
74 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
75 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
76 + dev-python/rfc3987[${PYTHON_USEDEP}]
77 + dev-python/uri_template[${PYTHON_USEDEP}]
78 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
79 +"
80 +
81 +distutils_enable_tests pytest
82 +
83 +EPYTEST_DESELECT=(
84 + # requires pip, does not make much sense for the users
85 + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
86 + # wtf?
87 + jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
88 + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug
89 +)