From 94f15e80a2d1bf7754cad4b53208be9c319ea7d5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Feb 2024 21:59:10 +0000 Subject: gentoo auto-resync : 08:02:2024 - 21:59:09 --- dev-python/jsonschema-spec/Manifest | 2 +- .../jsonschema-spec-0.2.4-r1.ebuild | 47 ++++++++++++++++++++++ .../jsonschema-spec/jsonschema-spec-0.2.4.ebuild | 44 -------------------- 3 files changed, 48 insertions(+), 45 deletions(-) create mode 100644 dev-python/jsonschema-spec/jsonschema-spec-0.2.4-r1.ebuild delete mode 100644 dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild (limited to 'dev-python/jsonschema-spec') diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest index fb2d5ec1dd48..2f71dfdf9cb9 100644 --- a/dev-python/jsonschema-spec/Manifest +++ b/dev-python/jsonschema-spec/Manifest @@ -1,3 +1,3 @@ DIST jsonschema-spec-0.2.4.gh.tar.gz 38882 BLAKE2B 0c7d1179003ef5cd8eb0a164e9e13473df233fc72dbe3d8f75e967bb238de7267a0ef154ac3a40d8ef1ee3bd34568bfd16baae33b6ecc88077fabf0bdf22c299 SHA512 87f0a227e5d12badaab30a6b512f735db968ecd25856d9005e7c7f265187a3092e12ee9c900b035c5f927f250cc9743547dab1bba5195dc7534cab256b1800c2 -EBUILD jsonschema-spec-0.2.4.ebuild 985 BLAKE2B 296381afc4cae557a752a59795ecb8a7f79fd5d68f2fb4e18241c507b91a4ec1052b319768c73198efac0b82806cce6371448a5534001a5fc2a4ef7917123286 SHA512 4e5757175887c98cf65c50cb7d44b9de0cd9d212e986b7330da4d393e9c28c501156227b73b36dc5abf0800d942e2d429618caa0ac6632f18d6103473b86a716 +EBUILD jsonschema-spec-0.2.4-r1.ebuild 1125 BLAKE2B 53e5aa1ae6679230e494f67ab2a57ba4bc0e4e9dcb510e13e5fa0b839351c47003372942d9c1a833c4bad5505fef877502e9a6952e9b3cb49dbb5021e5665136 SHA512 3ecfab350317fdc18b6a485c6a413b5b9e81a23e64b977b76d8cea2825ba32e54955834f4a0af2a23be64c39f681b2ed246c27a43e51553bf8e04bd3e168c80d MISC metadata.xml 404 BLAKE2B 2e76fe1eb441114cff26e2e60d36d2d38da053ca524a29f568d2b4af325021ab560545da43cdd0d5d3404e73ebcdb9b534da0b7de52c2acee5d3f2ed6511ee4e SHA512 58238e60fc20d210167afe2abcfdbbd826a693b5d587953437294c2c0e1ea9161486e2c583d29a7e2a0c8343e70e7688213ed011eacd155c53e232b336986701 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.2.4-r1.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.2.4-r1.ebuild new file mode 100644 index 000000000000..70471280c38b --- /dev/null +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.2.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2024 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-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 ~loong ppc64 ~riscv x86" + +# requests seem "optional" but they failed at properly making it +# optional in poetry, sigh +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/requests-2.31.0[${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-spec/jsonschema-spec-0.2.4.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild deleted file mode 100644 index 81eeedc289a1..000000000000 --- a/dev-python/jsonschema-spec/jsonschema-spec-0.2.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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..12} ) - -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 ~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 -} -- cgit v1.2.3