1 |
commit: 56660d4bd738a82f4efa1f1fb9010c66fe78712a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 29 18:10:04 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 29 18:17:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56660d4b |
7 |
|
8 |
dev-python/cfn-python-lint: Bump to 0.52.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cfn-python-lint/Manifest | 1 + |
13 |
.../cfn-python-lint/cfn-python-lint-0.52.0.ebuild | 57 ++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cfn-python-lint/Manifest b/dev-python/cfn-python-lint/Manifest |
17 |
index dccb2f16906..e4d5479e366 100644 |
18 |
--- a/dev-python/cfn-python-lint/Manifest |
19 |
+++ b/dev-python/cfn-python-lint/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST cfn-lint-0.50.0.tar.gz 7061105 BLAKE2B bba39823b729b0a53dcc97341b6408654190bceb86acd7de0e2ee1a4ae34234ca6ddc3a4d374c38115632faa0fbbb51fbf07cf717853dd917a262ef5c1116ac9 SHA512 9dc5c00946a9bb142771a4b63571043056b1f522348f11256d7d3181e750c251cfab805a66df884b496fd7639442da0e72f65c0a43cc2ce2ed35f214031c7b1a |
22 |
DIST cfn-lint-0.51.0.tar.gz 7125333 BLAKE2B 5f18c03cba52e8f38eb4998ce3640564b6346cd788bc7ca4eebbeebf709fddb130de3fd0c99f5e1585aa07fb965f97ec05d48154bb6788f961c31301058d9ac7 SHA512 6b0eada5204da1c4efbf1a548b74065008bf55142b666aefbc5c1e9311eaaef96e83fd427157be4d3dec98d2e5377ed7f21266af0662e565fdf2aeb6883bb1e4 |
23 |
+DIST cfn-lint-0.52.0.tar.gz 7221391 BLAKE2B 20422bb191e9537ba6950db8c40894ab07655389a0a81eff3489f5bcd626bd81c6f9749f885b8be4f4939f16abe62fbbde7c741e770e6265c28bd59740144558 SHA512 81274b973ede2e60ef113d5ec4e2052dc11ed0a85b79079dd1b40e8afae3738cbd963b2e703f5016e216b2844df8711a34ff024e5dc4b1b12e774176bbe88489 |
24 |
|
25 |
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.52.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.52.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..928f06df62f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.52.0.ebuild |
30 |
@@ -0,0 +1,57 @@ |
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..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+# TODO: pkgmove to cfn-lint |
40 |
+MY_P=${P/-python} |
41 |
+DESCRIPTION="CloudFormation Linter" |
42 |
+HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz |
45 |
+ -> ${MY_P}.tar.gz" |
46 |
+S=${WORKDIR}/${MY_P} |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/aws-sam-translator-1.35.0[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ dev-python/importlib_resources[${PYTHON_USEDEP}] |
56 |
+ ' python3_6) |
57 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
60 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+BDEPEND=" |
66 |
+ test? ( |
67 |
+ dev-python/mock[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+distutils_enable_tests --install unittest |
72 |
+ |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}/cfn-python-lint-0.30.1-tests.patch" |
75 |
+) |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ # unpin the deps |
79 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
80 |
+ # requires git checkout |
81 |
+ sed -e 's:test_update_docs:_&:' \ |
82 |
+ -i test/unit/module/maintenance/test_update_documentation.py || die |
83 |
+ # requires Internet |
84 |
+ sed -e 's:test_update_resource_specs_python:_&:' \ |
85 |
+ -i test/unit/module/maintenance/test_update_resource_specs.py || die |
86 |
+ distutils-r1_src_prepare |
87 |
+} |