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: Fri, 25 Feb 2022 23:41:30
Message-Id: 1645829157.a32bd0b9b05d2053e0dc88bf6b338ab615d6f232.mgorny@gentoo
1 commit: a32bd0b9b05d2053e0dc88bf6b338ab615d6f232
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 25 22:45:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 25 22:45:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32bd0b9
7
8 dev-python/cfn-lint: Bump to 0.58.2
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.58.2.ebuild | 51 ++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
17 index 231c5689eb72..d7cb58070aa0 100644
18 --- a/dev-python/cfn-lint/Manifest
19 +++ b/dev-python/cfn-lint/Manifest
20 @@ -1,2 +1,3 @@
21 DIST cfn-lint-0.58.0.tar.gz 8645209 BLAKE2B b198c8e6a56095782ab5fbd70f1f5872d951da133ee7056ef468e5d1cd0ba1a7831ebd4263248ec2cec04980211e01cf3525e18f8ad272d6b1aaeee07527028d SHA512 238929a79d25b6a5945fd43f29fa3c432c650923634495c2ace7e3f6ace0c7701bcc278ea151a9172691bd04164f8a7b409dd8387e82e5917a9f65e1a556a4d2
22 DIST cfn-lint-0.58.1.tar.gz 8711246 BLAKE2B 28655e076f3bdee358b1a1bb61170b176d0c90ab04ae43f1892798a239d0fd92e5dd939433a263321da02b349b9299e4f4916ccc5091df081a8b6fdf2aa0e050 SHA512 06bb38462c1cb7d4da8159eba6fa1ff05de8849bc4374a7df799d41a1f023eb38c75636956616cdc0e45a800f870bd0694575d9773b6dff91aaf2dfdbfe45169
23 +DIST cfn-lint-0.58.2.tar.gz 8780583 BLAKE2B 8675ab1658b2ad75fc2be550eaf8bee8e6fd93389168cf2c127fed4e77a68aa849a5f3b2dbd6296d449fce538d69926dd108684c78dcd959483c56b9a44c35b7 SHA512 fe7adbb7b78ca8a978be447e29debb45d8bd26e822dff6872c4b8c6e6f5363b7d734e7105d89326af60bbeba6411f0e60bf798fd638ef8652ce109285e5f864d
24
25 diff --git a/dev-python/cfn-lint/cfn-lint-0.58.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.58.2.ebuild
26 new file mode 100644
27 index 000000000000..b8ea9d7827e1
28 --- /dev/null
29 +++ b/dev-python/cfn-lint/cfn-lint-0.58.2.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="CloudFormation Linter"
42 +HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/"
43 +SRC_URI="
44 + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
45 + -> ${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
50 +
51 +RDEPEND="
52 + >=dev-python/aws-sam-translator-1.42.0[${PYTHON_USEDEP}]
53 + dev-python/jsonpatch[${PYTHON_USEDEP}]
54 + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
55 + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
56 + dev-python/junit-xml[${PYTHON_USEDEP}]
57 + dev-python/networkx[${PYTHON_USEDEP}]
58 + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
59 + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
60 + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
61 + >=dev-python/six-1.11[${PYTHON_USEDEP}]
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +EPYTEST_DESELECT=(
67 + # TODO
68 + test/unit/module/test_template.py::TestTemplate::test_build_graph
69 + # requires git repo
70 + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
71 + # Internet
72 + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
73 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2
74 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
75 +)
76 +
77 +src_prepare() {
78 + # unpin the deps
79 + sed -e 's:~=[0-9.]*::' -i setup.py || die
80 + distutils-r1_src_prepare
81 +}