commit: 460a55fea6aebe8674ee5dd5a422a6f84ce263ba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 1 02:37:13 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 1 03:11:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460a55fe
dev-python/cfn-lint: Bump to 1.42.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cfn-lint/Manifest | 1 +
dev-python/cfn-lint/cfn-lint-1.42.0.ebuild | 61 ++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 889e16f2f5c9..542d841ddf9e 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,3 +1,4 @@
DIST cfn_lint-1.39.1.tar.gz 3250565 BLAKE2B
8cae83fc090a5208e24d85270085fe7ab271838decf8e8c6914679ef2c8693f1067814f0656264bf47b8a214689862eec6f0524c9dc6bb8803cb167ed9db166d
SHA512
d2c3246acde134ae840552f1202d2f8a4033fc22e7eae3ac7bd53c151294b36396c2611f3e75c86b083d0a9d00e13f9c148ceef921cbd3dd59820abdf6140333
DIST cfn_lint-1.40.4.tar.gz 3401228 BLAKE2B
940ce635b1d52e286cb70d8caa3e6a6974000549494616587de910062ea812fbed5b2cc37af316cfd2f02975eb28ccc13402f46e3ce47677ceb48e1a265f0300
SHA512
8996b9cdaa0dd02211a2d745de94fb2896756632135f95fc9f90eebfae3209504b7b8358ddf00711f6ee37458995a87575e21d4fbd707e443c3a1df13125ef66
DIST cfn_lint-1.41.0.tar.gz 3408534 BLAKE2B
281ac2561055366f11f5167140bbd71305a0dbb11235b8191e439665c64c2bf44fa0c2268c1924f689341dc44385a6c630ead0a0ae845e8e5478f1e66a8e818a
SHA512
e3be612d3db6662650625e4393261241080f7cc5ba60405fbea39ceb6b15fec973ea5bcd7b2b188bf3276b4e61c5bd11df8fe9cc2f2ab903e395f5f13586da62
+DIST cfn_lint-1.42.0.tar.gz 3589426 BLAKE2B
6d172ebffd868af5db0b5313de792c4f093eb96c13777c4495f9e9cd4c364313da897ed77f8bb9b005543b9f4020c8fc88f751b4c86e7dbb329b2deee7a5ab12
SHA512
93ec7b5ea8833f8f77eabc537363e13f6457720e6fe658ab4a4fbf4c5a851bf50b54d55bf9e0986a91634b7786e76bb8332a9a2888c13d06f35a4079db277fe7
diff --git a/dev-python/cfn-lint/cfn-lint-1.42.0.ebuild
b/dev-python/cfn-lint/cfn-lint-1.42.0.ebuild
new file mode 100644
index 000000000000..ffc56bfdf15f
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.42.0.ebuild
@@ -0,0 +1,61 @@
+# 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_{11..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.97.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="
+ >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}]
+ test? (
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # different line wrapping somehow
+
test/unit/module/template/test_template.py::TestTemplate::test_build_graph
+ # requires git repo
+
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
+ # TODO: suddenly started failing in older versions too
+ # https://github.com/aws-cloudformation/cfn-lint/issues/4207
+ test/integration/test_good_templates.py
+
test/unit/module/override/test_exclude.py::TestExclude::test_success_run
+ test/unit/module/test_api.py::TestLintFile::test_good_template
+
test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run
+ )
+
+ # from tox.ini
+ local -x AWS_DEFAULT_REGION=us-east-1
+ epytest
+}