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 14CED1584F2 for ; Thu, 20 Mar 2025 18:17:57 +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 A721C34346B for ; Thu, 20 Mar 2025 18:17:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 232E41104AE; Thu, 20 Mar 2025 18:17:50 +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 16D9E1104AE for ; Thu, 20 Mar 2025 18:17:50 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96DB0343444 for ; Thu, 20 Mar 2025 18:17:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC24F281D for ; Thu, 20 Mar 2025 18:17:47 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1742494657.dae3623e9b39f78e5144b0864e5f39de21fc3db4.arthurzam@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.32.0.ebuild X-VCS-Directories: dev-python/cfn-lint/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: dae3623e9b39f78e5144b0864e5f39de21fc3db4 X-VCS-Branch: master Date: Thu, 20 Mar 2025 18:17:47 +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: c605e00c-1d40-4c76-a83d-bd645261202e X-Archives-Hash: 2fae9e426003c1214ff2e040c3ca3343 commit: dae3623e9b39f78e5144b0864e5f39de21fc3db4 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Mar 20 17:51:06 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Mar 20 18:17:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae3623e dev-python/cfn-lint: add 1.32.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-1.32.0.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 3e8ef108edae..3b6c7e4777d3 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,3 +4,4 @@ DIST cfn_lint-1.29.1.tar.gz 2829516 BLAKE2B a624ed18ffe214dafccf807cd71de3ca5285 DIST cfn_lint-1.30.0.tar.gz 2832092 BLAKE2B 0d69bc3702447828c5a03662d00f62e1ee421a554354dc3e754ed509108d0f5ef031e4e256de51476bb4904bba34089ac263203bd688d3c27fff050655b5a35a SHA512 0a8819b5ca691a308622a1a394d19c633c06253f3b8a480a95c12dfcebb94220f0464f11e51ee9719f2d00d097520226d9c2ab6b8944ff0b00e117de21d458d9 DIST cfn_lint-1.31.1.tar.gz 2855924 BLAKE2B 753c23cb4f45e17e9a2f5215f819d63a0cf330d4677bf89adce9da3cf3eea0ecbc7c192520747b1ffdbd830891fb5a6ffbc181d1bc924fe4f105c597a96969e8 SHA512 cf75ef2b8b9e24be00aa334604e2dbbe312e6cd45a527ecd8a150c7bf93f477258c606f86f87c815901182b2b2921fa23d47e5bade368e8bc3099024dc0e1d0f DIST cfn_lint-1.31.3.tar.gz 2856311 BLAKE2B 46c7dee3b3a70f59675dd3879604a0860b99b193ce37e11b05f60bb08d1f3e97da7887b8d13be48d5721826ca46f5bdca61945b8d2fc6558d9290eec5257fa64 SHA512 4d63d3d529b292125be9b139ebc73ae75024e61afa0928afd6f73f573aaadd9cb1e359cf4bc61aa245c05de86406b9894bca1519b682248946eff0664bbefeba +DIST cfn_lint-1.32.0.tar.gz 2893829 BLAKE2B 0a52741f0148965ba421865790608d19db03b54512a780758f823a448cd8b7f096b3188232a47227446764fc3c42df4f907c7b3addae07f86c879d5878a76674 SHA512 c687b76cb5a0bfa03b42630e736e3e92748582a56983c5d8e5163656d8ee84474cb5b29482c0a7d76e95a75546ac4ca4520e98f52a5a5528c1b0b2b6ee62ae5b diff --git a/dev-python/cfn-lint/cfn-lint-1.32.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.32.0.ebuild new file mode 100644 index 000000000000..3d3124e8705a --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.32.0.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.95.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 +}