From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1564995-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B160115814C for <garchives@archives.gentoo.org>; Tue, 24 Oct 2023 05:27:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0699B2BC01A; Tue, 24 Oct 2023 05:27:17 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D92542BC01A for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 05:27:16 +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 CC708335C52 for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 05:27:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4689912B8 for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 05:27:14 +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: <1698124859.6908cbdd26ec4d00254f1e52c8244425268a1551.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-0.83.0.ebuild X-VCS-Directories: dev-python/cfn-lint/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6908cbdd26ec4d00254f1e52c8244425268a1551 X-VCS-Branch: master Date: Tue, 24 Oct 2023 05:27:14 +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: 99721096-87b1-467a-89a2-945d42bfd7ad X-Archives-Hash: 5912277bef2394b7dfe35dc4f66c8bdd commit: 6908cbdd26ec4d00254f1e52c8244425268a1551 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Oct 24 05:20:59 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Oct 24 05:20:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6908cbdd dev-python/cfn-lint: Bump to 0.83.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-0.83.0.ebuild | 65 ++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index b6d6ee5ca36e..8187d8054c10 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,3 +4,4 @@ DIST cfn-lint-0.81.0.tar.gz 3688759 BLAKE2B 595429d5891b5a4b563645c2b3ba55e8c791 DIST cfn-lint-0.82.0.tar.gz 3714744 BLAKE2B adaf9e7482983f6585d9ae83979d3066533eeb6192019b621e206d144fbbb0ae0bcb9f3f70602d41cc3958218130ecdbc54eeb7f54f645c729cef1eb31bd9aae SHA512 68c90bb34be029c635f0e1caede46560b011d92a149b701fb3e2aa5794462a9e28addd4489e9fde06df110684728a7dbb9c383a37d7510e076a30d5b7d653cd9 DIST cfn-lint-0.82.1.tar.gz 3714778 BLAKE2B b06678e0046ffaf9d90245105303c37d8bdca2b5a3e77dac37969185483a4c60b43de418e75c76fd49f8418eddc2892bec91d0a4fac92831d8840f174f841e9f SHA512 6bbce9cb54db302298df811ca2ebbb7fffe01ad14e31808fb66b257c25606baab9948e31d4bb113e816510a16737a33be5a5e4effc6b6f30c56eb232f8f8ccf6 DIST cfn-lint-0.82.2.tar.gz 3714901 BLAKE2B 76077d606ac645953f71fadf5b096e3a8e4a6e7c71b25af9647e0c155f40790ded2d96af93b959c00641475481758abc7af215cfe1004aeb05c90f3e85210bde SHA512 91f93ffcf39883dfe8bb8e15298bf9bfec4c952762b9fec162107ecf70f5a11c44baa1ea3121db9f710375b3ab5afe11dca7142251ba070835c80accf0e41d9d +DIST cfn-lint-0.83.0.tar.gz 3647099 BLAKE2B e6d5b962d334724983f82edfe837f0251182d22eb4657bffc612f80950c66119573b9c622ed7d257386287a5f0c3905d198989c9ca437db7899b2cccc55c3b71 SHA512 51afa11f742c593cb72ac3b9537605b898496ee7a07fe62f706d3aa87de6369511b92000da01dd967866e5096746303a2d083759c99bdca63d2ef9c670c72ca4 diff --git a/dev-python/cfn-lint/cfn-lint-0.83.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.83.0.ebuild new file mode 100644 index 000000000000..e964ab9f9da6 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.83.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +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 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.77.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/requests-2.15.0[${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}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || 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 + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}