diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 28105d9916518..5fd5f85aa8fbc 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -6,3 +6,5 @@ DIST cfn_lint-1.60.0.tar.gz 5161863 BLAKE2B 043c3f410147b19e08e7c063000295a15766 DIST cfn_lint-1.60.0.tar.gz.provenance 10145 BLAKE2B a006ef9eb808d10a50faea1382b0a781cf97e765b7149e9777621afac48ccfe5407c90801c074285fad15deed50fb22d7665675543c775d99ca0453a49a22974 SHA512 a17d7e7ccb79f8d62bfbeec1741bc1cec7842582f689a2635b48f80e76aa1522463858c219ec2884420c3695f90073163332c34a380e246fdd7a47de17baf143 DIST cfn_lint-1.60.1.tar.gz 5185134 BLAKE2B f3d77d23b4078c9388cf4a0ef4fa440a4c41be2e18fdabf6824f6c0b43f6105079e6c5b38861ce68013caada332b888bcff1045c31e9f39add1ee47a638f1e56 SHA512 87e48333225a2c87f9b481351b04511552d48545502292e38ed4f5e348896be2a73ee51d11b846a09c68240b238a3f0f809d5c43eb523c803e91b0ba1da70aea DIST cfn_lint-1.60.1.tar.gz.provenance 10161 BLAKE2B 339436f0b8779f6d80292bc3da184dbc1c12d7da442b9c7d5f69e6cb41f6df8e041899ec9ae0e9d06184cd06e9a2ba344d05bbf9b48b71644b1111495802191a SHA512 4f724e4c94d072365845e1960f8dd940e8f5006ceecf64ade24490a42710a04e8225709dc726af4c800d52a2f28ead792df0039ee669f0a6d938e1280586ab01 +DIST cfn_lint-1.61.0.tar.gz 5243970 BLAKE2B d15fe9444092cf83980ca6d15d6a20f0ba954a4f542baea46329ff25f2e1309841c982184718cd469d885ce9f8b69d22976c2a1dfbc1ec12b8eb59d4579f646a SHA512 565d441e91c515321d896358cd9ad3a8241e070b94aee8b8477209429cd972cb738f66de98c891f050601b250e9c6efc0d9096232c0a68a234ef6ddab6d00f21 +DIST cfn_lint-1.61.0.tar.gz.provenance 9930 BLAKE2B b43e5b98f07dcd7a33fd51c612d4c5e46b1fda2e522e7e41db117d59676de7c66f8f56003bda5af16738765ad27e3d177985847d6bc7a819f46ce9b51d71a3d0 SHA512 fcd8314280bb7efed4a5590ec72551ec97c80aac69ec29725f7bc2cb2de5d09b35f91ded53516e6e8b5a30daf2453ad31a6cf49256554b2b5dd0246758de6ba2 diff --git a/dev-python/cfn-lint/cfn-lint-1.61.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.61.0.ebuild new file mode 100644 index 0000000000000..9f903210dc19e --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.61.0.ebuild @@ -0,0 +1,65 @@ +# 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" + +RDEPEND=" + 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-6.0.3[${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 + # crashes on 3.12+, probably pygraphviz + test/unit/module/test_api.py::TestLintByConfig::test_graph + # upstream maintenance tests + test/unit/module/maintenance/ + # Internet + test/unit/module/schema/test_manager.py::TestUpdateResourceSchemas::test_update_force + # TODO + test/unit/module/template/test_getatts.py::TestGetAtts::test_getatt_resource_with_list + 'test/unit/rules/resources/ssm/test_document.py::test_keyword_registration[A Command document still needs a schemaVersion-resources4-expected4]' + 'test/unit/rules/resources/ssm/test_document.py::test_keyword_registration[Content from a Fn::If validates each branch-resources3-expected3]' + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest test/unit +}