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: Sat, 17 Apr 2021 06:23:11
Message-Id: 1618640489.780adf7deb2c5b935ce8627d9c60720d938e73c9.mgorny@gentoo
1 commit: 780adf7deb2c5b935ce8627d9c60720d938e73c9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 06:06:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 06:21:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780adf7d
7
8 dev-python/cfn-python-lint: Bump to 0.48.3
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.48.3.ebuild | 52 ++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/cfn-python-lint/Manifest b/dev-python/cfn-python-lint/Manifest
17 index b92661f5a32..489db1c7757 100644
18 --- a/dev-python/cfn-python-lint/Manifest
19 +++ b/dev-python/cfn-python-lint/Manifest
20 @@ -1,3 +1,4 @@
21 DIST cfn-python-lint-0.47.2.tar.gz 6478541 BLAKE2B 1955c6aa43512d4249741db982a6e4e5fe46daa3197d028590269d74690de2f67a1615e4907bfc434fb1e265770780a5c0da2a19c2bdfa8b44dfc7b0386e4405 SHA512 26e2e4cc26090e6da54ff0f90b9e35767e1d5677321cfb84ff00f820477d6ab576e7f58219346f48eb838dccf662df3a8a75e709cfa9690868d85130745f0cc8
22 DIST cfn-python-lint-0.48.1.tar.gz 6531054 BLAKE2B 76aab248bf8d043c274b6a6d17c9ecada3b92fb0688a32989095771206a2f37728216fe1eb5d247237457d88279b04870a5808f7a93c15f77cf53c6734a3e4aa SHA512 11373f9755d0955d57dfb48fb806565cc22d2f6deeba261dbf1446b95960bce915b4b2d0bb3e1884b59a7874ead18b0cc196bd599bcdcc935a4ab0f18b4276aa
23 DIST cfn-python-lint-0.48.2.tar.gz 6710036 BLAKE2B 00f607dacbf1c10f8b82cac1ad98fb1f12a56149284bcfa7491ca2cf1c03a315ce3857eb3b6e7a3862ff1fe39b499a17840bcaed66d67ccaf19ac0bb32de8dcc SHA512 15f4506e272d53fb118d17b98a55b05ed4b870d2c39a48198d69a99ac80db04f23e596f61297672a91a020e5fd22b442ad5085d80491101c2af428e8fbfc8c24
24 +DIST cfn-python-lint-0.48.3.tar.gz 6758651 BLAKE2B a8aeaffb0791789b25c94c630532ced223432f9902cf60664e4b111d162b4379d6307eda5c8f8074f7d2917ff25f44657016894b2140c8ea1dbf3259b24dde38 SHA512 ab1555719edb9b3541bfe60ce2701cca9e2ab9f4627c1b46ab8f4920477531f56f14f393b3575525da81b6aefd087b6c3cac516bdd6eb1db0f31304d7c63e1cb
25
26 diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.48.3.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.48.3.ebuild
27 new file mode 100644
28 index 00000000000..c3edcec5c4e
29 --- /dev/null
30 +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.48.3.ebuild
31 @@ -0,0 +1,52 @@
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 + # requires Internet
80 + sed -e 's:test_update_resource_specs_python:_&:' \
81 + -i test/unit/module/maintenance/test_update_resource_specs.py || die
82 + distutils-r1_src_prepare
83 +}