commit:     25fbc6400597f33cf5875a0dd7a6ed7aaf0556ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 04:19:30 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 05:19:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fbc640

dev-python/cfn-lint: Bump to 1.25.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cfn-lint/Manifest               |  1 +
 dev-python/cfn-lint/cfn-lint-1.25.1.ebuild | 70 ++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index ed662bc4f70b..098f8471553d 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,3 +1,4 @@
 DIST cfn_lint-1.22.7.tar.gz 2735518 BLAKE2B 
4357981083d1a32c6be9194552ddb6d2064d8da59b869d617f0047833386232e7fbfede778ad5949a1a10708a1ea166c6bcdfecbaac0e4684e209c812fbde564
 SHA512 
c079f0b3f7947545ad79d8700833fca1ddc74bc9a224604ced3ab09981e6c363f73a6b214981fbdc16264611213d9a8a41e960de077943a4c407c79af458c551
 DIST cfn_lint-1.23.1.tar.gz 2789263 BLAKE2B 
7b437de438c7da771f43b656307f30b23ef6c3981f459cc4bdd08f558533deb64d534cd32010212d8841f187ea81cfcaaa08e86c85e21dfb4af976145c16bcc8
 SHA512 
dd0a6ef52f2fec5169c384c82ca6fcd3a60ebfb12331e60e6fe06e9887b99057f849921bb3d38cf10f1b2590e0362f4b94b0d873bac9a9d4f13a3d868cb2e47c
 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

diff --git a/dev-python/cfn-lint/cfn-lint-1.25.1.ebuild 
b/dev-python/cfn-lint/cfn-lint-1.25.1.ebuild
new file mode 100644
index 000000000000..11b35b918d51
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.25.1.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
+}

Reply via email to