1 |
commit: cb307190f965449f1b089d065d3acb4cb5c6bcb1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 20:55:15 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 21:03:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb307190 |
7 |
|
8 |
dev-python/cfn-python-lint: Bump to 0.51.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.51.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 8ce3cb058d3..f3795c5a3c5 100644 |
18 |
--- a/dev-python/cfn-python-lint/Manifest |
19 |
+++ b/dev-python/cfn-python-lint/Manifest |
20 |
@@ -1,5 +1,6 @@ |
21 |
DIST cfn-lint-0.49.2.tar.gz 7012647 BLAKE2B 1508c7c2c400ea4fdd878961a00d79b6c464de70f6ff5269069c73d4c524317e37e9431fba0a686da16958b7c575d4d3629a83c31c3f89d81a68f5c320355b14 SHA512 7e7b97d727b06649b2a56b67f1251c24df2646c9759821a7525842796a81e834f560fe5a09431220ead9fd68ad0fa9978a65bb1d9bdeab907aba0a76095fd712 |
22 |
DIST cfn-lint-0.50.0.tar.gz 7061105 BLAKE2B bba39823b729b0a53dcc97341b6408654190bceb86acd7de0e2ee1a4ae34234ca6ddc3a4d374c38115632faa0fbbb51fbf07cf717853dd917a262ef5c1116ac9 SHA512 9dc5c00946a9bb142771a4b63571043056b1f522348f11256d7d3181e750c251cfab805a66df884b496fd7639442da0e72f65c0a43cc2ce2ed35f214031c7b1a |
23 |
+DIST cfn-lint-0.51.0.tar.gz 7125333 BLAKE2B 5f18c03cba52e8f38eb4998ce3640564b6346cd788bc7ca4eebbeebf709fddb130de3fd0c99f5e1585aa07fb965f97ec05d48154bb6788f961c31301058d9ac7 SHA512 6b0eada5204da1c4efbf1a548b74065008bf55142b666aefbc5c1e9311eaaef96e83fd427157be4d3dec98d2e5377ed7f21266af0662e565fdf2aeb6883bb1e4 |
24 |
DIST cfn-python-lint-0.48.3.tar.gz 6758651 BLAKE2B a8aeaffb0791789b25c94c630532ced223432f9902cf60664e4b111d162b4379d6307eda5c8f8074f7d2917ff25f44657016894b2140c8ea1dbf3259b24dde38 SHA512 ab1555719edb9b3541bfe60ce2701cca9e2ab9f4627c1b46ab8f4920477531f56f14f393b3575525da81b6aefd087b6c3cac516bdd6eb1db0f31304d7c63e1cb |
25 |
DIST cfn-python-lint-0.49.0.tar.gz 6797106 BLAKE2B aa60c3e5eb246c45997af57f934d2710b56c4966babb61f56cc538c49606e3befd130f6a4298b124d38401927ae40127e699fba6a1f69ee177c07c9bf5d880e4 SHA512 4b656cda70de686aa3bb404908eac6ff66cabc0ebb064d5ccbe554a10551e8a5a7a308e3480826ec52b87549a8626f2a9cbbf51bd44613d94344db8dcd4443a7 |
26 |
DIST cfn-python-lint-0.49.1.tar.gz 6906770 BLAKE2B 3115e610a73f072f56f0ed45ab8c88f7a906115437081d8974a135b3a9fbfcec4f677bdc108fa0ed37814caa6f0cc1e22fa7892d715c658e9ef05c8299f377a6 SHA512 4ceda24495aa43ad84ca7e63aa566521aab339f01308f5754372289a7f595d6805d6b1ac9bf637ba20a05bf17b93f8a06d5d1fd4dca3b8955094f54a62e28313 |
27 |
|
28 |
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.51.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.51.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..2ca06957a77 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.51.0.ebuild |
33 |
@@ -0,0 +1,57 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{8..9} ) |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+# TODO: pkgmove to cfn-lint |
43 |
+MY_P=${P/-python} |
44 |
+DESCRIPTION="CloudFormation Linter" |
45 |
+HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz |
48 |
+ -> ${MY_P}.tar.gz" |
49 |
+S=${WORKDIR}/${MY_P} |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/aws-sam-translator-1.35.0[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/importlib_resources[${PYTHON_USEDEP}] |
59 |
+ ' python3_6) |
60 |
+ dev-python/jsonpatch[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
62 |
+ dev-python/junit-xml[${PYTHON_USEDEP}] |
63 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ test? ( |
70 |
+ dev-python/mock[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests --install unittest |
75 |
+ |
76 |
+PATCHES=( |
77 |
+ "${FILESDIR}/cfn-python-lint-0.30.1-tests.patch" |
78 |
+) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ # unpin the deps |
82 |
+ sed -e 's:~=[0-9.]*::' -i setup.py || die |
83 |
+ # requires git checkout |
84 |
+ sed -e 's:test_update_docs:_&:' \ |
85 |
+ -i test/unit/module/maintenance/test_update_documentation.py || die |
86 |
+ # requires Internet |
87 |
+ sed -e 's:test_update_resource_specs_python:_&:' \ |
88 |
+ -i test/unit/module/maintenance/test_update_resource_specs.py || die |
89 |
+ distutils-r1_src_prepare |
90 |
+} |