diff options
Diffstat (limited to 'dev-python/cfn-lint')
-rw-r--r-- | dev-python/cfn-lint/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cfn-lint/cfn-lint-1.22.2.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 45a5cf1a0d7e..5c3a8603a491 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,9 +3,11 @@ DIST cfn_lint-1.20.2.tar.gz 2734631 BLAKE2B 1935793ad1438f5fc4f217390541b476192a DIST cfn_lint-1.21.0.tar.gz 2747268 BLAKE2B 580fffc95d5829374f1dda111e2cc805639a463514112cabe0e34b6f53344991819f81b8246adb9fe3ee8fe59ee5db9000befead7a21ce85694bac248589a72a SHA512 2091f02a30ee22313db52094e9f54e5978eca69aa0c0cc96e1e39cae720f04165b4ff2aa0f01419c5327f149d5bd5ab16c4ba9b2af0a8f42b1a1872991a6e4da DIST cfn_lint-1.22.0.tar.gz 2744603 BLAKE2B f4ae73ce051e8bb25fcacc4f258bb687266696622bf9f6cf80246cab7618ae289d9b2bd8da565c9696195c383fc0fc78419fa5e9018675cb81afe77ae9855c94 SHA512 54ae5143a94a5afcd38620568b16d899dd7784c99581202a54650bdfde86fe7564bbf320d9b47875df5b5fd94aa9e6fa2a01f847651c45e1396a203cbd8b4d10 DIST cfn_lint-1.22.1.tar.gz 2878378 BLAKE2B e6af99e633574dac718604ead301cb1728273b6c5a29dc8ab8d75b759696181f826d9e17fb53e0779d990952411a3549df0d94e1fcf3c452a116d484bcb4f5b9 SHA512 0b339bd68b6033c60c289fd2456650e9a87d4b574ddaa52aaa40d48e0bd82862b05bd8656ecb4dbd647a0ca2c2181e3d8704e12deeda7a69c6488fda9e801652 +DIST cfn_lint-1.22.2.tar.gz 2848845 BLAKE2B 4f9194e019c1dae1d373b8432693be9463a668e5db522c7a23adcfaf04c591e49d0d1dc4853323f32fdb0d2c8db1c9e7a0bf6cddf652541bb057cfc3525ed53e SHA512 8e80892692e4458591f9863ad43af8bd8c5fbe2e554c75dda3029ac73a5a04987238221d50a3d2597dc0195dd049f36f9fcdc2b917c68b9a4d6807b4e8bf411c EBUILD cfn-lint-1.18.4.ebuild 2173 BLAKE2B 5e4c47efdb2519007e70bb5a736e25ef396631a967b23f6057e450a31358b2bf16fc3d85a30259dd2414e85a185784504b6d330a6568edccb8880d230fb81327 SHA512 da3c99f559c87c3b50c75a2055b1ca0fecc2eaf12f9601460efb853a31569aa081668ae2f300b4f0f1bb551dccba1c1b65bed2aa1cb60bbfbc09295d75cec3fb EBUILD cfn-lint-1.20.2.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 EBUILD cfn-lint-1.21.0.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 EBUILD cfn-lint-1.22.0.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 EBUILD cfn-lint-1.22.1.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 +EBUILD cfn-lint-1.22.2.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.22.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.2.ebuild new file mode 100644 index 000000000000..55b02df4cc9d --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.22.2.ebuild @@ -0,0 +1,70 @@ +# 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..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 +} |