From 3534cee545ec698b06bc2a6f073645922a01b316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 1 Aug 2025 12:39:12 +0200 Subject: [PATCH] dev-python/cfn-lint: Bump to 1.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-1.38.1.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-python/cfn-lint/cfn-lint-1.38.1.ebuild diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index b32337e3160d3..00003cd972bc9 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.37.2.tar.gz 3105967 BLAKE2B afa47f8c3669b32a6471e6bd438b68407f87f76c1473d848b8bc70474616418505ffcb69f7a35124fc2c5c1b2a5135d2d9ed51f2227b36e753d7a481fbc5b362 SHA512 e5a24a4cc506c287af3229ca86bee6ece335b8b80c7083f9b8c52a79d09c441043b176464e84051d05e135d2e47b11b307531a9ab0b24de98545e9e276697f64 DIST cfn_lint-1.38.0.tar.gz 3131464 BLAKE2B d843617918f16882927c31a92d24cb67b7701787f0398dae7fb0432df7db811946a78144641e60e3b09b049ec04493860841fce415d2ce2be977ae4a6760e2a7 SHA512 a38773533b6d2e8c9df39e2195b6d91a621c2b9e6da1dec5c221ef6d4f52d5f3f52232699395c4d54f00152b23daa22ac2dd44515cb888d1b86b88686f0f9c34 +DIST cfn_lint-1.38.1.tar.gz 3448936 BLAKE2B 40def52bc1b65793a181c0b233f96592959afa8c70b12ca6039f98237db84cabad3e36a1bbd27504d2264859bb1ed4a70f70ae33f0ac43048885555149889275 SHA512 150a142af8ae5c2feb6e7b44c2c9176a5b53035daa5563f76b2de0cf85a249eb7171be261a7f3d64fb7c63d2e632a62863e0d99d88d242ec0e2ba529c8829a63 diff --git a/dev-python/cfn-lint/cfn-lint-1.38.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.38.1.ebuild new file mode 100644 index 0000000000000..ffc56bfdf15f7 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.38.1.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-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${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 +}