dev-python/cfn-lint: Bump to 1.41.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-19 05:07:42 +01:00
parent a723490a14
commit 3d3565a77d
2 changed files with 62 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
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

View File

@@ -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
}