diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 16ad036376a4f..24ab4a7db25cf 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,3 +3,5 @@ DIST cfn_lint-1.48.1.tar.gz 3735412 BLAKE2B 5922239a4d380b7a1ab049ada1e3eaa259cd DIST cfn_lint-1.48.1.tar.gz.provenance 9674 BLAKE2B 57cfbe292b4d2564e0cbd21920dc62cd42345383ae6af3cd2ae79cb90925846872aa5d77c9044a7faeec0128c38d451d689a301fd39e89356ce0dd8dd167247c SHA512 60bbba274ea6269daa5aeba59cf1f5c628cecc83e265a581eea54455c420a414ea02a55eff05dfdd5a406dcc9d25e0d7be63cefe2062d6cc10b025caa5fb16f1 DIST cfn_lint-1.49.3.tar.gz 4037038 BLAKE2B 621ac3cb97d5924e1b29c75924f89a3942b7f9d22b0b31f78656315b789b3dbefe3806a84f6b09f9b130878549c16e65f50e5b13194c92f11f1c09430bbf649b SHA512 fd73a6ad9bc03d657f98e33796fdc52ea7d1766e7dfc325b4da1304bceccfb75a5092123735c7a0a1c1a2203665915a6ebae0066efb019a184aed31619d009c0 DIST cfn_lint-1.49.3.tar.gz.provenance 9768 BLAKE2B fc1c6756840e9ae9862c80cd6854a788ffe4a7e35724121fb1c5aaab38bc1d9be23b66b35cbcb14490e55ee75a39459cd542545d9c543f5bdd53776d8d81c1ed SHA512 acd61ba2f218a51b4ad078465b02a684d8a2903d440450a8a6b9844e28daf64182f887d06734cf7fea433a4c17920ef3236b3e305625fc8a2666cda84e7bc403 +DIST cfn_lint-1.50.0.tar.gz 4063399 BLAKE2B 6182121e00285a7eceaf57ab4dd301770b92ad92e2619b0b4b548920e4746857e5455eef1caee536247cc0976a00f266cd237b98be8adfc165166afb0160253a SHA512 d7403236c4647a4791c2aab643ff77fa819b505204011ed8940b8881719c873354448ce0759c1750be5c87ca63baec7a7cddcf3ccbef03dbd60d32cb08739d41 +DIST cfn_lint-1.50.0.tar.gz.provenance 9956 BLAKE2B 800d31ae2167926124ac9247bd8d3b7b9d2d15241edb713127aa5d098cfdf1422ccb16374e18fc99e335514b6a7f2c30f96c9caaf7b536c9f8c927399b586851 SHA512 123e97669b6ed4429d2bd30b5f890ffa5900698ab6b01f37928ef40cd4152d5957f0ba8ac9beee0defed561526110613786c1362d18c2145726bffbe19822ca8 diff --git a/dev-python/cfn-lint/cfn-lint-1.50.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.50.0.ebuild new file mode 100644 index 0000000000000..190223b8dec01 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.50.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint +PYTHON_COMPAT=( python3_{12..14} ) + +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.109.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.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + # crashes on 3.12+, probably pygraphviz + test/unit/module/test_api.py::TestLintByConfig::test_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +}