summaryrefslogtreecommitdiff
path: root/dev-python/cfn-lint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-04 11:51:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-04 11:51:15 +0100
commit713e25c0c3d1e5434ac60ec0549708ec2f744bb4 (patch)
tree9e9281ff07875c667fb3bf223166de68137f4635 /dev-python/cfn-lint
parent08b4047e14c989cfb931eff95973837f54ccc9e1 (diff)
gentoo auto-resync : 04:10:2023 - 11:51:15
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.80.4.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 3841fbd83ca2..79cf29096442 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,8 +2,10 @@ DIST cfn-lint-0.79.11.tar.gz 3701364 BLAKE2B 434b342a638a241accacd3686b52642737b
DIST cfn-lint-0.79.9.tar.gz 3699097 BLAKE2B d85d520b2bbba0c61766716bbc3222ce5cfd6cb467f215c7914a3996682ac86c5feb11ff01f946641cba0cafb7c1a7cf1a081a76f37dd3daa0e03a4a59b35d7c SHA512 ad11ad76cf48a4c1661ef2b627fcf3c9eed08183a6c4401df826c75818f77d7878332ad2915ebc6dcf833eb15f886124fb15d83b46e9e1add88f911edf30db11
DIST cfn-lint-0.80.2.tar.gz 3738744 BLAKE2B 2de27228f303b37c005a6d947e5d4b9cfc940a2a7c7686956f8e7ac2e17d9a94104af7f43731c8defee643c5ed6cba8c24044af55db8462dd734442ae0637532 SHA512 c4ab580498a6de918fbac12786db461897068cccbb87d04d90f91e10befcf8e9190a8c165ee13ff137575d6a1e7b0999506c4fe9caa45c5e1123a23bb24fea24
DIST cfn-lint-0.80.3.tar.gz 3685775 BLAKE2B 3b8d233e64d2060b124eb560aa963c3ae06a53a68f0e2ad1e7824a4b136ba0bb3ab2c7a3b5bcd72e3350531672cd1da4b98ad8bd1348b6efc80a8adce7e276a8 SHA512 d5afd13db145200d4ca9679a41436b48e92e391db2c5a9f60feffbe735a3ef013b11f2d2bdee4fa04da862b99cabf5a4aa62648418ce68eeddc9dff0f95235c1
+DIST cfn-lint-0.80.4.tar.gz 3657880 BLAKE2B 8507c2381bfb7e7f796eb8fbc505bbda48bdb217d9357063289d66307140914dce7d40de8851b0459e6f6154bc3e09d4d0e30da5e1f1cdcf0fad6e8f8b00f3d3 SHA512 a09954b014d2cf677b97012b2635345f94cefbe227f4040eed80aad5ee602daa2542a636295a4c90ad60bcf4e8eb9015a5b9de75c72ffcb903a6ec460a22267e
EBUILD cfn-lint-0.79.11.ebuild 2052 BLAKE2B 4b7ead4cfd2fa2efb1ac8a8d3790311f9f12b074db1638bc81e7a777e18ed7d12f7a21828091e229089fea936388bc452db587da5ab7012d721bbede508b1704 SHA512 6566cf696ab039174b2eb084b54d4cd5f56dcc2c7d60a37cc7a9fc864bd29da7d3cd8f3fd6a38a6c3caf12bf2d160fbe2079b39f05e80ed80d38d8b3527e054a
EBUILD cfn-lint-0.79.9.ebuild 2039 BLAKE2B 5213baefb06f5d2b9d96a6a13ec484ea8bedc39b5cd68c028f75239f415dda4c1a322f17861865759d627b4011ea8814a04061d275d954086bb4e8fa5b5e5552 SHA512 b86295f1ae7723dc7ace2c7bad4b77b634b84e86cdf5484478347c2b2ba6ac0fa802c23a9269ab6976ecd556d17a480da325af78fc0bcb248a28b86ad366f5b2
EBUILD cfn-lint-0.80.2.ebuild 2068 BLAKE2B 9c1980d65cce4e1343db0d4c3e8bb488f4a6790f1b45aa4f4e68ba117a8b2257ac44c722ba77d8ba1fe5582513d829b7ab7df19b466e04041323c933681abe5d SHA512 0cee2a5e229063d39ecd2fb276e7a1b046e6f27801c5c4408c58973b54f073060b53834e20c08937abd8c8a1352b935977ac811efd26615b0af5e603de7d8433
EBUILD cfn-lint-0.80.3.ebuild 2068 BLAKE2B 9c1980d65cce4e1343db0d4c3e8bb488f4a6790f1b45aa4f4e68ba117a8b2257ac44c722ba77d8ba1fe5582513d829b7ab7df19b466e04041323c933681abe5d SHA512 0cee2a5e229063d39ecd2fb276e7a1b046e6f27801c5c4408c58973b54f073060b53834e20c08937abd8c8a1352b935977ac811efd26615b0af5e603de7d8433
+EBUILD cfn-lint-0.80.4.ebuild 2068 BLAKE2B 9c1980d65cce4e1343db0d4c3e8bb488f4a6790f1b45aa4f4e68ba117a8b2257ac44c722ba77d8ba1fe5582513d829b7ab7df19b466e04041323c933681abe5d SHA512 0cee2a5e229063d39ecd2fb276e7a1b046e6f27801c5c4408c58973b54f073060b53834e20c08937abd8c8a1352b935977ac811efd26615b0af5e603de7d8433
MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19
diff --git a/dev-python/cfn-lint/cfn-lint-0.80.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.80.4.ebuild
new file mode 100644
index 000000000000..0cd40b7db3d1
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.80.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+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 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/aws-sam-translator-1.73.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
+}