1 |
commit: 1397eece4183adbe5cbdeb51a449f8d82272ecd2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 6 11:17:03 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 6 12:41:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1397eece |
7 |
|
8 |
dev-python/cfn-lint: Bump to 0.56.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.56.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 2ef7cc40e55..9b2e7485c9f 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.54.3.tar.gz 7806470 BLAKE2B b61cb4b46e7c9d04aa70d2542e2aee0d029cc265ca3b85d9bd1c9ddcf2d22a56b28d74f27d6ccf5348cef7224e1ca9d1efec3e5a7b478e8bb87afcb0d39b3da8 SHA512 40e593f0bf092dafca7d7a801deaf2e09c37f4421d58b9244a2da533c3079da076dab70cb974868fd3eb9300ef69897414b03854f8e8fee139e1f5b4781795fc |
22 |
DIST cfn-lint-0.54.4.tar.gz 7835716 BLAKE2B 1709adda09a08b02f4a2637af1ed2a43c096d8f9eef91b3cfbac55365e0910be64c632e28e403356742396b72a4af6c88740b27d13a67b62b5f5af98c8639e43 SHA512 f31b8fc407adf75b1eb54a29719b39298494efcdba65e68610e28ca1d066dfdb3fa051e8a90fe589793683c01e49d1bab30832255153e8932bd9caca96b54441 |
23 |
+DIST cfn-lint-0.56.0.tar.gz 8069291 BLAKE2B 6a6b0481f857e3360d2abeb372415a43ae59ed54f2c1ef08ea079f32442bea9f30a7222233cfadd398922994bc70aa78e92b8807d7386ca4b979548622d3e5f4 SHA512 f12ca4ba831c32d7c9c8079ed9d59baf6346a2c4a09cf2af0a8b258dc551b381983cb346800b37e6df3022fbb6f09ee186b44bb9ba3e0a2713c8faabce83f67b |
24 |
|
25 |
diff --git a/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8b9a92699eb |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild |
30 |
@@ -0,0 +1,54 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="CloudFormation Linter" |
40 |
+HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz |
43 |
+ -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/aws-sam-translator-1.40.0[${PYTHON_USEDEP}] |
51 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
54 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
55 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ dev-python/mock[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_tests --install pytest |
68 |
+ |
69 |
+EPYTEST_DESELECT=( |
70 |
+ # TODO |
71 |
+ test/unit/module/test_template.py::TestTemplate::test_build_graph |
72 |
+ # requires git repo |
73 |
+ test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs |
74 |
+ # Internet |
75 |
+ test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter |
76 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 |
77 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 |
78 |
+) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ # unpin the deps |
82 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
83 |
+ distutils-r1_src_prepare |
84 |
+} |