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, 22 Sep 2022 07:40:58
Message-Id: 1663832441.7f720828e012dbe38b9fb679027e329a7bfa36f4.mgorny@gentoo
1 commit: 7f720828e012dbe38b9fb679027e329a7bfa36f4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 06:34:19 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 07:40:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f720828
7
8 dev-python/cfn-lint: Bump to 0.65.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.65.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 435824a2e40b..f14d4a7e5de6 100644
18 --- a/dev-python/cfn-lint/Manifest
19 +++ b/dev-python/cfn-lint/Manifest
20 @@ -2,3 +2,4 @@ DIST cfn-lint-0.62.0.gh.tar.gz 9610430 BLAKE2B fdeed685abab1bb701698b02ba961d046
21 DIST cfn-lint-0.63.2.gh.tar.gz 9672817 BLAKE2B dcd445c2372bf044bc4eab4b33056d2113914cdeeb1a2b376643cc4bbb3d92dcfdaaf2e6aa5f0d0473be00b42ecea0eda2a5ae3fa493d4e648be12db81b9d9e7 SHA512 d9bff0c43f7c2b710536fb7212e3d78d3827d7838ef8246767625c3de1a2ee0e5056df42b6b94e0efd7e7b2933d477a9962e0e3d53a78a3cca774fd52706a330
22 DIST cfn-lint-0.64.1.gh.tar.gz 9792758 BLAKE2B 95bc86fa41c17498575abfd4eb7e16d9e8a8dfc36d4304aa216890773e52d1e43f4deb178f2bd69c8edc445a417ca37ef53069ac9d398ccf27e3b9a6d90ee8c9 SHA512 edd7296e74db943c6ae818c2ae8f5220c4d8834eb7858c474e38f7852c1a7839b89ba949c105a3d2044f4b952e56fdc9e7a08493ed74e06b29ec9c0ea0b48a6a
23 DIST cfn-lint-0.65.0.gh.tar.gz 9807118 BLAKE2B abafc4fac788ba0af80359997b92cd60089472dee51952fc3029485a87be8e8fb9deb1599610471216ee8da103f7198808f9122727182005140c527672a921f8 SHA512 68eeb18914fb92cdacea9f80d4564937eba92b645f62a3fc22e874001554837ac3107741d4134cc8b1d880eaca38a560a92631c6ae3dfb2c412ad6fcb3f91cab
24 +DIST cfn-lint-0.65.1.gh.tar.gz 9670213 BLAKE2B 22a627dc417f8df76fef9228eb4139210f693b0f5723e70f0dcb3651a18c921e8f174b8c97709016b2c184f3e12e03e49ad7e7a720415ad5cb820aecdfba4616 SHA512 391db28d47caa5cb66f3994944766f9ba6a0500ac5c8c474cef0a60e44236aedde7bceefb78cbc48cef3109ddf9206960a212df3ebdf7eb82b84940ca7202b7c
25
26 diff --git a/dev-python/cfn-lint/cfn-lint-0.65.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.65.1.ebuild
27 new file mode 100644
28 index 000000000000..d9b9960e1574
29 --- /dev/null
30 +++ b/dev-python/cfn-lint/cfn-lint-0.65.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..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.51.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 +}