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: Thu, 22 Sep 2022 10:29:11
Message-Id: 1663842542.0991fd2a8efd45b8b0a30675816fc44343c0cf2b.mgorny@gentoo
1 commit: 0991fd2a8efd45b8b0a30675816fc44343c0cf2b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 10:22:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 10:29:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0991fd2a
7
8 dev-python/jsonschema-spec: Bump to 0.1.2
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.2.ebuild | 37 ++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest
17 index 738a8b87f272..6aee67b3ad7f 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.1.gh.tar.gz 21747 BLAKE2B 441f34c62da2d22699379035e20f2ed78a974413ea9c2f80b753cc2b41d978351c69aaa50750139e622d075c4c3979dc43b888bea111a0f4b31fa9d37822a1fa SHA512 b1bdd03c6fc022877d0801d859abe0dd19e066afe2a1eab6c650a8741a50473e74945ddde429508e5dccf379a84b25fbd60c49fdc310aa770bed52b63e60e397
22 +DIST jsonschema-spec-0.1.2.gh.tar.gz 21782 BLAKE2B 238f035e75ec45edade5fd00269d2fc208a73208d1e07586490728b8c97819d6fddd9b909d2af00e63ebc4c141cb8dbaaf8e3e7ce88c3ff58ada2ba147c1e2c9 SHA512 0cba83a14e88d4fe2fcce9e4d39fa4284f23366a1f8acab16fa4b7b824d0c02bf04429d61c51a39a7a188c4e2b79f4481bba14ca688edee71beb0060e16617e0
23
24 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.1.2.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.1.2.ebuild
25 new file mode 100644
26 index 000000000000..1a6a4f949102
27 --- /dev/null
28 +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.1.2.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 2022 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_{8..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.0.0[${PYTHON_USEDEP}]
56 + dev-python/pathable[${PYTHON_USEDEP}]
57 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
58 + dev-python/pathable[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +src_prepare() {
64 + sed -e '/--cov/d' -i pyproject.toml || die
65 + distutils-r1_src_prepare
66 +}