summaryrefslogtreecommitdiff
path: root/dev-python/cfn-lint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-21 00:11:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-21 00:11:18 +0100
commitbed3b604e16fc6075e29f1af8d47507a07035bd3 (patch)
tree1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /dev-python/cfn-lint
parentd6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff)
gentoo auto-resync : 21:06:2024 - 00:11:18
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.3.0.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 74fcca5ffdaa..7aaed8f78b3f 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,8 +2,10 @@ DIST cfn_lint-0.87.3.tar.gz 3963065 BLAKE2B 400532698248204fe2bbf9f29fb374d178cd
DIST cfn_lint-0.87.5.tar.gz 4059125 BLAKE2B 93d1b6ad445628360f62d1d4ceab75af85c1ed8ae9b5ac667f70346e5ddb6e75cac57544f5fb4f1f44d30503041c2259a4cedcd4be343eb7408b6d82a9e2fe9a SHA512 3a1fc8514a9490544190e6f8b9d1333676683ebdafbe040660558f9c2cd3675494ac44979019f1fc57857cb692ee32000e60218a9abb959e686949ff032e6eb9
DIST cfn_lint-0.87.6.tar.gz 4076995 BLAKE2B 57a5d598d2725851d1a59094bda249b32f7426381224cb8c2e6701e5eea92d0aea2984a5dcc6eb1640194e2535c9fd570712d80620c86fb20fcf42938942fd7a SHA512 06f3a51487ec19a4288ebfa87d6c00bd4fc2b3bfc81299c23e3afa7991ac1234e772dd989cf94af21ee3fa7d236fd9d36119e34d6d57f8da0ad304cb754a3326
DIST cfn_lint-0.87.7.tar.gz 4077539 BLAKE2B d7382b8112332821988854f719a2965749b5cb4cda3cbe3d1e7c5851d8b758f4136218ef151bc3983bf94b8e8a3d33989f987bf0162f4dfdaac8333ae798e049 SHA512 8c3f4c840100b407cacfd788722ceb980f8409180f80f76b722cb5efa237444a2d38f8e2e17c5763d9d1adcf9471f57b4d9d58f2a793b0b80f8e0c988820411d
+DIST cfn_lint-1.3.0.tar.gz 2425129 BLAKE2B 7ae63c4c3c1959070ab74fc26751d7ea8b739f6ab5b2fe49a7b000d3239f27d9bf71ddeeedd4cc380dbd603a42a77949c91877428f43de0fd9f1cdac68bfb88f SHA512 a4b9af0ae4d4da276f2239d7efc6e96d0ad37a8133b079d53fe4f82d074e74c251d0791a4a07ac35730192e3bf29a3a2ab86a27a7fff5440f52f18200831ea2f
EBUILD cfn-lint-0.87.3.ebuild 2040 BLAKE2B 836c0e6de223292a40d126bdbfb74ffdda1e8d78740507e7dac410e039ea8f6904f56e93588f3588de7791454768fa2bf75ff60b007e61482a929b0cdf7838ed SHA512 482bb0a57a3ee1ced1a1e39e7f45b588ff5dcc5931b5262c3575390f4b3cd43f3983b8a27884d2049c7e2a5886ede4b42d6610153adfbf4704e60154a415fb98
EBUILD cfn-lint-0.87.5.ebuild 2043 BLAKE2B 02f4a43649563ef965302d40bff0f6b8bed6acffdd2f3aa54670816062f1b5dc3cf26112d8ca31d002acc00f850cf3d19c8b75f948b4bfdeb46bd1d8f45ea568 SHA512 f24a5e9e4fbb1bf94117513d19ff04f2e26cf4da1cc57aebc6ae3da509ec5e4bc3c01ecfc254a1f1b7b1cad6a2aa16ca6c8e0fcb3d33af8fa6e359c1eda60932
EBUILD cfn-lint-0.87.6.ebuild 2043 BLAKE2B 02f4a43649563ef965302d40bff0f6b8bed6acffdd2f3aa54670816062f1b5dc3cf26112d8ca31d002acc00f850cf3d19c8b75f948b4bfdeb46bd1d8f45ea568 SHA512 f24a5e9e4fbb1bf94117513d19ff04f2e26cf4da1cc57aebc6ae3da509ec5e4bc3c01ecfc254a1f1b7b1cad6a2aa16ca6c8e0fcb3d33af8fa6e359c1eda60932
EBUILD cfn-lint-0.87.7.ebuild 2043 BLAKE2B 02f4a43649563ef965302d40bff0f6b8bed6acffdd2f3aa54670816062f1b5dc3cf26112d8ca31d002acc00f850cf3d19c8b75f948b4bfdeb46bd1d8f45ea568 SHA512 f24a5e9e4fbb1bf94117513d19ff04f2e26cf4da1cc57aebc6ae3da509ec5e4bc3c01ecfc254a1f1b7b1cad6a2aa16ca6c8e0fcb3d33af8fa6e359c1eda60932
+EBUILD cfn-lint-1.3.0.ebuild 2110 BLAKE2B ac9b693bc6097b01441e4b90e8112b26b5773a6ffd11c97177b5672250bb3f0755eca45b2943f119e565bcaaf1b64ab179d59157470538b0d350dd96799e978b SHA512 1cb9bb4e70ffbcbac8de8e0a0af9d265553f179e38b303eb3ed848c679e3a47fb6015458dd9746f5328876a715b1bc7f32a38697d9e6433a6909a38c97dbdec4
MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19
diff --git a/dev-python/cfn-lint/cfn-lint-1.3.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.3.0.ebuild
new file mode 100644
index 000000000000..fef826927bf5
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-1.3.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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.89.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}]
+"
+
+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
+}