Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-lint/
Date: Wed, 15 Mar 2023 06:53:00
Message-Id: 1678863170.6f0f53fbdaabaebc71d81d0d3b4ed0fa21e6ed2d.mgorny@gentoo
1 commit: 6f0f53fbdaabaebc71d81d0d3b4ed0fa21e6ed2d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 15 06:31:05 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 15 06:52:50 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f0f53fb
7
8 dev-python/cfn-lint: Bump to 0.74.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cfn-lint/Manifest | 1 +
13 dev-python/cfn-lint/cfn-lint-0.74.3.ebuild | 55 ++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
17 index 96303c741ca3..b8e752ae3b98 100644
18 --- a/dev-python/cfn-lint/Manifest
19 +++ b/dev-python/cfn-lint/Manifest
20 @@ -2,3 +2,4 @@ DIST cfn-lint-0.73.2.gh.tar.gz 3343513 BLAKE2B 48ec085ec1d4c6fcee57d44915b657604
21 DIST cfn-lint-0.74.0.gh.tar.gz 3633749 BLAKE2B 68ba32c66a6cc4ddf1260523679565e7074e159c1d63b8e408a40426e0c3e7ec60159075b8dc91bb40d2fbdb8fb5a5fd55c0f70d02c165900a64a0d032285492 SHA512 635621995b74068ec2be9fcda0b710ab975e8aea428317d254fd6e93b2602071b985a6d80c12321b8245c2569b84b6c7c46e4cacfd59f0d0e21926ad6782e2f0
22 DIST cfn-lint-0.74.1.gh.tar.gz 3465800 BLAKE2B eb142f07f8a49fe52d7263ecbd359f6c31d89b8895ce97a816dfe2fd14fec4f82a8da708e0ed43734ae8c5184ba718da32dd517dae3068aac7ee8deeff230fbb SHA512 5b792919553292f40018d968bdb5049e07d95f7ee9e40dded439ed6ef3ab778b64d3b964d075e60c7b513f221e0e5b49fa0daa3a20135b765cdbfe3c495d2fc2
23 DIST cfn-lint-0.74.2.gh.tar.gz 3455745 BLAKE2B 0ca6f9d6e13264180ae2948858acdc3deab0135bfa7ddd16711b49cf7cce651257c7ba26ae155bec091d69aecc33903bd4098f23207aec5d7d414b5b826c7ccf SHA512 9aa918232214f5f0e165bcf8b4e3e7c5aaad1703825befc5347000f7ad143630220fdf9369015d449be4abf593380510b405d04dfe27d6615602c4a725b06681
24 +DIST cfn-lint-0.74.3.gh.tar.gz 3456672 BLAKE2B 9cc68ddefda86ee26e900989e40c7ded067fecb35cf077d559ebcacd6838378028010630e340dd52f04750dcc12094fb800e8e48a4c9e0607645463d3ca55827 SHA512 aad2209fa16f717d20127b2cf47d9aba586b85ccd41caf3ad8a50a6894cc3402d929be4cf9f76530223a3d69d79d843ef0edf802e53984b5c34563cf766f8189
25
26 diff --git a/dev-python/cfn-lint/cfn-lint-0.74.3.ebuild b/dev-python/cfn-lint/cfn-lint-0.74.3.ebuild
27 new file mode 100644
28 index 000000000000..8354055752aa
29 --- /dev/null
30 +++ b/dev-python/cfn-lint/cfn-lint-0.74.3.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{10..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="CloudFormation Linter"
43 +HOMEPAGE="
44 + https://github.com/aws-cloudformation/cfn-lint/
45 + https://pypi.org/project/cfn-lint/
46 +"
47 +# pypi sdist is missing tests, as of 0.74.3
48 +# https://github.com/aws-cloudformation/cfn-lint/pull/2630
49 +SRC_URI="
50 + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
51 + -> ${P}.gh.tar.gz
52 +"
53 +
54 +LICENSE="MIT"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
57 +
58 +RDEPEND="
59 + >=dev-python/aws-sam-translator-1.60.1[${PYTHON_USEDEP}]
60 + dev-python/jsonpatch[${PYTHON_USEDEP}]
61 + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
62 + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
63 + dev-python/junit-xml[${PYTHON_USEDEP}]
64 + <dev-python/networkx-4[${PYTHON_USEDEP}]
65 + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
66 + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
67 + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
68 +"
69 +
70 +distutils_enable_tests pytest
71 +
72 +EPYTEST_DESELECT=(
73 + # TODO
74 + test/unit/module/test_template.py::TestTemplate::test_build_graph
75 + # requires git repo
76 + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
77 + # Internet
78 + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
79 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
80 +)
81 +
82 +src_prepare() {
83 + # unpin the deps
84 + sed -e 's:~=[0-9.]*::' -i setup.py || die
85 + distutils-r1_src_prepare
86 +}