commit:     aaea8702761d917cf68fe28048705ae10b8f5a93
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 06:30:57 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 07:00:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaea8702

dev-python/cfn-lint: Bump to 0.54.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cfn-lint/Manifest               |  1 +
 dev-python/cfn-lint/cfn-lint-0.54.4.ebuild | 51 ++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index d0233fe01fe..4c036b2066a 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,3 +2,4 @@ DIST cfn-lint-0.53.1.tar.gz 7561747 BLAKE2B 
2561a04344c567cf9e1e62cdd65e6de0bf8e
 DIST cfn-lint-0.54.1.tar.gz 7605760 BLAKE2B 
3ce3895ed67b50fab85cb13ab34c2f1a8339a7e68467a82be7c9dde67cef0c700d3d9fcf3cac18afc657abef81316d5c770b8fe97ebdcfc81ca5b97e17fbf011
 SHA512 
742059b42c3df5a50102d437a11b03890f1579bc5769ca72a033477c9335b5a5d4b5a02973615b98ba9b8ee4022b86c82edac3490a0ec8c9a3f241afe84a9d03
 DIST cfn-lint-0.54.2.tar.gz 7658613 BLAKE2B 
a29a55756bc4f3fa2ebecc02365025911af238938717c7fd42d5b0707f80ec4149b1986fa3bd66cd704c20468437ee25a47d23c0e551f8e0793eed15499a8361
 SHA512 
185e0231bb49521b33232678bbd610004821872a5ba4f29bf6c7a4b1df884ab216ce7b4b61af164da7ae31ec83bed066d045c743bc7687690fe542d6f7f6b71e
 DIST cfn-lint-0.54.3.tar.gz 7806470 BLAKE2B 
b61cb4b46e7c9d04aa70d2542e2aee0d029cc265ca3b85d9bd1c9ddcf2d22a56b28d74f27d6ccf5348cef7224e1ca9d1efec3e5a7b478e8bb87afcb0d39b3da8
 SHA512 
40e593f0bf092dafca7d7a801deaf2e09c37f4421d58b9244a2da533c3079da076dab70cb974868fd3eb9300ef69897414b03854f8e8fee139e1f5b4781795fc
+DIST cfn-lint-0.54.4.tar.gz 7835716 BLAKE2B 
1709adda09a08b02f4a2637af1ed2a43c096d8f9eef91b3cfbac55365e0910be64c632e28e403356742396b72a4af6c88740b27d13a67b62b5f5af98c8639e43
 SHA512 
f31b8fc407adf75b1eb54a29719b39298494efcdba65e68610e28ca1d066dfdb3fa051e8a90fe589793683c01e49d1bab30832255153e8932bd9caca96b54441

diff --git a/dev-python/cfn-lint/cfn-lint-0.54.4.ebuild 
b/dev-python/cfn-lint/cfn-lint-0.54.4.ebuild
new file mode 100644
index 00000000000..beac470392c
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.54.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="CloudFormation Linter"
+HOMEPAGE="https://pypi.org/project/cfn-lint/ 
https://github.com/aws-cloudformation/cfn-lint/";
+SRC_URI="
+       https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+       >=dev-python/aws-sam-translator-1.38.0[${PYTHON_USEDEP}]
+       dev-python/jsonpatch[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+       dev-python/junit-xml[${PYTHON_USEDEP}]
+       dev-python/networkx[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.11[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests --install unittest
+
+PATCHES=(
+       "${FILESDIR}/cfn-lint-0.30.1-tests.patch"
+)
+
+src_prepare() {
+       # unpin the deps
+       sed -e 's:~=[0-9.]*::' -i setup.py || die
+       # requires git checkout
+       sed -e 's:test_update_docs:_&:' \
+               -i test/unit/module/maintenance/test_update_documentation.py || 
die
+       # requires Internet
+       sed -e 's:test_update_resource_specs_python:_&:' \
+               -i test/unit/module/maintenance/test_update_resource_specs.py 
|| die
+       distutils-r1_src_prepare
+}

Reply via email to