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-spec/
Date: Fri, 17 Mar 2023 13:33:56
Message-Id: 1679060028.004fd8edc58ff455876f86bbe3a17dc19e413a9b.mgorny@gentoo
1 commit: 004fd8edc58ff455876f86bbe3a17dc19e413a9b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 13:08:32 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 13:33:48 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004fd8ed
7
8 dev-python/jsonschema-spec: Bump to 0.1.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jsonschema-spec/Manifest | 1 +
13 .../jsonschema-spec/jsonschema-spec-0.1.4.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest
17 index 1ec13dd084b7..1fe164fa9f39 100644
18 --- a/dev-python/jsonschema-spec/Manifest
19 +++ b/dev-python/jsonschema-spec/Manifest
20 @@ -1 +1,2 @@
21 DIST jsonschema-spec-0.1.3.gh.tar.gz 30794 BLAKE2B 545eda0aef433eb62cd02bbcc4d07469b26c477bbf572d71bcb4eb126acc5ab912f5f80c0699305b37f7f526f36910bcb019d66a763e679846bb20a5b01eb813 SHA512 95465c43b842289ed28dd78ec06614d77b2bbf7d9d69e5dc4b89008740d0cc85e5b3319acd66d0142b533425e8f150c4edbbf15b7f8e3bdefb28b81193a13432
22 +DIST jsonschema-spec-0.1.4.gh.tar.gz 30903 BLAKE2B eae7ba8b811dfd14d9b2e33d3355bf8c98e088b1a8fa3314300dcc7edae31727cc5a01d0a06af412b8c7d59eca69ba816f6eb2683e997719fd300a3445e96cfd SHA512 6b3d1710fdd8c43a0f38d0687c95e4e70c55df964dc597e4a00abad3459610829bd90190b21c512c70d46498d98b80ecc2422eb73d7822539841ff10bc7c2c4f
23
24 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.1.4.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.1.4.ebuild
25 new file mode 100644
26 index 000000000000..66fd3efcb98b
27 --- /dev/null
28 +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.1.4.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 2022-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=poetry
36 +PYTHON_COMPAT=( pypy3 python3_{9..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="JSONSchema Spec with object-oriented paths"
41 +HOMEPAGE="
42 + https://pypi.org/project/jsonschema-spec/
43 + https://github.com/p1c2u/jsonschema-spec/
44 +"
45 +SRC_URI="
46 + https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
53 +
54 +RDEPEND="
55 + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}]
56 + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}]
57 + dev-python/pathable[${PYTHON_USEDEP}]
58 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
59 + dev-python/pathable[${PYTHON_USEDEP}]
60 +"
61 +
62 +distutils_enable_tests pytest
63 +
64 +src_prepare() {
65 + sed -e '/--cov/d' -i pyproject.toml || die
66 + distutils-r1_src_prepare
67 +}