1 |
commit: 2c982ccd1ad5134b84fe79dbd0b4d4f92704aba8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 23 07:07:13 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 08:16:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c982ccd |
7 |
|
8 |
dev-python/cfn-lint: Bump to 0.54.2 |
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.54.2.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 a1fcf70306e..b91e413329b 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.53.1.tar.gz 7561747 BLAKE2B 2561a04344c567cf9e1e62cdd65e6de0bf8efd17072b5562021055e65c140d8453062fb0019f56f1a8c520043e1215e7c5db894af53801dff26a6e2422688d4f SHA512 3832e6aac7b9a3e638dcf46103a83882fa0bd3778d95aa5837fb7bfe2c9dd10c13ac4434e371396e2f65fe39a36b3f7fb8c7cce52b628fe7dd3fc17ed313f8b6 |
22 |
DIST cfn-lint-0.54.1.tar.gz 7605760 BLAKE2B 3ce3895ed67b50fab85cb13ab34c2f1a8339a7e68467a82be7c9dde67cef0c700d3d9fcf3cac18afc657abef81316d5c770b8fe97ebdcfc81ca5b97e17fbf011 SHA512 742059b42c3df5a50102d437a11b03890f1579bc5769ca72a033477c9335b5a5d4b5a02973615b98ba9b8ee4022b86c82edac3490a0ec8c9a3f241afe84a9d03 |
23 |
+DIST cfn-lint-0.54.2.tar.gz 7658613 BLAKE2B a29a55756bc4f3fa2ebecc02365025911af238938717c7fd42d5b0707f80ec4149b1986fa3bd66cd704c20468437ee25a47d23c0e551f8e0793eed15499a8361 SHA512 185e0231bb49521b33232678bbd610004821872a5ba4f29bf6c7a4b1df884ab216ce7b4b61af164da7ae31ec83bed066d045c743bc7687690fe542d6f7f6b71e |
24 |
|
25 |
diff --git a/dev-python/cfn-lint/cfn-lint-0.54.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.54.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..beac470392c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cfn-lint/cfn-lint-0.54.2.ebuild |
30 |
@@ -0,0 +1,51 @@ |
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 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/aws-sam-translator-1.38.0[${PYTHON_USEDEP}] |
51 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
53 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
54 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/mock[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests --install unittest |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}/cfn-lint-0.30.1-tests.patch" |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ # unpin the deps |
73 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
74 |
+ # requires git checkout |
75 |
+ sed -e 's:test_update_docs:_&:' \ |
76 |
+ -i test/unit/module/maintenance/test_update_documentation.py || die |
77 |
+ # requires Internet |
78 |
+ sed -e 's:test_update_resource_specs_python:_&:' \ |
79 |
+ -i test/unit/module/maintenance/test_update_resource_specs.py || die |
80 |
+ distutils-r1_src_prepare |
81 |
+} |