From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 407FE1580E0 for ; Fri, 31 Jan 2025 05:41:04 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2B535343193 for ; Fri, 31 Jan 2025 05:41:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 877AC110476; Fri, 31 Jan 2025 05:40:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7D9EE110475 for ; Fri, 31 Jan 2025 05:40:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B95E34314B for ; Fri, 31 Jan 2025 05:40:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F9882530 for ; Fri, 31 Jan 2025 05:40:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1738297559.2a6ca2313305672b8f0bbc20c7d47b02838f42ca.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-lint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cfn-lint/Manifest dev-python/cfn-lint/cfn-lint-1.23.1.ebuild X-VCS-Directories: dev-python/cfn-lint/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2a6ca2313305672b8f0bbc20c7d47b02838f42ca X-VCS-Branch: master Date: Fri, 31 Jan 2025 05:40:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad5cdb02-e2b0-4d66-8632-f6e72fb93275 X-Archives-Hash: a7f9982bc0bd049eb2513e11091fbdb9 commit: 2a6ca2313305672b8f0bbc20c7d47b02838f42ca Author: Michał Górny gentoo org> AuthorDate: Fri Jan 31 04:25:59 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 31 04:25:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6ca231 dev-python/cfn-lint: Bump to 1.23.1 Signed-off-by: Michał Górny gentoo.org> dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-1.23.1.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index b9a0fca33fa9..869d71374198 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,3 +3,4 @@ DIST cfn_lint-1.22.5.tar.gz 2722622 BLAKE2B 147f1ec4543a2e54c6b6652b439ca4dd870a DIST cfn_lint-1.22.6.tar.gz 2734354 BLAKE2B cda53c8500de713af87c2ad9a1306869c8305cc26389a3e01403d6df0e1a0d4c4014811135712bfa2af54f6333a25c5687c8d5b9c163f4798b394e29a4644622 SHA512 7fddd9ddde5eca7b68e838535ce8a0a0b4d50807467cecb3c51e78736a0c49f85a81608481b7f89b972222b08530b4f29ae8023bf5cdbd70bc79ec27782e9b11 DIST cfn_lint-1.22.7.tar.gz 2735518 BLAKE2B 4357981083d1a32c6be9194552ddb6d2064d8da59b869d617f0047833386232e7fbfede778ad5949a1a10708a1ea166c6bcdfecbaac0e4684e209c812fbde564 SHA512 c079f0b3f7947545ad79d8700833fca1ddc74bc9a224604ced3ab09981e6c363f73a6b214981fbdc16264611213d9a8a41e960de077943a4c407c79af458c551 DIST cfn_lint-1.23.0.tar.gz 2670666 BLAKE2B 20fe7436223400c390a94448c6bbcf7f6dccaad31f0e91ba362d0b149a8d3837458625e10e1bd4d3e78f9b00b888edd27ed91357f488556aac5497f2942a9dd9 SHA512 914c504934268a7ae13ffdfcb36a461aa9697df95f8409a76008a499b1bb201ca58bc0a0256dc327392f5aac9eb5039511faaf65461521c29a1be081151d589b +DIST cfn_lint-1.23.1.tar.gz 2789263 BLAKE2B 7b437de438c7da771f43b656307f30b23ef6c3981f459cc4bdd08f558533deb64d534cd32010212d8841f187ea81cfcaaa08e86c85e21dfb4af976145c16bcc8 SHA512 dd0a6ef52f2fec5169c384c82ca6fcd3a60ebfb12331e60e6fe06e9887b99057f849921bb3d38cf10f1b2590e0362f4b94b0d873bac9a9d4f13a3d868cb2e47c diff --git a/dev-python/cfn-lint/cfn-lint-1.23.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.23.1.ebuild new file mode 100644 index 000000000000..11b35b918d51 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.23.1.ebuild @@ -0,0 +1,70 @@ +# 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_{10..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.94.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=" + 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=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}