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: Thu, 03 Nov 2022 05:33:05
Message-Id: 1667453573.3eebbca9e82c22bc44ec79dc6fd28b22b11f4292.mgorny@gentoo
1 commit: 3eebbca9e82c22bc44ec79dc6fd28b22b11f4292
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 04:26:25 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 05:32:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eebbca9
7
8 dev-python/cfn-lint: Bump to 0.70.1
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.70.1.ebuild | 54 ++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
17 index 4f7db06ccd0d..fe7b146b8402 100644
18 --- a/dev-python/cfn-lint/Manifest
19 +++ b/dev-python/cfn-lint/Manifest
20 @@ -3,3 +3,4 @@ DIST cfn-lint-0.68.1.gh.tar.gz 9858724 BLAKE2B 469a23daa717add95140913d85861df44
21 DIST cfn-lint-0.69.0.gh.tar.gz 9862506 BLAKE2B 68e6e5e93d7f07bda3eedda71d79943ef97fd0c2e972f475380f7943f88d843effa8cd23b4534bcf4ce0918ca7a634ecf32cef7c309711f9dbc6f899324f3f97 SHA512 9972fb1be897451116e269245d7302af31a53e54c1615daa65bd6b71b9a0ff3f62c1068d86c239510737ac95a6ab3ba2746838792680f701a404008f35857c64
22 DIST cfn-lint-0.69.1.gh.tar.gz 9871037 BLAKE2B a6c4d1b3b892eee01231771dfbe7831737f8f6f89cf096a4ea0c1b945aa47574a51938d4b8ecdd7e3c2cd18df87ba343c07f3e379b49b78b07d7ec676f12e0d1 SHA512 1823485a0d2273a6a1c6632944a095bc4f9b7999f4e0dc81a47cb8673a3d02f822865b08ca3dfcf518b38a9c68a0f0bc5c3235904aca5ce94919ec627b9c3ddc
23 DIST cfn-lint-0.70.0.gh.tar.gz 9891445 BLAKE2B 6cdacffb2c3649203046339d088d3e41a4280197a5b23ef5b7cb837d93de62760dbe78a2b92800f11606f3e723f6c9c93d7d08e1379541a1bbbdfc302ae76633 SHA512 456acc59b30b4e4546d07426a7218b7ef2716412c82b12a9f419550d4916121fd0874dfca1725436305309165bb05875c27410a5bdf82ba462157022dc3feed1
24 +DIST cfn-lint-0.70.1.gh.tar.gz 9891593 BLAKE2B 2ee4ba8d688c3888e11e1df52ab26f554f7d13a2f46bc56b5f0d3de7912e8cd99432e7dc174f0072966fd6a586718abe5e9ab11797c5a24480ee508f8819a7df SHA512 c2566ffadf5935b8dfd38eb690f406466aef4d1e0793691547479673bc2519acd8bd5b42ecfb666736c81e9cf3254601542b0a7d4b5257ca626e6e3b194c64da
25
26 diff --git a/dev-python/cfn-lint/cfn-lint-0.70.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.70.1.ebuild
27 new file mode 100644
28 index 000000000000..0916420e1790
29 --- /dev/null
30 +++ b/dev-python/cfn-lint/cfn-lint-0.70.1.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2022 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_{8..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 +SRC_URI="
48 + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
55 +
56 +RDEPEND="
57 + >=dev-python/aws-sam-translator-1.53.0[${PYTHON_USEDEP}]
58 + dev-python/jsonpatch[${PYTHON_USEDEP}]
59 + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
60 + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
61 + dev-python/junit-xml[${PYTHON_USEDEP}]
62 + dev-python/networkx[${PYTHON_USEDEP}]
63 + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
64 + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
65 + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
66 +"
67 +
68 +distutils_enable_tests pytest
69 +
70 +EPYTEST_DESELECT=(
71 + # TODO
72 + test/unit/module/test_template.py::TestTemplate::test_build_graph
73 + # requires git repo
74 + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
75 + # Internet
76 + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
77 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2
78 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
79 +)
80 +
81 +src_prepare() {
82 + # unpin the deps
83 + sed -e 's:~=[0-9.]*::' -i setup.py || die
84 + distutils-r1_src_prepare
85 +}