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: Sat, 06 Nov 2021 10:59:13
Message-Id: 1636196339.f918fa062393aea9bc08731e36b4c06610c12114.mgorny@gentoo
1 commit: f918fa062393aea9bc08731e36b4c06610c12114
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 08:25:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 10:58:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f918fa06
7
8 dev-python/jsonschema: Bump to 4.2.1
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.2.1.ebuild | 53 +++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
17 index 31b50ee5497..94eba716f4f 100644
18 --- a/dev-python/jsonschema/Manifest
19 +++ b/dev-python/jsonschema/Manifest
20 @@ -4,3 +4,4 @@ DIST jsonschema-4.1.0.tar.gz 306755 BLAKE2B a98f1050943543ac51a2e0a7242a8bab9098
21 DIST jsonschema-4.1.1.tar.gz 310026 BLAKE2B c14bee88d20c53e4198e58b946c92a5c505a205daa09c30c474c2e95af45414b1c527298a2e0df647acd79ccbe9344c2aa03ee3e1b7daafda76153248e73f794 SHA512 7afa1bffd9631a503277479595cc9ed9a58ecd0f8f9035a2b65e4005f9f58ff4f6fa968b5ca783aa22c4530fc4acc5e2ea1ef2f67b7f4f09f245e9a6f2b2c3bd
22 DIST jsonschema-4.1.2.tar.gz 310016 BLAKE2B 16ec4f73a16980ec69e4c8e0d937726a6fcbf7ba0ba24dc9d76b5bf107b924fb3917927748e3dafacc0305322e9cb405daa83800dcfd5f2fcc63dbb8fe10a25a SHA512 5ab43602cfc2dfe07a8c733f01915b4961ee88ebb37723a7a3a6ee4793ddae4b4638abe77ac9d192158ae7634aacee0c58fa2959288ea0f83e3403d5f8b9f185
23 DIST jsonschema-4.2.0.tar.gz 310667 BLAKE2B 6210d1be3c4d72a9b5677fd06754df1b7d25ca6f0e7eb54089e0783e32408baf5f233a2a75eec686dddc7d112e397769ab58b0d1ac2d6246806375ed09427122 SHA512 75837145f542e8cf112b40e5fc5ec573bec8dfc6a27e9a7a4de6fbf127d845736509f89188700d68fe585ddf75f8e8a6e1d5c569e89bd8c03b36258adf36dab8
24 +DIST jsonschema-4.2.1.tar.gz 310668 BLAKE2B ba36be8abf0678fda773a9950f06e4d15f6a4c19fdd9f855310b80f45be1a25f44ce329c35667c4e107aab6ba381b02ff2caa305222932e2cbe733f293de82cc SHA512 349993c00e663f3efa2304e60c8b75e90c012d29faa498a01d5d2a5c47ddf0485f28894fd2ddf4766f9ab91e468f4b4f24a53390c72b7a31fae37d75c6f2b774
25
26 diff --git a/dev-python/jsonschema/jsonschema-4.2.1.ebuild b/dev-python/jsonschema/jsonschema-4.2.1.ebuild
27 new file mode 100644
28 index 00000000000..ff7d016261d
29 --- /dev/null
30 +++ b/dev-python/jsonschema/jsonschema-4.2.1.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="An implementation of JSON-Schema validation for Python"
42 +HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
48 +
49 +RDEPEND="
50 + dev-python/attrs[${PYTHON_USEDEP}]
51 + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
52 + $(python_gen_cond_dep '
53 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
54 + ' pypy3)
55 + $(python_gen_cond_dep '
56 + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
57 + ' pypy3 python3_8)
58 +"
59 +
60 +# formatter deps
61 +RDEPEND+="
62 + dev-python/fqdn[${PYTHON_USEDEP}]
63 + dev-python/idna[${PYTHON_USEDEP}]
64 + dev-python/isoduration[${PYTHON_USEDEP}]
65 + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
66 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
67 + dev-python/rfc3986-validator[${PYTHON_USEDEP}]
68 + dev-python/rfc3987[${PYTHON_USEDEP}]
69 + dev-python/uritemplate[${PYTHON_USEDEP}]
70 + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
71 +"
72 +
73 +BDEPEND="
74 + test? (
75 + dev-python/twisted[${PYTHON_USEDEP}]
76 + )
77 +"
78 +
79 +distutils_enable_tests pytest
80 +
81 +EPYTEST_DESELECT=(
82 + # requires pip, does not make much sense for the users
83 + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
84 +)