commit:     cad305b29b2751bc7e6fd0f158b8c6c23ea3365d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 13 04:43:42 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 13 04:46:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad305b2

dev-python/jsonschema-spec: Bump to 0.2.1

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

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

diff --git a/dev-python/jsonschema-spec/Manifest 
b/dev-python/jsonschema-spec/Manifest
index e5802f3db993..8e1b82cadff4 100644
--- a/dev-python/jsonschema-spec/Manifest
+++ b/dev-python/jsonschema-spec/Manifest
@@ -2,3 +2,4 @@ DIST jsonschema-spec-0.1.4.gh.tar.gz 30903 BLAKE2B 
eae7ba8b811dfd14d9b2e33d3355b
 DIST jsonschema-spec-0.1.5.gh.tar.gz 36035 BLAKE2B 
4e6019fb1c7f5e85a03488e00ef080798bc6e3e06999d9c9c931072c640fd74b5125882e43dca26bad1acc3bdacb06a26f2c95dff25339e3f8b785d759085a49
 SHA512 
c76b15a3ead9498696c80cf7a378a675194837f04cd88d81be5213a38cde8177d5e8f7866d007648b7013db74d1057b700b027a79bcd893b0d493269abcd621d
 DIST jsonschema-spec-0.1.6.gh.tar.gz 36043 BLAKE2B 
e85cad336d6b5ed11d6a51c8fab2c28826f6a9836ad50d2423b23bef047c338307d3e9430f1d151dbaf7a92574c9899dbfd016c570456996250e8d7634373313
 SHA512 
78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884
 DIST jsonschema-spec-0.2.0.gh.tar.gz 37210 BLAKE2B 
44892638371f8ed9074c997e0590594a55a4a00bb0f88bbe535021726f1de6b961825a710c7f1ed63081c5ee7d252bc4f5bcc2cb462ded71ecb492625876c811
 SHA512 
6bc9f50f9132a72243df1a20d16d049ca1413904fba5403fb780663c0819ae3be8dfd51efada84118e34e157e95475e375df9c6ce1e1930c72c6d45dc71d4d04
+DIST jsonschema-spec-0.2.1.gh.tar.gz 37242 BLAKE2B 
8e1b2c4e44052fba0e78cefdf0a60a1e14adbe9f0027464d87e635bac7bb2ce1aefe65c92a1224877128ee23505402f199aca119cd48769d9149d57b5f9ec7ea
 SHA512 
1d1769e301f60c2b2a1e7b413e5d1081f3e069bf29ad12d5e3c4b0c91094c8e78f44b01642a9a58f229e5efe69db14276cf067d9dad37d53c8a35368bd62d6d6

diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.2.1.ebuild 
b/dev-python/jsonschema-spec/jsonschema-spec-0.2.1.ebuild
new file mode 100644
index 000000000000..ded412c724c4
--- /dev/null
+++ b/dev-python/jsonschema-spec/jsonschema-spec-0.2.1.ebuild
@@ -0,0 +1,45 @@
+# 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"
+
+RDEPEND="
+       >=dev-python/pathable-0.4.1[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+       >=dev-python/referencing-0.28.1[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-specifications-2023.3.4[${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