1 |
commit: 1ce46bd541028a1003211c08f19b03165b32316f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 31 22:31:46 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 23:46:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce46bd5 |
7 |
|
8 |
dev-python/cfn-lint: Bump to 0.58.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.58.0.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 c0ee18d44e7f..0f1b4ebb3f60 100644 |
18 |
--- a/dev-python/cfn-lint/Manifest |
19 |
+++ b/dev-python/cfn-lint/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST cfn-lint-0.56.3.tar.gz 8278034 BLAKE2B 894d30add7a193d256dc2195c0cd1d4b75f10f60abe9e37c5b0bdd84178d9559759326ad3e55d2321b99588094b436dc2dc8dff1cc561ae56dd4cee98d6b43bd SHA512 8aeaf44a626f9bfc05ebeefc8aec9211fcac1a65de681d5d700f3621631bff15e74ed644b9d0dc8af4d9b0b14802c2259dbc4ccf38594705040f5fd3af1cf482 |
22 |
DIST cfn-lint-0.56.4.tar.gz 8550039 BLAKE2B 99efd99b423e068717f3050e4da444436463c16b0a55dfc36ca7ca45b1136d08bbce84441c8c4170eff7c82cbd4ecf87b6f78504b1d09d850d803a7e957903c9 SHA512 b7c94d85d58f9e44ff8d5575bb33c8c7fafcb908afe144d585765f02d645436d6583ecc802f0fa376597b75c72ada9a23862141cf1170c1ac1f64f2467d346fb |
23 |
DIST cfn-lint-0.57.0.tar.gz 8579636 BLAKE2B 5e9cadcbd695b1047c4cf51132fcdf5a254a89fcd89a86e3c5d86096e8cd376f7f02422757f7daaf98490ff82df88933a976faba1ea6504a463ed7c485c83631 SHA512 11ec66bc5a98c928e059778462766100fb47f4b45a4cc7023d3d2b70ae664a1b199ec4df0d95cb9ada5a09a1f7a609fcec7d76339b3d9d6430bbe85462e1c020 |
24 |
+DIST cfn-lint-0.58.0.tar.gz 8645209 BLAKE2B b198c8e6a56095782ab5fbd70f1f5872d951da133ee7056ef468e5d1cd0ba1a7831ebd4263248ec2cec04980211e01cf3525e18f8ad272d6b1aaeee07527028d SHA512 238929a79d25b6a5945fd43f29fa3c432c650923634495c2ace7e3f6ace0c7701bcc278ea151a9172691bd04164f8a7b409dd8387e82e5917a9f65e1a556a4d2 |
25 |
|
26 |
diff --git a/dev-python/cfn-lint/cfn-lint-0.58.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.58.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..b8ea9d7827e1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cfn-lint/cfn-lint-0.58.0.ebuild |
31 |
@@ -0,0 +1,51 @@ |
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="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz |
46 |
+ -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/aws-sam-translator-1.42.0[${PYTHON_USEDEP}] |
54 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
57 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
58 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
59 |
+ >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+EPYTEST_DESELECT=( |
68 |
+ # TODO |
69 |
+ test/unit/module/test_template.py::TestTemplate::test_build_graph |
70 |
+ # requires git repo |
71 |
+ test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs |
72 |
+ # Internet |
73 |
+ test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter |
74 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 |
75 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 |
76 |
+) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ # unpin the deps |
80 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
81 |
+ distutils-r1_src_prepare |
82 |
+} |