dev-python/cfn-lint: Bump to 1.49.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-21 07:23:12 +02:00
parent 0744a07bea
commit 261acaa7df
2 changed files with 66 additions and 0 deletions
+2
View File
@@ -5,3 +5,5 @@ DIST cfn_lint-1.48.0.tar.gz 3732246 BLAKE2B 9ca71a4deb691beaab14a3704326d17d9dcd
DIST cfn_lint-1.48.0.tar.gz.provenance 9678 BLAKE2B 764559893896a2e2687224bb5dc872a4251df7b2d60b1702670ec84302a6fc03e49d3900cb98f5b683dcb05ae166ecb58abee87787d9afa80fcaf6a8b85afb5e SHA512 0a69980543bcd6d8b22adf543fbc87593faa5713493aa5001685a760b281d045def35e74cbf6c91a3631c8c562461b72b7a474b1129071f8360903fa8fd719c2
DIST cfn_lint-1.48.1.tar.gz 3735412 BLAKE2B 5922239a4d380b7a1ab049ada1e3eaa259cd459d06e8da6fdd3db76ab9ed22cde6aa9d3375ccfd9abd80a05ad14c996b11bc16be84047ddeca87edff16a372f5 SHA512 657fe5b3f1d2e00171abf0d5ccbff2a8515458eab94d50280aca4d434356fe015808291eff31c2c7b8f01fd9caa2ef02d4a2d8d769dde141cf97438c29c0b669
DIST cfn_lint-1.48.1.tar.gz.provenance 9674 BLAKE2B 57cfbe292b4d2564e0cbd21920dc62cd42345383ae6af3cd2ae79cb90925846872aa5d77c9044a7faeec0128c38d451d689a301fd39e89356ce0dd8dd167247c SHA512 60bbba274ea6269daa5aeba59cf1f5c628cecc83e265a581eea54455c420a414ea02a55eff05dfdd5a406dcc9d25e0d7be63cefe2062d6cc10b025caa5fb16f1
DIST cfn_lint-1.49.0.tar.gz 4027042 BLAKE2B bf8e751c1c793ca0b9330bc0995852da4676e206e5f04a196a2464e5380a16babca20688e14661dd7c511a630c9edfa4b1237a178560f2ae5b59321340962d73 SHA512 67176fe40b4c77fdfe0ffa9cbc838889d033d14054a9e5f45000e8b1e49a35dbc5976e19f5b4019dd9eb781d74b3933c968fe643ce91f56c67fd7ff87c18f554
DIST cfn_lint-1.49.0.tar.gz.provenance 9752 BLAKE2B 810c13a861f45a8d90378ba7af8d29737c8626bb0f8349a21b61f4c613db039770b447b3c265203d850e9dbc34302004c889d3845974e38fe350bfac808b9e7c SHA512 4ff8d9ea3039f72902dbba2d919ff1daf93182bf4c3e5b9866fdc9ad7bca96c78fb8adb00e91e6c0826b765fa3a267fc9ecb1514eafd74120d10fdfb1f14f88b
@@ -0,0 +1,64 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint
PYTHON_COMPAT=( python3_{12..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.109.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
# crashes on 3.12+, probably pygraphviz
test/unit/module/test_api.py::TestLintByConfig::test_graph
)
# from tox.ini
local -x AWS_DEFAULT_REGION=us-east-1
epytest
}