summaryrefslogtreecommitdiff
path: root/dev-python/cfn-lint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-30 00:07:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-30 00:07:18 +0100
commit0e2a727aba684f1a44cc0402a3f77d242140681b (patch)
treead462b91afc9d7f8d76e3c51331517fddd6b25c2 /dev-python/cfn-lint
parent5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (diff)
gentoo auto-resync : 30:05:2024 - 00:07: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-0.87.4.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 74f431f7a86b..a621e4a969e8 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,8 +2,10 @@ DIST cfn_lint-0.86.4.tar.gz 3911739 BLAKE2B ea2d58abb78b466371b5a65cda2f5fd06f31
DIST cfn_lint-0.87.1.tar.gz 3997592 BLAKE2B 058de8badb0b37bda16e5239a2d9aa3727804bc9bd1b308cf9225c4b650eb6d0ad184025eee9e32ac9909db429641a8c928695be9c1a0cf587cffbf4f50dcba2 SHA512 3143d23738de9435c63b1f7f6f8abcea9fa235e45c885f15869a18a67089421094f77b5f4dd472f354f2901595bf1d0c2ef66f5605ff5ebc1ebbdbdca181d6bf
DIST cfn_lint-0.87.2.tar.gz 3963369 BLAKE2B e1238db45fa2856ed1becdbaeccd2bd7aab3c0c3f54e3bd13cdad27d20c0c9e0c85a232121f63b152554f95066cf24119b9e2c02d0402d673ed5d7eefc8565ed SHA512 b0503138d7ca939003b472ce0e35ae0f0c3aa9550cc889e28a709856051d059c619c2ac5d47735ce0702cb975949d6ea64aff6c2b5168738ccf8afbcf950801d
DIST cfn_lint-0.87.3.tar.gz 3963065 BLAKE2B 400532698248204fe2bbf9f29fb374d178cd4a8b168dcb681b284da0d5d7be17cd28292b8f37a7c600936b96a56e90d925e5e0d88f062f5c8a7821f0ffe43528 SHA512 b23ed7259907da993469b4b2a6cfb6a5b8f1bc9186d65e8392ccf628b8b37fe7a0bde6d5d57ca6924d738770367e67245f13abce4777fa88945316569eb59b4b
+DIST cfn_lint-0.87.4.tar.gz 3971540 BLAKE2B 75fda8093cb10dd289966fa3732f9e1572d3bdda4aad6431d3982eecf8c09e98d404d49aa607ae3928a8c87b93608d06c1ad83f75de6edbfbd35362827f1b699 SHA512 75298ad1577297d885af7afb7c2828215d4261069346aa1231fbfbf5cb6b4bf32cdeabdbbfeae7a4ddd3cca162ab977075abf8588e5a241ed952f3ff3f5d85f6
EBUILD cfn-lint-0.86.4.ebuild 2040 BLAKE2B 836c0e6de223292a40d126bdbfb74ffdda1e8d78740507e7dac410e039ea8f6904f56e93588f3588de7791454768fa2bf75ff60b007e61482a929b0cdf7838ed SHA512 482bb0a57a3ee1ced1a1e39e7f45b588ff5dcc5931b5262c3575390f4b3cd43f3983b8a27884d2049c7e2a5886ede4b42d6610153adfbf4704e60154a415fb98
EBUILD cfn-lint-0.87.1.ebuild 2043 BLAKE2B bbb6e0d8f802fb5c2ae5ac2e0b14bd8869110d43bbd3e9fb8a9afcf9cb3195e13e2c21e3a54cd483d28368324ddba56b2bbcbac94bcd7ffdb24502e255243957 SHA512 060dc5e56fa85d2f258c7df816050c33cae4d9ecb96980f4167d887f270f661d0ded03b0723c06ef83018460bdacc6417eba3677cd945982b595a78ca0f451cc
EBUILD cfn-lint-0.87.2.ebuild 2043 BLAKE2B bbb6e0d8f802fb5c2ae5ac2e0b14bd8869110d43bbd3e9fb8a9afcf9cb3195e13e2c21e3a54cd483d28368324ddba56b2bbcbac94bcd7ffdb24502e255243957 SHA512 060dc5e56fa85d2f258c7df816050c33cae4d9ecb96980f4167d887f270f661d0ded03b0723c06ef83018460bdacc6417eba3677cd945982b595a78ca0f451cc
EBUILD cfn-lint-0.87.3.ebuild 2043 BLAKE2B bbb6e0d8f802fb5c2ae5ac2e0b14bd8869110d43bbd3e9fb8a9afcf9cb3195e13e2c21e3a54cd483d28368324ddba56b2bbcbac94bcd7ffdb24502e255243957 SHA512 060dc5e56fa85d2f258c7df816050c33cae4d9ecb96980f4167d887f270f661d0ded03b0723c06ef83018460bdacc6417eba3677cd945982b595a78ca0f451cc
+EBUILD cfn-lint-0.87.4.ebuild 2043 BLAKE2B 02f4a43649563ef965302d40bff0f6b8bed6acffdd2f3aa54670816062f1b5dc3cf26112d8ca31d002acc00f850cf3d19c8b75f948b4bfdeb46bd1d8f45ea568 SHA512 f24a5e9e4fbb1bf94117513d19ff04f2e26cf4da1cc57aebc6ae3da509ec5e4bc3c01ecfc254a1f1b7b1cad6a2aa16ca6c8e0fcb3d33af8fa6e359c1eda60932
MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19
diff --git a/dev-python/cfn-lint/cfn-lint-0.87.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.87.4.ebuild
new file mode 100644
index 000000000000..1965af60837c
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.87.4.ebuild
@@ -0,0 +1,64 @@
+# 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/requests-2.15.0[${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 setup.py || 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
+ )
+
+ # from tox.ini
+ local -x AWS_DEFAULT_REGION=us-east-1
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}