commit: 05ef26939a6ae408a72451369c77e881be3d5fe3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 03:02:41 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 03:26:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ef2693
dev-python/cfn-lint: Bump to 0.87.9
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cfn-lint/Manifest | 1 +
dev-python/cfn-lint/cfn-lint-0.87.9.ebuild | 64 ++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 463ae9b4d506..982e0d0d3a54 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,4 +1,5 @@
DIST cfn_lint-0.87.8.tar.gz 4136317 BLAKE2B
eb0c30ff83ea9eca80b0a5e2a364e9d013bae2edc245fff61e1a77ff969a23314b2f918a061f03dff6aded543563f1c318ffb389eb4a8cf1da4a142892b0f31b
SHA512
044e9f5e88b4264c5782d25f4216e328cb4cc6b09441790fc150c0162393505f2f874cf8992b870772091970557aa6fa5d1991e35c61253c33f75d7f17070ad3
+DIST cfn_lint-0.87.9.tar.gz 4099520 BLAKE2B
cdcb2a4b569f96eb4779e12a848078659dfb103c4f61f583127152db1b80ae951e46e3850a02a520ed242605e91328817fd7568779304cc08746994332934309
SHA512
6868723a9a7adb709fe5c6e80760d4276e781d25812f6a77b2c73ad290be67d43bfdbabbe100ae39a7c573da8c718660134ed9940351e4c42ba119f6c6153ca2
DIST cfn_lint-1.3.7.tar.gz 2469769 BLAKE2B
aa059688cee5dfc35ea76a0d771e3c3d370780d6bacef2f524f60a408b572eb92a23367141cbe195afff0e0599102b4fc05354e2bd9d712f936db32f47a4bf91
SHA512
77dbc087c91d75946838567dd95d4fbd32131e07020d8076748154ae1b2cbeea1f348e650534279fa573732dc22691e65e0e542f539156b0af59ff5422396ffc
DIST cfn_lint-1.4.0.tar.gz 2428307 BLAKE2B
43987652c8f12dd24f62f9122b4aebb19edd2573e01d28ba121cc3681b3e04f5a5a3c15fd70f57b6ef9b715e686d191fab0cae11554c3c185ea756d89bce624d
SHA512
d07b29794443a5df7465052ab1836a67212f5b6801ba1784e054aef26c1d4f2c923aa82032f7df18b22993334e5a957f8db7d7d9aa600edab91da7d92816339b
DIST cfn_lint-1.4.2.tar.gz 2485843 BLAKE2B
c2e64721b537ab38cad3c3f6d40c509741fb03f61202d7dace4023f4b5b3a7840b7deb88892d9d282d223756a1e3908680ed166cdf216b0c76abdc29d0749967
SHA512
c9761e253ba77198264eabdd9c4e6a290bb9010533628958853c8d5a0f5f7317338f271588b5cef2ac1667f6ed5e1a6e43a3192aa9ff7202b0ca6db061284818
diff --git a/dev-python/cfn-lint/cfn-lint-0.87.9.ebuild
b/dev-python/cfn-lint/cfn-lint-0.87.9.ebuild
new file mode 100644
index 000000000000..1965af60837c
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.87.9.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="CloudFormation Linter"
+HOMEPAGE="
+ https://github.com/aws-cloudformation/cfn-lint/
+ https://pypi.org/project/cfn-lint/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/aws-sam-translator-1.89.0[${PYTHON_USEDEP}]
+ dev-python/jsonpatch[${PYTHON_USEDEP}]
+ >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}]
+ <dev-python/jsonschema-5[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+ dev-python/junit-xml[${PYTHON_USEDEP}]
+ <dev-python/networkx-4[${PYTHON_USEDEP}]
+ >dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
+ >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
+ >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
+ >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin the deps
+ sed -e 's:~=[0-9.]*::' -i setup.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+
test/unit/module/test_template.py::TestTemplate::test_build_graph
+ # requires git repo
+
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
+ # Internet
+
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
+
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
+ # TODO: it looks as if AWS_DEFAULT_REGION didn't work
+ test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
+
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
+
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
+
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
+ )
+
+ # from tox.ini
+ local -x AWS_DEFAULT_REGION=us-east-1
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}