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, 01 Jun 2022 07:21:45
Message-Id: 1654068093.9c72ead90050a225fba755666ea03c1282dc2bed.mgorny@gentoo
1 commit: 9c72ead90050a225fba755666ea03c1282dc2bed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 06:37:53 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:21:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c72ead9
7
8 dev-python/cfn-lint: Bump to 0.61.0
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.61.0.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 de2ed1a1a1f9..b68cd6eb9e89 100644
18 --- a/dev-python/cfn-lint/Manifest
19 +++ b/dev-python/cfn-lint/Manifest
20 @@ -2,3 +2,4 @@ DIST cfn-lint-0.59.0.tar.gz 9004743 BLAKE2B e778c1081e45dacc813f8a4ae7726eb929fa
21 DIST cfn-lint-0.59.1.tar.gz 9065067 BLAKE2B 63fc591f7ed60eed2ef7fa1e9ea212e3e8569cfd20dec8bb8505dbfb8e96ee8f8ab6136d88de58b2db8823675946dc99b38adeb3b5c784d165083e1353100b00 SHA512 a08b4bf4dc8e7ab41bb72eb9309ca4f03eed3b6f5c31b3876dc9d08610312377a7c229de883c287e7e5ed6597f8eada79a111882785888e43b0ff20160e39fe0
22 DIST cfn-lint-0.60.0.tar.gz 9127890 BLAKE2B f3e1e99f4657cad13037a74e94cca53548ecfb5bd41c11f8dc82c5fe962d7dc87b7a62aeaa12bc7012a11472736d9026fa51a7e7bc39e67b062a4e8449dd0eb6 SHA512 5eb0ecd51a2d845bad52e2aa7decc6ff7d28d008bc63aa1419ba122bca6df56b5689cb91e669384ca98418537bd36e460f19fb9dfd96e718260d29e228ea824e
23 DIST cfn-lint-0.60.1.tar.gz 9144208 BLAKE2B ff0cc155aee6fb0c72a3011a5fbaf147158d23ab8ed11426a9fc922971019cb276b74ca4e8972ddc2dbab7b1239ddb00b1d7a60281763a9773157b97ce5a8105 SHA512 8d023773a82b0b8486431e438d298e80812726d197017aafd925d6d9aa8272db99dc594f1b8f7582843ffaa9d421d6d9300f80c3bb6e932e705ae019d1cd8e21
24 +DIST cfn-lint-0.61.0.gh.tar.gz 9252192 BLAKE2B 08a5a8648e6de27eb86629bf27fd2a40700eaa84b101c2003a2acda61b48a6ec2795dbce4dcfaa9e42664c75ab932c9cd84836d7b61bc438a586203502123d9a SHA512 3e70e5ccdc2a9909cddf9a289c5ed0d292580ecc236a1d64088fdb9ecce913814de88739ddb5b6bde5b4091e0e1efca86860157fde6e6f94e992503e4c1f83be
25
26 diff --git a/dev-python/cfn-lint/cfn-lint-0.61.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.61.0.ebuild
27 new file mode 100644
28 index 000000000000..8ec456de9b4f
29 --- /dev/null
30 +++ b/dev-python/cfn-lint/cfn-lint-0.61.0.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..10} )
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.45.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 +}