summaryrefslogtreecommitdiff
path: root/dev-python/cfn-lint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-10 06:41:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-10 06:41:31 +0000
commitf9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 (patch)
treed8962e6446d606b8c95329b4b78932a65f928a5f /dev-python/cfn-lint
parentd94fef9a5708b8e64f363f4a71f0b56caef5efe4 (diff)
gentoo auto-resync : 10:01:2025 - 06:41:30
Diffstat (limited to 'dev-python/cfn-lint')
-rw-r--r--dev-python/cfn-lint/Manifest2
-rw-r--r--dev-python/cfn-lint/cfn-lint-1.22.4.ebuild70
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index aa2ec382b823..f07efc7ab018 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,7 +1,9 @@
DIST cfn_lint-1.21.0.tar.gz 2747268 BLAKE2B 580fffc95d5829374f1dda111e2cc805639a463514112cabe0e34b6f53344991819f81b8246adb9fe3ee8fe59ee5db9000befead7a21ce85694bac248589a72a SHA512 2091f02a30ee22313db52094e9f54e5978eca69aa0c0cc96e1e39cae720f04165b4ff2aa0f01419c5327f149d5bd5ab16c4ba9b2af0a8f42b1a1872991a6e4da
DIST cfn_lint-1.22.2.tar.gz 2848845 BLAKE2B 4f9194e019c1dae1d373b8432693be9463a668e5db522c7a23adcfaf04c591e49d0d1dc4853323f32fdb0d2c8db1c9e7a0bf6cddf652541bb057cfc3525ed53e SHA512 8e80892692e4458591f9863ad43af8bd8c5fbe2e554c75dda3029ac73a5a04987238221d50a3d2597dc0195dd049f36f9fcdc2b917c68b9a4d6807b4e8bf411c
DIST cfn_lint-1.22.3.tar.gz 2700564 BLAKE2B d1bfed3fda2d5133919396a54257ad484c3c7fd50b1a387e94eff404f9b8175135f0f39455bc45b69c8112e2f2c57eb055d7b2c879415bdc4abfdad74b7bb34f SHA512 45502d913488784ff8e355a24317cce42fc7df39b3afd80b8fc170c9c5b7e6191f3ff41a460e8bb0277d1c21483aef8addb41d60fe2e8e5d13058aa85fefcc84
+DIST cfn_lint-1.22.4.tar.gz 2707627 BLAKE2B 348dbbc46e1e7be9041ccd64e3f9a6409e7276533c275e2329b94c5dc63ba13a49955c1912447326cd79eba2ea1c4eb8941a4552de25d493b2594ef8d4910333 SHA512 01c2a581fd02ecc553dd1e95741eda174a7290aeabbe91a8f0da96bd77276aa134c627b78f60a7c18085252d16fa8a1fc0067faad78e59c623924a3bcaa0166a
EBUILD cfn-lint-1.21.0.ebuild 2173 BLAKE2B 2ed2f5148efb9035079158b085d3fb3f6cd70cc5bee26f5dc789a331cfa90b9f930a8f162cb1277dfb537637ad5a2e2724baa8cfa93837c20d5843cc84b664be SHA512 1a68f5b1b8f6bbf0e560add2698b6a4155bd9e40bb68d58186487c90d214f8e23257fbd7c36f94154b40ca2b6b7b55fa5c57072d371238029c13ae7c04a38a7f
EBUILD cfn-lint-1.22.2.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5
EBUILD cfn-lint-1.22.3.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5
+EBUILD cfn-lint-1.22.4.ebuild 2176 BLAKE2B 5a8d1aff8959104114cce624b38fb1cd77a19f890f444f747a5e79e2925b933e4454c06b4580669c8b91b71a352f3b083b981a362ea41e8c8908cbdcaba0f9e5 SHA512 da493f200f8720b8d5b9f73ca41f5d959497cac8e62e9889493d378ad5d8ea40e35cf5414e748a82a351f6b46581f8a8df34508fb67f6fa14309975cedaf5424
MISC metadata.xml 478 BLAKE2B 79b8a28c1df2fd10729d91d38794aed81db55cbfba57be5999163d2daffa66e8558b71af1b282e3ce059374605ca51b4e367a4f027cbab8caad628610c48bd59 SHA512 b77b106f37ef48af4c9acc81a935b2780156f32017d23becab65aadfe3cb930986186775a8f129b6d997b0b6171ede2906ce1080d44fa87e7533a06621eeb85c
diff --git a/dev-python/cfn-lint/cfn-lint-1.22.4.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.4.ebuild
new file mode 100644
index 000000000000..11b35b918d51
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.22.4.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
+}