1 |
commit: 474e86b4555b584691bb487562466d31cba6efce |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 19:10:51 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 19:15:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474e86b4 |
7 |
|
8 |
dev-python/cfn-lint: add 0.59.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/cfn-lint/Manifest | 1 + |
13 |
dev-python/cfn-lint/cfn-lint-0.59.1.ebuild | 50 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest |
17 |
index 33077eec9fe8..dda121f4c921 100644 |
18 |
--- a/dev-python/cfn-lint/Manifest |
19 |
+++ b/dev-python/cfn-lint/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cfn-lint-0.59.0.tar.gz 9004743 BLAKE2B e778c1081e45dacc813f8a4ae7726eb929fabcdbfaafcbbc5f0d925cfe32773851366c9488363728ae42349cbe899a6cacd114940ee8d76dc284b30ea87fe19a SHA512 e8e9d0fb1f366c49f8a008000a808ec4b6c4299ff3c9650229619d8e48f1812709ecd54274163d8bd389c6823f20accd7d31f6147bec926ec233ede3ee51ee10 |
22 |
+DIST cfn-lint-0.59.1.tar.gz 9065067 BLAKE2B 63fc591f7ed60eed2ef7fa1e9ea212e3e8569cfd20dec8bb8505dbfb8e96ee8f8ab6136d88de58b2db8823675946dc99b38adeb3b5c784d165083e1353100b00 SHA512 a08b4bf4dc8e7ab41bb72eb9309ca4f03eed3b6f5c31b3876dc9d08610312377a7c229de883c287e7e5ed6597f8eada79a111882785888e43b0ff20160e39fe0 |
23 |
|
24 |
diff --git a/dev-python/cfn-lint/cfn-lint-0.59.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.59.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f3316978d184 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cfn-lint/cfn-lint-0.59.1.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="CloudFormation Linter" |
41 |
+HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz |
44 |
+ -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/aws-sam-translator-1.45.0[${PYTHON_USEDEP}] |
52 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
55 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
56 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
57 |
+ >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+EPYTEST_DESELECT=( |
65 |
+ # TODO |
66 |
+ test/unit/module/test_template.py::TestTemplate::test_build_graph |
67 |
+ # requires git repo |
68 |
+ test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs |
69 |
+ # Internet |
70 |
+ test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter |
71 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 |
72 |
+ test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 |
73 |
+) |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ # unpin the deps |
77 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
78 |
+ distutils-r1_src_prepare |
79 |
+} |