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: Wed, 03 Aug 2022 17:30:36
Message-Id: 1659547652.c58bf6e977e39cdb214353fdb1349d4c6f76518f.arthurzam@gentoo
1 commit: c58bf6e977e39cdb214353fdb1349d4c6f76518f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 3 16:32:08 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 3 17:27:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58bf6e9
7
8 dev-python/jsonschema: add 4.9.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.9.1.ebuild | 54 +++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index ee9d930b675a..e23d45113d35 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -2,3 +2,4 @@ DIST jsonschema-4.6.2.tar.gz 275975 BLAKE2B 7c587e8b5c5eff097390e6254ae633445ffe
21 DIST jsonschema-4.7.2.tar.gz 278495 BLAKE2B 55c25847e210e0bdd3bec672b4b6a4eb1a2e2ec5167c115c34a2d0b2de079a00eaff8d901386b475fc26660887090896e78e3a38c1805f5b767fa1eece740e3b SHA512 c624d7bf317ca20fd8cdd248ec7d7679fde907ab304f1a092fc7a172464f43e41904d3f88df57e1351043b978448f51166a09af3625f00a9ad4d7353033b80af
22 DIST jsonschema-4.8.0.tar.gz 279424 BLAKE2B 9e8936bde13841f9edf42ffe214ce8d1aaae8b9be4c3040871f228399a31b4292e8cfbf4bf4261822ca1b88622cb69cdf0d55bd2cc51bf191f6e364e9bfb94f8 SHA512 75a7593eb8b0163ba428f507ed4fd9fa6d51567f284776af96f4d79cb507a69666cc048034bfa3a401f960295779e935562dde4e97cf3f7b3b4571bc28b9dde7
23 DIST jsonschema-4.9.0.tar.gz 281100 BLAKE2B 5a1c387fc33735ffd39342f3e62600aea721a51be0995d10aa1726e8e4c3bf93694a7844410c0b245c699880d6642a6903525b3637883f5e662086b53deb0948 SHA512 73fc9958f37802c4558ea6893386810784d2b577c04423b7090fce4cd052e3af078f0b0c46b2b16f96bb49820047f1ec5d96cf6c6cb822fca1d988cf1d70209f
24 +DIST jsonschema-4.9.1.tar.gz 281177 BLAKE2B 210308d140b39f5a5506a3561b8eaa211fbc9a0eb0576975125fa998bf9a507221b5ab75bd4d0f5bcd6d2e3b70a1a07ef4bcfb1d0b88b29a218b074b7d5649a1 SHA512 d63b927c183077d0fe6978536416523229be0ce3a393e6cbc12fd9229bfa45ba035fd721a7722042d7cb6bcf4c720485d7ff877aae93cd62c9c48b984e802267
25
26 diff --git a/dev-python/jsonschema/jsonschema-4.9.1.ebuild b/dev-python/jsonschema/jsonschema-4.9.1.ebuild
27 new file mode 100644
28 index 000000000000..b0cbff91ab2d
29 --- /dev/null
30 +++ b/dev-python/jsonschema/jsonschema-4.9.1.ebuild
31 @@ -0,0 +1,54 @@
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_PEP517=hatchling
38 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
43 +HOMEPAGE="
44 + https://pypi.org/project/jsonschema/
45 + https://github.com/python-jsonschema/jsonschema/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
52 +
53 +RDEPEND="
54 + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
55 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
56 + $(python_gen_cond_dep '
57 + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
58 + dev-python/pkgutil_resolve_name[${PYTHON_USEDEP}]
59 + ' 3.8)
60 +"
61 +BDEPEND="
62 + dev-python/hatch-vcs[${PYTHON_USEDEP}]
63 +"
64 +
65 +# formatter deps
66 +RDEPEND+="
67 + dev-python/fqdn[${PYTHON_USEDEP}]
68 + dev-python/idna[${PYTHON_USEDEP}]
69 + dev-python/isoduration[${PYTHON_USEDEP}]
70 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
71 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
72 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
73 + dev-python/rfc3987[${PYTHON_USEDEP}]
74 + dev-python/uri_template[${PYTHON_USEDEP}]
75 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
76 +"
77 +
78 +distutils_enable_tests pytest
79 +
80 +EPYTEST_DESELECT=(
81 + # requires pip, does not make much sense for the users
82 + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
83 + # wtf?
84 + jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
85 +)