From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1722728-garchives=archives.gentoo.org@lists.gentoo.org> 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 57C091582EF for <garchives@archives.gentoo.org>; Fri, 28 Feb 2025 18:53:06 +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 393293431EE for <garchives@archives.gentoo.org>; Fri, 28 Feb 2025 18:53:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BFBB91102D2; Fri, 28 Feb 2025 18:53:00 +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 B5DF51102D2 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Feb 2025 18:53:00 +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 6CCB03431E6 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Feb 2025 18:53:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C90F7276F for <gentoo-commits@lists.gentoo.org>; Fri, 28 Feb 2025 18:52:58 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1740768762.fb70b4b60f0772fb032950d483d4c50cab70a25b.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.27.0.ebuild X-VCS-Directories: dev-python/cfn-lint/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fb70b4b60f0772fb032950d483d4c50cab70a25b X-VCS-Branch: master Date: Fri, 28 Feb 2025 18:52:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b90d1c82-357c-43d8-9993-32dfc6c912a7 X-Archives-Hash: b0e87873fd46b18819982d9ff9ce0c67 commit: fb70b4b60f0772fb032950d483d4c50cab70a25b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 28 18:18:06 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 28 18:52:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb70b4b6 dev-python/cfn-lint: Bump to 1.27.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-1.27.0.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index f8a60fcf7523..67b23631751e 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,4 @@ DIST cfn_lint-1.24.0.tar.gz 2803280 BLAKE2B b859d41231c915c1a06939c75af91da619cc7c3ed7cd95196e0dc708a460e320eaa312197007e54037601db861b5332bdb27d5bae9a5d603171adf492d89968a SHA512 c9d1984671fbcadc659211d74cdc797924d7a0cffe3baaa284438831fca61b53adfcc615b93e23e946058a9ffc278cc5c088e5c24f2745035f32e9f6cdae24be DIST cfn_lint-1.25.1.tar.gz 2837233 BLAKE2B 0779afe85f8cc1190f24fb9531c576b61a2921be1e725289c164c5113cfffeca6ad984832c0efa10cb6e7dbb78515b24fea3dbb5da3ef4b63765ed80eb1294af SHA512 f623dc24d3a6e3425e9c764498c874afcbc9406a31d8aa4f2c1a0a14e3dd4446584a0524d5a6d016bdcc95810907418b7dda9883d80d9ff2f3ae9385453d428a DIST cfn_lint-1.26.1.tar.gz 2943127 BLAKE2B ca87cf05d0b5ed3774c6c216f856c057bc04b9353f41feb4b1090c7d809685dc65057dab9b1b121fda78488c55bc8da2b3303a25a5047340843723a2e5d3849a SHA512 a8c14275188d64e7ff53d5dd798805a69cf3fc4b13ca9cce19775cd4033b0a0a5815efb9f6900ed8d4116c8877ce62117738098d500373ae6ba3984fe4170ff1 +DIST cfn_lint-1.27.0.tar.gz 3023073 BLAKE2B 5540d44e40810b17ff6cbf699f14f0a80b70376e8ddf2b66e2623a6a29dbbbd76ef55645fb03f167639119ff6fd0584128b808bce210e9b06f9b7cf8e33b6f15 SHA512 be1b4ec9848d927d478130df3cfd1853be694e65999050d524eab90e08cff25f6751c3b83ecdb4e1da5c4ab69d96c57694d857ce39ece0b6b60c628776a7cc6b diff --git a/dev-python/cfn-lint/cfn-lint-1.27.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.27.0.ebuild new file mode 100644 index 000000000000..11b35b918d51 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.27.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-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${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 +}