From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7791815800F for ; Wed, 1 Feb 2023 18:44:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CD1BE0C68; Wed, 1 Feb 2023 18:44:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60FF0E0C68 for ; Wed, 1 Feb 2023 18:44:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66E6233FECD for ; Wed, 1 Feb 2023 18:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC1AD531 for ; Wed, 1 Feb 2023 18:44:13 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1675277048.c66083abfa820c0208f15a068c55dca4a23a54b6.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/check-jsonschema/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/check-jsonschema/Manifest app-misc/check-jsonschema/check-jsonschema-0.21.0.ebuild app-misc/check-jsonschema/metadata.xml X-VCS-Directories: app-misc/check-jsonschema/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: c66083abfa820c0208f15a068c55dca4a23a54b6 X-VCS-Branch: master Date: Wed, 1 Feb 2023 18:44:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90cd2d5b-160e-4b26-a18d-c9422e822c24 X-Archives-Hash: 2ad0f8f0467149b805b187aa5612300d commit: c66083abfa820c0208f15a068c55dca4a23a54b6 Author: Patrick McLean gentoo org> AuthorDate: Wed Feb 1 18:43:16 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed Feb 1 18:44:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66083ab app-misc/check-jsonschema: new package, add 0.21.0 Signed-off-by: Patrick McLean gentoo.org> app-misc/check-jsonschema/Manifest | 1 + .../check-jsonschema-0.21.0.ebuild | 50 ++++++++++++++++++++++ app-misc/check-jsonschema/metadata.xml | 12 ++++++ 3 files changed, 63 insertions(+) diff --git a/app-misc/check-jsonschema/Manifest b/app-misc/check-jsonschema/Manifest new file mode 100644 index 000000000000..9e241f8226ce --- /dev/null +++ b/app-misc/check-jsonschema/Manifest @@ -0,0 +1 @@ +DIST check-jsonschema-0.21.0.gh.tar.gz 214872 BLAKE2B 0ee013e379523e5a957e745d550c2014872eab9fc3281aad575f92abfada30b7e0853177bd06147b69a81100bf6b987b485342a087830845c32648efc1c7a9a0 SHA512 dd839a9bb104e1fc68e4a7507077dc991dfc9e840f785c4b7024f2838488eb8b8c6a8f7718f0f821981f5b6b23b1d67745948f48db55a0c589395cf43bfdd2a7 diff --git a/app-misc/check-jsonschema/check-jsonschema-0.21.0.ebuild b/app-misc/check-jsonschema/check-jsonschema-0.21.0.ebuild new file mode 100644 index 000000000000..26d7ad3e1777 --- /dev/null +++ b/app-misc/check-jsonschema/check-jsonschema-0.21.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="A CLI and set of pre-commit hooks for jsonschema validation" +HOMEPAGE=" + https://pypi.org/project/check-jsonschema/ + https://github.com/python-jsonschema/check-jsonschema +" +SRC_URI="https://github.com/python-jsonschema/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/responses[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +DOCS=( + README.md + CONTRIBUTING.md + CHANGELOG.rst +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/furo + +python_prepare_all() { + # relax deps in setup.cfg + sed -r -e 's:([a-zA-Z.-]+)([<>]|==|[<>]=)+.+:\1: ; /importlib-resources/ d' -i setup.cfg || die + + distutils-r1_python_prepare_all +} diff --git a/app-misc/check-jsonschema/metadata.xml b/app-misc/check-jsonschema/metadata.xml new file mode 100644 index 000000000000..0b93e3e929e1 --- /dev/null +++ b/app-misc/check-jsonschema/metadata.xml @@ -0,0 +1,12 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + python-jsonschema/check-jsonschema + check-jsonschema + +