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 8CEDB1584F2 for ; Thu, 13 Mar 2025 20:04:21 +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 7AC6F3431C0 for ; Thu, 13 Mar 2025 20:04:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DB7E1110473; Thu, 13 Mar 2025 20:03:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D2DFB110473 for ; Thu, 13 Mar 2025 20:03:57 +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 86C203430E6 for ; Thu, 13 Mar 2025 20:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCE9028E0 for ; Thu, 13 Mar 2025 20:03:54 +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: <1741896218.8f1a72a37aac6edbcad38c7e343ad72fdcc5780f.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.30.0.ebuild X-VCS-Directories: dev-python/cfn-lint/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 8f1a72a37aac6edbcad38c7e343ad72fdcc5780f X-VCS-Branch: master Date: Thu, 13 Mar 2025 20:03:54 +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: 3ed28cc4-004a-4098-91f8-2f9d7489aff3 X-Archives-Hash: fc2afc3a87e249ba3bb5250c219808e2 commit: 8f1a72a37aac6edbcad38c7e343ad72fdcc5780f Author: Arthur Zamarin gentoo org> AuthorDate: Thu Mar 13 19:57:21 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Mar 13 20:03:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1a72a3 dev-python/cfn-lint: add 1.30.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-1.30.0.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 8a4d3b6a23de..906fd65ed361 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,3 +4,4 @@ DIST cfn_lint-1.26.1.tar.gz 2943127 BLAKE2B ca87cf05d0b5ed3774c6c216f856c057bc04 DIST cfn_lint-1.27.0.tar.gz 3023073 BLAKE2B 5540d44e40810b17ff6cbf699f14f0a80b70376e8ddf2b66e2623a6a29dbbbd76ef55645fb03f167639119ff6fd0584128b808bce210e9b06f9b7cf8e33b6f15 SHA512 be1b4ec9848d927d478130df3cfd1853be694e65999050d524eab90e08cff25f6751c3b83ecdb4e1da5c4ab69d96c57694d857ce39ece0b6b60c628776a7cc6b DIST cfn_lint-1.28.0.tar.gz 3162534 BLAKE2B 120831c39c09419744c048d8c5d4ba8978ae50fe873841e3ab4bea82a83965bd5d7b9c2ccf1895e7fc981d4acc982827cd4a8af352ccdc6ecdab8dbf62396783 SHA512 69325f028beb6ddb05db144f2409575bdf4cc17efe9ee5c4a221aa82e09cafd6e97521398fbd52e5b797e67aedc3581d6455523490e23cd88d01e7af62436dd7 DIST cfn_lint-1.29.1.tar.gz 2829516 BLAKE2B a624ed18ffe214dafccf807cd71de3ca5285224d090ba1becbca76e541261061843153142487f48000530b8ab5818b434f8ffb8e131d8ad8d345d3590e5f9767 SHA512 bbf4cac928bd419b75b93e9d049d14bc36dd46a599fd497296aa47c8818462b74897716009689b7512454172257499142b18dc4af65e9f0bf011a2af45116ade +DIST cfn_lint-1.30.0.tar.gz 2832092 BLAKE2B 0d69bc3702447828c5a03662d00f62e1ee421a554354dc3e754ed509108d0f5ef031e4e256de51476bb4904bba34089ac263203bd688d3c27fff050655b5a35a SHA512 0a8819b5ca691a308622a1a394d19c633c06253f3b8a480a95c12dfcebb94220f0464f11e51ee9719f2d00d097520226d9c2ab6b8944ff0b00e117de21d458d9 diff --git a/dev-python/cfn-lint/cfn-lint-1.30.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.30.0.ebuild new file mode 100644 index 000000000000..11b35b918d51 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.30.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.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 +}