From f8999218b5a6eafa151e7367030cbfdb69e045ed Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 May 2024 00:07:14 +0100 Subject: gentoo auto-resync : 25:05:2024 - 00:07:14 --- app-misc/check-jsonschema/Manifest | 2 + .../check-jsonschema-0.28.4.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild (limited to 'app-misc/check-jsonschema') diff --git a/app-misc/check-jsonschema/Manifest b/app-misc/check-jsonschema/Manifest index 362e17325151..0877ddd693ad 100644 --- a/app-misc/check-jsonschema/Manifest +++ b/app-misc/check-jsonschema/Manifest @@ -1,5 +1,7 @@ DIST check-jsonschema-0.21.0.gh.tar.gz 214872 BLAKE2B 0ee013e379523e5a957e745d550c2014872eab9fc3281aad575f92abfada30b7e0853177bd06147b69a81100bf6b987b485342a087830845c32648efc1c7a9a0 SHA512 dd839a9bb104e1fc68e4a7507077dc991dfc9e840f785c4b7024f2838488eb8b8c6a8f7718f0f821981f5b6b23b1d67745948f48db55a0c589395cf43bfdd2a7 DIST check-jsonschema-0.23.3.gh.tar.gz 229537 BLAKE2B a8a40ddc383f38096693a2079b73a8a8fe2ceed5d1e118e539957c205c500807518c0380aa18cae2524efdeda33987f057350ba73b7a699240706ff4e276eafc SHA512 14f9eb6b203e3aec6ca35f75304bd24fd5a09c2b89bcbbf69c22e0c0f44c587972015677498fef1a378683c77f94d9319450daccadddf5fecbe7c738dd16c726 +DIST check-jsonschema-0.28.4.gh.tar.gz 270302 BLAKE2B a5355ed124d6e3bd076403448c3d7fa7c62524c6da49eb5a61d226485639812bdea28b53c570b084e976749b92c1ee586b0285111a543b1a3e8a734ea8d6cc67 SHA512 f4c693ea0951c246814775f26d5c3e5de8020484a92ae15e2a13e284ccb2c58f2bdf7dbdb66612661304f5ff9e6ba88eb3f89e7f0ad23a3f6fc8fcc61372ceea EBUILD check-jsonschema-0.21.0-r1.ebuild 1185 BLAKE2B 17cd12999fe1dac82e6b9e1ef55fd74797b511216d7b58b8ee1f1e45748d60498e1f525b744ff72590f7ebb788746aee5d04653a6a8fb4f2f5a351a9da95a128 SHA512 8361afbd0f191ca71dff79e5879711b5d4a330880cf2f8cb865b745f0c083cfb5d5340e7c71bf619a27989b9c9bebf0d911d3e10f53493798c9a0e3b792c9b6a EBUILD check-jsonschema-0.23.3.ebuild 1205 BLAKE2B 0c989674195df4dd318437f210d1756cdcd339b2673cba225b32a0ec43dc772e01664e02b333e365f3fd2a045db8fcd647f66cdf87436ad5678dd2e8a43d3b67 SHA512 03718b851d6d3fed0495f1f476f2a53f36f6d825baaf90188150861407c4653463ec3b0367a00f45011e4c0cdd7b1f155a0ac4385b42e1da284c5ea495392481 +EBUILD check-jsonschema-0.28.4.ebuild 1397 BLAKE2B d6aeb8bf4cc41af7980ae74dbbbe60de83929cf4e5fc7f51d826265415ca6ac6a29044e0ec3af9b94df3f8e7b45b2528222acffdf02d4ca4bea6eda2ca682be1 SHA512 198bb90bda17b3f8c548a590c0c896c66fdc5c07a1617771d7aa586cf36c4ca1c738607b33c68800b7c6164fdb39b870e25dc8671d1bc9604af3aba993bf0116 MISC metadata.xml 403 BLAKE2B d0254150920ea63313734ad154391cf5d61176b56f53f26c2c8d8408ee571ce0fb4fb1383a6c63ec9f2542fdd66c35feee6b4d926f5cee3cf50253458305c346 SHA512 37cf237a2d7fdf5fe238e42a91d14d29fc01c807546a313b605cead57b50eff9a3fb2b66ed65c5aa019a727778356be659a0466cba5bc7f1b3a1bff8be8da42e diff --git a/app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild b/app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild new file mode 100644 index 000000000000..82adc69ea0e5 --- /dev/null +++ b/app-misc/check-jsonschema/check-jsonschema-0.28.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit optfeature 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-0.18.6[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.5.1[${PYTHON_USEDEP}] + dev-python/regress[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/json5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/responses-0.25.0[${PYTHON_USEDEP}] + ) +" + +DOCS=( + README.md + CONTRIBUTING.md + CHANGELOG.rst +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + 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 +} + +pkg_postinst() { + optfeature "json5 support" dev-python/json5 +} -- cgit v1.2.3