From 5a217f4c14ed4c09bf72e68fe0fb09e6be820e7f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 13 Oct 2023 17:42:37 +0200 Subject: dev-python/jsonschema-path: New package, v0.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a API-breaking rename of dev-python/jsonschema-spec, sigh. Signed-off-by: Michał Górny --- dev-python/jsonschema-path/Manifest | 1 + .../jsonschema-path/jsonschema-path-0.3.1.ebuild | 44 ++++++++++++++++++++++ dev-python/jsonschema-path/metadata.xml | 13 +++++++ 3 files changed, 58 insertions(+) create mode 100644 dev-python/jsonschema-path/Manifest create mode 100644 dev-python/jsonschema-path/jsonschema-path-0.3.1.ebuild create mode 100644 dev-python/jsonschema-path/metadata.xml (limited to 'dev-python/jsonschema-path') diff --git a/dev-python/jsonschema-path/Manifest b/dev-python/jsonschema-path/Manifest new file mode 100644 index 000000000000..025b4393a848 --- /dev/null +++ b/dev-python/jsonschema-path/Manifest @@ -0,0 +1 @@ +DIST jsonschema-path-0.3.1.gh.tar.gz 39698 BLAKE2B b56f3c6c591066781c01ab32674c8fdd6193352208fbe9a3b06cae6e345711532a4abfb3f4433481eeb02a4dc7e884cc280c1b6d247ee1e647d503cea434b4f6 SHA512 00aa61aacb92d3aa11be6b3f5f69f6cb70743559849c425549a6fcc0c8c6eeff9feaef5a07da70308cc03311ca48dda7e35d429fa2a5a1aba9099fe678594038 diff --git a/dev-python/jsonschema-path/jsonschema-path-0.3.1.ebuild b/dev-python/jsonschema-path/jsonschema-path-0.3.1.ebuild new file mode 100644 index 000000000000..364da459eeca --- /dev/null +++ b/dev-python/jsonschema-path/jsonschema-path-0.3.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="JSONSchema Spec with object-oriented paths" +HOMEPAGE=" + https://pypi.org/project/jsonschema-path/ + https://github.com/p1c2u/jsonschema-path/ +" +SRC_URI=" + https://github.com/p1c2u/jsonschema-path/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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 +} diff --git a/dev-python/jsonschema-path/metadata.xml b/dev-python/jsonschema-path/metadata.xml new file mode 100644 index 000000000000..ab4cdeab8d51 --- /dev/null +++ b/dev-python/jsonschema-path/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + jsonschema-path + p1c2u/jsonschema-path + + -- cgit v1.2.3-65-gdbad