Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-python-lint/
Date: Mon, 08 Feb 2021 22:36:49
Message-Id: 1612822961.af7c3b929343c8d6d9c6944928bf8ad99a42e85b.mgorny@gentoo
1 commit: af7c3b929343c8d6d9c6944928bf8ad99a42e85b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 22:22:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 22:22:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7c3b92
7
8 dev-python/cfn-python-lint: Bump to 0.44.7
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.44.7.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/cfn-python-lint/Manifest b/dev-python/cfn-python-lint/Manifest
17 index 538f512a529..5e3b557c790 100644
18 --- a/dev-python/cfn-python-lint/Manifest
19 +++ b/dev-python/cfn-python-lint/Manifest
20 @@ -4,3 +4,4 @@ DIST cfn-python-lint-0.44.3.tar.gz 5591470 BLAKE2B 7d8f6763023a86d528f132b36b9b8
21 DIST cfn-python-lint-0.44.4.tar.gz 5632477 BLAKE2B 3520cb016f926e180bb1547b4e467d6fb5251ca5e2ef0ceaaed487f40f10b58f5b6700a5f1995d4a764b53e83ba8a4ab7a9e67fe9803557bef54df3036e691ee SHA512 39e244963109953b92cc9e9fd84e33ede157c9e752854f685dd81d2a3e09ea88ec402addc8f2c12f044f0f7ab8e0bbf53486153be9517b76f0a89fed3ff94a14
22 DIST cfn-python-lint-0.44.5.tar.gz 5657765 BLAKE2B e35fca9cf8232bc802666333184a52b544bad5858ec8e4c16fe435ea5c421ca25296bb9d8a3bf351276dc1e36ee3101cb0c950ca9d8ce87f5dd2f64cf347ba30 SHA512 e23e415f7d5dd3933e70e7c5b0d9d001bc9aefd0ec67ba9245b4cecbad0c5470376439c12d2cd532eb39e900a325de52c4856351bba2ca27cdc0760ed091ccca
23 DIST cfn-python-lint-0.44.6.tar.gz 5689226 BLAKE2B 19f6d4f09a621d8389893234dea2cc5c9e2e04fae7f1519bbd95657f5bf1ff97e34c1ed66a6f2bb0ffc2851e99cae5ea2734aacac58b87088a5430346ce0d102 SHA512 8c4414145e039d8b2b32008871dc0d2dbe946bd10eb9b7a78a070ce16ca13c3c0f4a37212bae07fa798b8b0d0868b342735ef406c6b651f6c85b8ec92bd563b2
24 +DIST cfn-python-lint-0.44.7.tar.gz 5711448 BLAKE2B b38b90ca7d181dc655b07a0151acad6a22ed1a0d34223cb813c3257cceb0f9ef5ca175cd4992a9d72a843c2b40b0830c433cbbe8b71550c9c9c482ea62783142 SHA512 a4ed91383f80e437338f7afee55de5e7cb0f3f8690c4324de77f2d35a665e5947f07945449aedddbd9d996270495ee63418e38b97639c4b7852b1fe50e8ce6e4
25
26 diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.44.7.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.44.7.ebuild
27 new file mode 100644
28 index 00000000000..1b41006fc09
29 --- /dev/null
30 +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.44.7.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="CloudFormation Linter"
41 +HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-python-lint"
42 +SRC_URI="https://github.com/aws-cloudformation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 +
48 +RDEPEND="
49 + >=dev-python/aws-sam-translator-1.25.0[${PYTHON_USEDEP}]
50 + $(python_gen_cond_dep '
51 + dev-python/importlib_resources[${PYTHON_USEDEP}]
52 + ' python3_6)
53 + dev-python/jsonpatch[${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[${PYTHON_USEDEP}]
58 + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
59 + >=dev-python/six-1.11[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/mock[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests --install unittest
68 +
69 +PATCHES=(
70 + "${FILESDIR}/cfn-python-lint-0.30.1-tests.patch"
71 +)
72 +
73 +src_prepare() {
74 + # unpin the deps
75 + sed -e 's:~=[0-9.]*::' -i setup.py || die
76 + # requires git checkout
77 + sed -e 's:test_update_docs:_&:' \
78 + -i test/unit/module/maintenance/test_update_documentation.py || die
79 + distutils-r1_src_prepare
80 +}