commit: 53881e8aa084d3513a63b525637c59abe1b1bf27
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 3 06:06:28 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 3 07:59:31 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53881e8a
dev-python/cfn-lint: Bump to 1.32.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cfn-lint/Manifest | 1 +
dev-python/cfn-lint/cfn-lint-1.32.3.ebuild | 70 ++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 9999890813bc..5cbc051b1d24 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,3 +1,4 @@
DIST cfn_lint-1.30.0.tar.gz 2832092 BLAKE2B
0d69bc3702447828c5a03662d00f62e1ee421a554354dc3e754ed509108d0f5ef031e4e256de51476bb4904bba34089ac263203bd688d3c27fff050655b5a35a
SHA512
0a8819b5ca691a308622a1a394d19c633c06253f3b8a480a95c12dfcebb94220f0464f11e51ee9719f2d00d097520226d9c2ab6b8944ff0b00e117de21d458d9
DIST cfn_lint-1.31.3.tar.gz 2856311 BLAKE2B
46c7dee3b3a70f59675dd3879604a0860b99b193ce37e11b05f60bb08d1f3e97da7887b8d13be48d5721826ca46f5bdca61945b8d2fc6558d9290eec5257fa64
SHA512
4d63d3d529b292125be9b139ebc73ae75024e61afa0928afd6f73f573aaadd9cb1e359cf4bc61aa245c05de86406b9894bca1519b682248946eff0664bbefeba
DIST cfn_lint-1.32.1.tar.gz 2896622 BLAKE2B
2c00467a4f1997fe72f500a339314b5c698a392968978881a11d0982084a6f2ea07ef2ca114a88ca22c99c9ff1748f8a2ba971a1e558df8aa53e2ec6c230c597
SHA512
f81ca1bf437db146d8d533da0f445c46c3bd08dc37b5a7e3d653e0395ae73ecb749b65f944a515331477f5395c856d7e7df9b2e4e41ff22446af142c89039aa3
+DIST cfn_lint-1.32.3.tar.gz 3074127 BLAKE2B
e9b951d2d1193d9fab2e51238ea3ef638ecb9c67f8929deea0b649ffcf064bb0b52bd91da0f0ab8d3a4f2cbc20da2b4913d75068be506d0e08501e717a15c189
SHA512
89a68232a7c5753778f5de559d1dcbaa6677d7f33ee0bbf2feeea65e5d39c606111d3ba8fd79b5245c48ecf57af313b792ebc58546d0ed5eaf58eece055f0a14
diff --git a/dev-python/cfn-lint/cfn-lint-1.32.3.ebuild
b/dev-python/cfn-lint/cfn-lint-1.32.3.ebuild
new file mode 100644
index 000000000000..3d3124e8705a
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.32.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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.95.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/regex-2021.7.1[${PYTHON_USEDEP}]
+ >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
+ >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin the deps
+ sed -e 's:~=[0-9.]*::' -i pyproject.toml || 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
+ # different graphviz version?
+
test/unit/module/template/test_template.py::TestTemplate::test_build_graph
+ )
+
+ # from tox.ini
+ local -x AWS_DEFAULT_REGION=us-east-1
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}