commit: 408005f365322f49d300535272234cf305121c1a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 03:58:12 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 03:58:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408005f3
dev-python/cfn-lint: Bump to 1.34.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cfn-lint/Manifest | 1 +
dev-python/cfn-lint/cfn-lint-1.34.2.ebuild | 61 ++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 97fd2765e59d..20e8a76947b3 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,3 +2,4 @@ DIST cfn_lint-1.32.4.tar.gz 3090585 BLAKE2B
348c0a4326bcd8a7c0c0230d6090774b3001
DIST cfn_lint-1.33.2.tar.gz 3163304 BLAKE2B
f61d6a55e1fe2edd3229d6e9281b6267b3231afea43376d0ef2046ed941ef1c910c56e1af05b9eec08c8f0bec87fcddc95757a2433e1c46b2c8863280bebae2a
SHA512
d935009da692e5003461d9c9f806733d17de426e0598a33a53470d3ee6c8a194c735b542bd346e9b33d462a71a6043f6ae1f8e9ff55cff3b6b942d2f1f49913c
DIST cfn_lint-1.34.0.tar.gz 3150863 BLAKE2B
83c43e72113cfabc9f3548077fd899dd9f6fd484b9d19d7b10a4a3b1176686715330153d6aaa0d07d681b879f2ce465cfd4da27fdb5104e4f5169ec62b8e6be2
SHA512
89225300054046cbff821d109bddc889b558d3e29d6c6fca619b18083072ebb4ea4e6c0e473b50273b949eab37ae9bf74d08c49610cd0ce39ad40fcbe106f049
DIST cfn_lint-1.34.1.tar.gz 3192324 BLAKE2B
ce9d082f9d20f2bd54a178ead36d82d9c84f8802db453256399059acd6aa1ed86b11cd02a45c4da401d586db514434ef57978be961e4f533d672c015865cbab3
SHA512
2cb598419f8a8f083c11899eeb20be759f198411d932aba20b717c6c0bbd42be28196387c02b633bb1625b9d6c1a6aff4177709f261aaf161b7281646d83b78e
+DIST cfn_lint-1.34.2.tar.gz 3180262 BLAKE2B
0e92964da1d661e5a37f9f4c65c46b7eabdf9a23df1cbeeba96e072347b9be32b8067e72179e51ff83fbf8fa5cf810a409fe1819f3c124189a83e0bd9d147e0a
SHA512
46d738319c3e0227fa0996e102e753929bf2bd6916136fe1879d757e64cc83554eca9fd1934dba89602301e42854af9f229bf4d41a118e2dea895553cf556b6e
diff --git a/dev-python/cfn-lint/cfn-lint-1.34.2.ebuild
b/dev-python/cfn-lint/cfn-lint-1.34.2.ebuild
new file mode 100644
index 000000000000..ae676d2b2a74
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.34.2.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_{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.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}]
+ )
+"
+
+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=(
+ # 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
+ )
+
+ # from tox.ini
+ local -x AWS_DEFAULT_REGION=us-east-1
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}