1 |
commit: d9affd0d063352a588dbd7419a4fa9da13644d2a |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 5 23:02:22 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 5 23:02:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9affd0d |
7 |
|
8 |
dev-python/jsonschema: add 4.5.1 |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
dev-python/jsonschema/Manifest | 1 + |
13 |
dev-python/jsonschema/jsonschema-4.5.1.ebuild | 50 +++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest |
17 |
index 2c484f637935..2b035efe4cd7 100644 |
18 |
--- a/dev-python/jsonschema/Manifest |
19 |
+++ b/dev-python/jsonschema/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jsonschema-4.4.0.tar.gz 313519 BLAKE2B 6339c4ac9e99b55e41c133861baacb6644e04d15e915d3199955512530c946973ca6d5348746688660ea7392d53102754dba3f3380fc8aa3a4ab284a9dcde684 SHA512 8e5c138f4debf7540e2cd131f3f208d1778927ac9036f5fa67bcf5db8c62fe1bb454c7818ee61acef64e856ea4b498ef6ab08be314a3c6b1e461e0bb44db41c7 |
22 |
+DIST jsonschema-4.5.1.tar.gz 282414 BLAKE2B 5b1d4e591e48c760e89a438b3bf9ea6b27b0959030be4558d5a863ceea218bdc4db19d09e2783724026fc2e10eeb6c969a939f4d1a5b44c16dbf7ff39c61a743 SHA512 3866a649ece45c1c69d3d5e9810cfdb094f1af82fcc08a186f9babd7516ad311c4bffa52f61f013bc84e7ab1be06605c5fab738c1c920ff8ce85a73429d9efde |
23 |
|
24 |
diff --git a/dev-python/jsonschema/jsonschema-4.5.1.ebuild b/dev-python/jsonschema/jsonschema-4.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..41072af7dd9d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jsonschema/jsonschema-4.5.1.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="An implementation of JSON-Schema validation for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/jsonschema/ |
43 |
+ https://github.com/python-jsonschema/jsonschema/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~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_resources-1.4.0[${PYTHON_USEDEP}] |
56 |
+ ' 3.8) |
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/uri_template[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+EPYTEST_DESELECT=( |
75 |
+ # requires pip, does not make much sense for the users |
76 |
+ jsonschema/tests/test_cli.py::TestCLIIntegration::test_license |
77 |
+ # wtf? |
78 |
+ jsonschema/tests/test_deprecations.py::TestDeprecations::test_version |
79 |
+) |