commit:     19d55036fbda40523a23d4001e7702aedf1ad32b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 07:53:19 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 08:36:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d55036

dev-python/jsonschema-spec: Bump to 0.2.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jsonschema-spec/Manifest                |  1 +
 .../jsonschema-spec/jsonschema-spec-0.2.4.ebuild   | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/jsonschema-spec/Manifest 
b/dev-python/jsonschema-spec/Manifest
index ab6e522adeda..2766980438f4 100644
--- a/dev-python/jsonschema-spec/Manifest
+++ b/dev-python/jsonschema-spec/Manifest
@@ -1,2 +1,3 @@
 DIST jsonschema-spec-0.1.6.gh.tar.gz 36043 BLAKE2B 
e85cad336d6b5ed11d6a51c8fab2c28826f6a9836ad50d2423b23bef047c338307d3e9430f1d151dbaf7a92574c9899dbfd016c570456996250e8d7634373313
 SHA512 
78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884
 DIST jsonschema-spec-0.2.3.gh.tar.gz 37245 BLAKE2B 
e487b9e22d502dc1dbfa2957a28b8ea39b5809f7dcfc4d7f787d46727025528bf946d0576e0a1c530c56d8f80d09401c7bd565dee5af74838db5df0da3f9de11
 SHA512 
6de68cfa9aeda77cb68ad0d15cb87dd6298bf178424ea40e3009d78a9a5a5ee66443560a0d99521d02e2fbfcecbd081b24d1dd7dee216eaea1fffbd8f7a71e8a
+DIST jsonschema-spec-0.2.4.gh.tar.gz 38882 BLAKE2B 
0c7d1179003ef5cd8eb0a164e9e13473df233fc72dbe3d8f75e967bb238de7267a0ef154ac3a40d8ef1ee3bd34568bfd16baae33b6ecc88077fabf0bdf22c299
 SHA512 
87f0a227e5d12badaab30a6b512f735db968ecd25856d9005e7c7f265187a3092e12ee9c900b035c5f927f250cc9743547dab1bba5195dc7534cab256b1800c2

diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild 
b/dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild
new file mode 100644
index 000000000000..66351663eea9
--- /dev/null
+++ b/dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="JSONSchema Spec with object-oriented paths"
+HOMEPAGE="
+       https://pypi.org/project/jsonschema-spec/
+       https://github.com/p1c2u/jsonschema-spec/
+"
+SRC_URI="
+       https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+       >=dev-python/pathable-0.4.1[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+       >=dev-python/referencing-0.28.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/responses[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       sed -i -e '/--cov/d' pyproject.toml || die
+       # remove random pins due to caret operator
+       sed -i -e 's:\^:>=:' -e 's:,<[0-9.]*::' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to