dev-python/cfn-lint: Bump to 1.52.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-30 05:50:41 +02:00
parent ece38c7437
commit 1865a67e80
2 changed files with 66 additions and 0 deletions

View File

@@ -10,3 +10,5 @@ DIST cfn_lint-1.51.5.tar.gz 4114038 BLAKE2B 21932e73fdc81b2d8485ccb06dc7e527951a
DIST cfn_lint-1.51.5.tar.gz.provenance 10032 BLAKE2B 9e5830cdbb37342a07349ae71816a93abf1e943f91c836cfef6ceb39cf1b735373530b68418b0501488c92e338b493a09028e365fd6aed048ccc0e4958a6e863 SHA512 ca84d91a9860a2d4967fa431a134c92ed65e2bf304ed0b7b54763c04bcde16f5873baef0a3ce550bb58e5d308259660f62acaa0768ba494e7860f16e35a288ec
DIST cfn_lint-1.52.0.tar.gz 4466061 BLAKE2B 3524c753fd259dec2d014a9b3cf5ffd488eef15118e7ce1cd42a41ba9f02f97e2af635aab602cb3a3c909be097ec102eb128941adde8b32d3c371f5284056f78 SHA512 26a0a4f0b6f43683adc147d3426c627ec05300874b9af9243cdee64c2b317ca2e6110b3c6237b45d72f4f70eb913a44d0208018f6eb4b88846f90dc39ddb5a9f
DIST cfn_lint-1.52.0.tar.gz.provenance 10142 BLAKE2B e240509d51e71b46efc855b25968120e775d18ae92b595bbf5e0c940a721a6d2272d02ff78c1df4c5940469e77bdbe5f33202e7ad475edf5a61e4332cc7db4ff SHA512 a5d37fbb823dd5ccdc509eb8291bc25db628ce48b503c71bd759de55d810986153aeee7fcd5b827cb16cd1662a24f7ea233cd2346528fba665485266692d843f
DIST cfn_lint-1.52.1.tar.gz 4487553 BLAKE2B 7424bb7e2f02d9c825db9c2dcbd0b7601baee7fd828b32458c8f18b12b97a1d0f2752ffbb16c7d4b779b488d2b86521864561cfa51122b489342463e277c7fe7 SHA512 3d10dd41165708b2c27d7aa75d2177e270ebd3da92543b17f164e12e3b07dd188cb781fcc73be272741cdb9f4dae95ec01bf699c62f6f62b800495c90d52dc44
DIST cfn_lint-1.52.1.tar.gz.provenance 10005 BLAKE2B 9745d99328ace70220263a5298f41d95f49d192fbef8130a4052681af0a06e18d57e25ad7922e4f93a535fd9b2ead070eb3b7f652a870c74d8a60e84bad3aea7 SHA512 166ff9ec2ceef4fa4bcb8b9b152a8423e976d9192bb3c7cb1621c620bbfdda4949ef3780b802fae278078853776eef47ef0b53ed39f571962b9cb54b6d64a356

View File

@@ -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..14} )
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.110.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-6.0.3[${PYTHON_USEDEP}]
>=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
>=dev-python/sympy-1.14.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
}