commit:     2d79492408bf18ff5061c68a56a729027e0c4f9b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 15:43:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 15:44:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d794924

dev-python/jsonschema-spec: Bump to 0.2.0

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

 dev-python/jsonschema-spec/Manifest                |  1 +
 .../jsonschema-spec/jsonschema-spec-0.2.0.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/jsonschema-spec/Manifest 
b/dev-python/jsonschema-spec/Manifest
index f7924f09a0c9..e5802f3db993 100644
--- a/dev-python/jsonschema-spec/Manifest
+++ b/dev-python/jsonschema-spec/Manifest
@@ -1,3 +1,4 @@
 DIST jsonschema-spec-0.1.4.gh.tar.gz 30903 BLAKE2B 
eae7ba8b811dfd14d9b2e33d3355bf8c98e088b1a8fa3314300dcc7edae31727cc5a01d0a06af412b8c7d59eca69ba816f6eb2683e997719fd300a3445e96cfd
 SHA512 
6b3d1710fdd8c43a0f38d0687c95e4e70c55df964dc597e4a00abad3459610829bd90190b21c512c70d46498d98b80ecc2422eb73d7822539841ff10bc7c2c4f
 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

diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild 
b/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild
new file mode 100644
index 000000000000..616ded180470
--- /dev/null
+++ b/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild
@@ -0,0 +1,39 @@
+# 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.24.4[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-specifications-2023.3.4[${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:\^:>=:' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to