1 |
commit: dca3a975cac6365fcb41a3be765ddf9d9d1b94c7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 06:17:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 06:53:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca3a975 |
7 |
|
8 |
dev-python/cfn-lint: Bump to 0.54.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.54.1.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 3764190604d..8f914df6973 100644 |
18 |
--- a/dev-python/cfn-lint/Manifest |
19 |
+++ b/dev-python/cfn-lint/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST cfn-lint-0.52.0.tar.gz 7221391 BLAKE2B 20422bb191e9537ba6950db8c40894ab0765 |
21 |
DIST cfn-lint-0.53.0.tar.gz 7501025 BLAKE2B 0f979ff74e020aa192c040bcc633df8133ed77559afd2fa637af0b02f190f516dc7b3bd2154b9e5ecf3e2edcbf624879727ccbcaab81493f450305e6e1790002 SHA512 58d63e1b9ee7cd64ff30e938d98992dca6214945464c27d61b6d6c7e0daab27daa1feb7f2631de172e9cbf1b22699894b7fb7becd7a292b5efeeedd402db3374 |
22 |
DIST cfn-lint-0.53.1.tar.gz 7561747 BLAKE2B 2561a04344c567cf9e1e62cdd65e6de0bf8efd17072b5562021055e65c140d8453062fb0019f56f1a8c520043e1215e7c5db894af53801dff26a6e2422688d4f SHA512 3832e6aac7b9a3e638dcf46103a83882fa0bd3778d95aa5837fb7bfe2c9dd10c13ac4434e371396e2f65fe39a36b3f7fb8c7cce52b628fe7dd3fc17ed313f8b6 |
23 |
DIST cfn-lint-0.54.0.tar.gz 7597662 BLAKE2B 868ed762f807adeddf53624bfbfdcd4a61efff2daf3f745123899f5f397c2b4aa489e2637551707a9eb04272140bc94971b831c5bb0367d3bcf303ba22de7e8d SHA512 34c1b70d5a65b674dd259cf239eb243a4602a337fc1c83ccc9108c86a027bfcb682d09587598d3232f84a0e74716f5df260bbf15750fe1cda1a362f0a4faba43 |
24 |
+DIST cfn-lint-0.54.1.tar.gz 7605760 BLAKE2B 3ce3895ed67b50fab85cb13ab34c2f1a8339a7e68467a82be7c9dde67cef0c700d3d9fcf3cac18afc657abef81316d5c770b8fe97ebdcfc81ca5b97e17fbf011 SHA512 742059b42c3df5a50102d437a11b03890f1579bc5769ca72a033477c9335b5a5d4b5a02973615b98ba9b8ee4022b86c82edac3490a0ec8c9a3f241afe84a9d03 |
25 |
|
26 |
diff --git a/dev-python/cfn-lint/cfn-lint-0.54.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.54.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..beac470392c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cfn-lint/cfn-lint-0.54.1.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
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 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/aws-sam-translator-1.38.0[${PYTHON_USEDEP}] |
52 |
+ dev-python/jsonpatch[${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/six-1.11[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+distutils_enable_tests --install unittest |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}/cfn-lint-0.30.1-tests.patch" |
70 |
+) |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ # unpin the deps |
74 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
75 |
+ # requires git checkout |
76 |
+ sed -e 's:test_update_docs:_&:' \ |
77 |
+ -i test/unit/module/maintenance/test_update_documentation.py || die |
78 |
+ # requires Internet |
79 |
+ sed -e 's:test_update_resource_specs_python:_&:' \ |
80 |
+ -i test/unit/module/maintenance/test_update_resource_specs.py || die |
81 |
+ distutils-r1_src_prepare |
82 |
+} |