diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-04 02:07:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-04 02:07:22 +0000 |
commit | 38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (patch) | |
tree | 9416e00c684e43c1731a2189865034d568f2a20f /dev-python/cfn-lint | |
parent | 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (diff) |
gentoo auto-resync : 04:12:2024 - 02:07:22
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.20.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 898757bf6462..3b7567106406 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,7 +1,9 @@ DIST cfn_lint-1.18.4.tar.gz 2788919 BLAKE2B c9815d61450d6afa6f054a305b90ceb14a2dd72206834fb64c8e51017cbcf02843dc83e909d1db0dfb183d7f059909a9b794e886745bbe48cac42dcf2c109150 SHA512 fc8ed928fa83d262000c141805734c788559f2ed7ad7b1b989771069cd8972c04dba67a8c4823cceb35ad70db19e28c5f36093cf42f86b232f35eeba8585c89b DIST cfn_lint-1.20.0.tar.gz 2879582 BLAKE2B da387ad8c8f7425c37106976a9dafe205206559971d847b897e245e283b3cd13179e7033b3e32e0b764b75b1b3d10d23764f84700d4e857fe727a3681b1ff1b2 SHA512 724d1f6ac67d9c1f975f8716d1df1a5ee9f8674a1f3851dad3ad0f5bead8226212012aa3d258ce1cb477904fea6c91c59f6b28291fd846de80fa1c7b3ea1d90f DIST cfn_lint-1.20.1.tar.gz 2799223 BLAKE2B 3accc016e5ce688e5e9200247b8d8361c6e367a60c3e8d3de38db079cc6516b50ce6acd773185f89b68b9302ace88eaaf380dbe564b12b43e7b5721509c4e70a SHA512 75d19d65b562737121a4bdca430f177e80a10f685f4cda78c0189ac26fd8bba3c5eee090e8ebd2146f08dbc47d9c24783dce6d89de1ae2712cb2f831e235599e +DIST cfn_lint-1.20.2.tar.gz 2734631 BLAKE2B 1935793ad1438f5fc4f217390541b476192ab68a6d1614d7322eca1981b7d3712d85c090394eec2e8d2f2c15bb3798a148987613a3fe71fdc4355a57bf31a836 SHA512 e327e703cd96cd1d4d9342525cdccde3f11373ad5624a6a6b9ba16f76fa1b12be83b8f6a5118c0ceb947dada7a5bd30f8bf6434f4e61cbfc8bfa0dd8cf49ece9 EBUILD cfn-lint-1.18.4.ebuild 2173 BLAKE2B 5e4c47efdb2519007e70bb5a736e25ef396631a967b23f6057e450a31358b2bf16fc3d85a30259dd2414e85a185784504b6d330a6568edccb8880d230fb81327 SHA512 da3c99f559c87c3b50c75a2055b1ca0fecc2eaf12f9601460efb853a31569aa081668ae2f300b4f0f1bb551dccba1c1b65bed2aa1cb60bbfbc09295d75cec3fb EBUILD cfn-lint-1.20.0.ebuild 2176 BLAKE2B d191ba7a19be828f631d910755b559e67f6e38a291ec96980d7f0c003067e36127441058e6e83879bee41de6bea41607f86261cfe73f52a4fa65249a48bfc8e6 SHA512 1c7c87566a88231b012ad28cc8a17a7ec461a9c116a96e98f78a3eca20cc3665550b0ca972e1cdf30a282b12d9824654840f75a98c6838c3ef3d885cd8b9de9f EBUILD cfn-lint-1.20.1.ebuild 2176 BLAKE2B 28b88c9ae355fd14f63ccc77c73ef3a65d729d1398b527f16e967ecc2663deded8d0aaa9afb0e927f593c9824dee11b12c7e3ce2528b817a444f78c2c709dfb3 SHA512 52b2d004755bd395df58c55efb9c847c661f069f0981eb82bbefffc74751b85b76989b25dd1c094c80ed591a9c59f7ad4ce53a293aa611c0ff232545dc7659d5 +EBUILD cfn-lint-1.20.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.20.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.20.2.ebuild new file mode 100644 index 000000000000..55b02df4cc9d --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.20.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 +} |