diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-10 05:51:04 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-10 05:51:04 +0200 |
| commit | d2e47fa0c844c5fb0bc721df1e73ba92b76ee1cf (patch) | |
| tree | 17ab59e10004a2fb0c6414a4856bea0fa286503a | |
| parent | b5b4941b8aab712ab966669c32febe40ba71fcc0 (diff) | |
| download | gentoo-d2e47fa0c844c5fb0bc721df1e73ba92b76ee1cf.tar.gz gentoo-d2e47fa0c844c5fb0bc721df1e73ba92b76ee1cf.tar.bz2 gentoo-d2e47fa0c844c5fb0bc721df1e73ba92b76ee1cf.zip | |
dev-python/cfn-lint: Bump to 1.40.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
| -rw-r--r-- | dev-python/cfn-lint/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cfn-lint/cfn-lint-1.40.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 1f0c4758f47a..1cb3b8857519 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.39.1.tar.gz 3250565 BLAKE2B 8cae83fc090a5208e24d85270085fe7ab271838decf8e8c6914679ef2c8693f1067814f0656264bf47b8a214689862eec6f0524c9dc6bb8803cb167ed9db166d SHA512 d2c3246acde134ae840552f1202d2f8a4033fc22e7eae3ac7bd53c151294b36396c2611f3e75c86b083d0a9d00e13f9c148ceef921cbd3dd59820abdf6140333 DIST cfn_lint-1.40.0.tar.gz 3359732 BLAKE2B adcefc474df4c05558acf69892daf8335cca39b979221cdec82de9e7b58409b1c9e980bfd1becb65b3a84fd41933ec5ece2199c698b3987499694758a9289a82 SHA512 0da2b29ab549c4422b5c2cc0c51d54308f9dd7990061e39654fa3a08c75c63e44e36b133e292757f1bb13121003791cb33409c404ec201da8718421da89a0d4f +DIST cfn_lint-1.40.1.tar.gz 3321409 BLAKE2B 1e220b53f2bebc78dafb5b1edc84a078e59e33391f8534a8fa6e9d17c41dbc14ef10db9554cc743aca68354f2f09d16a11753255a0250cf8c85d0ff21b860acc SHA512 b1e74debb054ffdd149af632fc776bb912235a0d95681f878144e51b35732f4debf6193db1c7e9c5539cd899aac0cdd312da21ad9cf75e471cffadb9609ca307 diff --git a/dev-python/cfn-lint/cfn-lint-1.40.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.40.1.ebuild new file mode 100644 index 000000000000..ffc56bfdf15f --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.40.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..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.97.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=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +} |
