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: Wed, 28 Apr 2021 08:16:39
Message-Id: 1619597778.901500c85eeb58837c92e658bf67610f1c959910.mgorny@gentoo
1 commit: 901500c85eeb58837c92e658bf67610f1c959910
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 07:10:05 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 08:16:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901500c8
7
8 dev-python/cfn-python-lint: Bump to 0.49.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.49.0.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 489db1c7757..72be9a4f5e5 100644
18 --- a/dev-python/cfn-python-lint/Manifest
19 +++ b/dev-python/cfn-python-lint/Manifest
20 @@ -2,3 +2,4 @@ DIST cfn-python-lint-0.47.2.tar.gz 6478541 BLAKE2B 1955c6aa43512d4249741db982a6e
21 DIST cfn-python-lint-0.48.1.tar.gz 6531054 BLAKE2B 76aab248bf8d043c274b6a6d17c9ecada3b92fb0688a32989095771206a2f37728216fe1eb5d247237457d88279b04870a5808f7a93c15f77cf53c6734a3e4aa SHA512 11373f9755d0955d57dfb48fb806565cc22d2f6deeba261dbf1446b95960bce915b4b2d0bb3e1884b59a7874ead18b0cc196bd599bcdcc935a4ab0f18b4276aa
22 DIST cfn-python-lint-0.48.2.tar.gz 6710036 BLAKE2B 00f607dacbf1c10f8b82cac1ad98fb1f12a56149284bcfa7491ca2cf1c03a315ce3857eb3b6e7a3862ff1fe39b499a17840bcaed66d67ccaf19ac0bb32de8dcc SHA512 15f4506e272d53fb118d17b98a55b05ed4b870d2c39a48198d69a99ac80db04f23e596f61297672a91a020e5fd22b442ad5085d80491101c2af428e8fbfc8c24
23 DIST cfn-python-lint-0.48.3.tar.gz 6758651 BLAKE2B a8aeaffb0791789b25c94c630532ced223432f9902cf60664e4b111d162b4379d6307eda5c8f8074f7d2917ff25f44657016894b2140c8ea1dbf3259b24dde38 SHA512 ab1555719edb9b3541bfe60ce2701cca9e2ab9f4627c1b46ab8f4920477531f56f14f393b3575525da81b6aefd087b6c3cac516bdd6eb1db0f31304d7c63e1cb
24 +DIST cfn-python-lint-0.49.0.tar.gz 6797106 BLAKE2B aa60c3e5eb246c45997af57f934d2710b56c4966babb61f56cc538c49606e3befd130f6a4298b124d38401927ae40127e699fba6a1f69ee177c07c9bf5d880e4 SHA512 4b656cda70de686aa3bb404908eac6ff66cabc0ebb064d5ccbe554a10551e8a5a7a308e3480826ec52b87549a8626f2a9cbbf51bd44613d94344db8dcd4443a7
25
26 diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.49.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.49.0.ebuild
27 new file mode 100644
28 index 00000000000..cda4805bfeb
29 --- /dev/null
30 +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.49.0.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.35.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-5.4[${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 +}