From 29f4d2bddfd61f5d953ccf4bffae8a13b82fe218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 13 Jun 2025 05:25:12 +0200 Subject: [PATCH] dev-python/cfn-lint: Bump to 1.36.0 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.36.0.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-python/cfn-lint/cfn-lint-1.36.0.ebuild diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 03f3c37f15f8..4bb49dfb02ef 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.35.3.tar.gz 3105179 BLAKE2B a1bd9ea3dee0f4ee6ddf88a4572e0900ac099274bf75f37e54a56a6c5d102e9f1d91a14518be38b03a37257999ff3c9539c4a8f08a5042a1689e862259266d50 SHA512 bdd0188bcd7dd327e6a72c60dcc8535643750c3762632e09bb851c62f520b38518d76e0566686f8fe5766beff147abd5eccd94db34701bef5d149e84954a3a48 DIST cfn_lint-1.35.4.tar.gz 2981501 BLAKE2B 51fd51b194e19a0bebd72efadfd81c633f86c3017efaf08b262c83b36228548b53835aae0f17e2617ed7ec8a4cd87886f33d3ad01c935b26dde58273eee37dc4 SHA512 67442deda9d3ab8556cb35def0b3b26286d986f17f7fd07080b1752575790bda18ea65ac3ac66be3086cc1762d773fa499f31c26a9d4b75cde2c7c91471fbcd4 +DIST cfn_lint-1.36.0.tar.gz 3085599 BLAKE2B 5f482ab9c4682c11471fb66edb2caa262f7a2c61037c60139ffa610c5d0f40a3c37a32db992e37d3ead6593cbc9a8dba9576400043cbe02c7c64d457dfcbbb76 SHA512 3140ea79beeb61411f7e432476009356b67ad64fdaa1ca2d4c4f6965a1630886b9ec6e95f96afe237ebd486abb061c348c0ab224457d04a7a17d529733514a32 diff --git a/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild new file mode 100644 index 000000000000..9da77fa174d3 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.36.0.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}] + ) +" + +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 +}