diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /dev-python/cfn-lint | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'dev-python/cfn-lint')
-rw-r--r-- | dev-python/cfn-lint/Manifest | 10 | ||||
-rw-r--r-- | dev-python/cfn-lint/cfn-lint-0.50.0.ebuild | 54 | ||||
-rw-r--r-- | dev-python/cfn-lint/cfn-lint-0.51.0.ebuild | 54 | ||||
-rw-r--r-- | dev-python/cfn-lint/cfn-lint-0.52.0.ebuild | 54 | ||||
-rw-r--r-- | dev-python/cfn-lint/cfn-lint-0.53.0.ebuild | 54 | ||||
-rw-r--r-- | dev-python/cfn-lint/files/cfn-lint-0.30.1-tests.patch | 20 | ||||
-rw-r--r-- | dev-python/cfn-lint/metadata.xml | 18 |
7 files changed, 264 insertions, 0 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest new file mode 100644 index 000000000000..916009563301 --- /dev/null +++ b/dev-python/cfn-lint/Manifest @@ -0,0 +1,10 @@ +AUX cfn-lint-0.30.1-tests.patch 621 BLAKE2B 7b4d457c56f32799c0da0e1e1f6551b57b89b08d7916a5a4b5c8c59605bb7dbb2393d566afc0da606103c09226b61d8a85734e124027ed81d46d405d18079778 SHA512 bffe6e2668dfb16f09ce20b784fb33a4a19cfbee832e6107601bd0bbd60c3f4e3b7debb3c3c320b87223dc584f054b6bfd1c19251ce17bf0b978d0b3e0b28088 +DIST cfn-lint-0.50.0.tar.gz 7061105 BLAKE2B bba39823b729b0a53dcc97341b6408654190bceb86acd7de0e2ee1a4ae34234ca6ddc3a4d374c38115632faa0fbbb51fbf07cf717853dd917a262ef5c1116ac9 SHA512 9dc5c00946a9bb142771a4b63571043056b1f522348f11256d7d3181e750c251cfab805a66df884b496fd7639442da0e72f65c0a43cc2ce2ed35f214031c7b1a +DIST cfn-lint-0.51.0.tar.gz 7125333 BLAKE2B 5f18c03cba52e8f38eb4998ce3640564b6346cd788bc7ca4eebbeebf709fddb130de3fd0c99f5e1585aa07fb965f97ec05d48154bb6788f961c31301058d9ac7 SHA512 6b0eada5204da1c4efbf1a548b74065008bf55142b666aefbc5c1e9311eaaef96e83fd427157be4d3dec98d2e5377ed7f21266af0662e565fdf2aeb6883bb1e4 +DIST cfn-lint-0.52.0.tar.gz 7221391 BLAKE2B 20422bb191e9537ba6950db8c40894ab07655389a0a81eff3489f5bcd626bd81c6f9749f885b8be4f4939f16abe62fbbde7c741e770e6265c28bd59740144558 SHA512 81274b973ede2e60ef113d5ec4e2052dc11ed0a85b79079dd1b40e8afae3738cbd963b2e703f5016e216b2844df8711a34ff024e5dc4b1b12e774176bbe88489 +DIST cfn-lint-0.53.0.tar.gz 7501025 BLAKE2B 0f979ff74e020aa192c040bcc633df8133ed77559afd2fa637af0b02f190f516dc7b3bd2154b9e5ecf3e2edcbf624879727ccbcaab81493f450305e6e1790002 SHA512 58d63e1b9ee7cd64ff30e938d98992dca6214945464c27d61b6d6c7e0daab27daa1feb7f2631de172e9cbf1b22699894b7fb7becd7a292b5efeeedd402db3374 +EBUILD cfn-lint-0.50.0.ebuild 1451 BLAKE2B e055665720de265564794a6309ba2cd042797d62471c262eb1f1bb48de369dcac9abfb00ed07de9124e79831694481e405af64ff22020378e2ae41b6e713c018 SHA512 7f3869e15dd33af935d6dce124ccea29c99bdced01d6855128d828a5b43944327576bb8c2d462fdaf9afbf225b9b521bf04debed82a242f9882822f37cc09691 +EBUILD cfn-lint-0.51.0.ebuild 1453 BLAKE2B ebb332f93b787e6df28e7ce890661178cebc2c99d22578ea556602fbbb016dd9df67848742398049eab0906d81f36247b8529ee46cf8ec619bd21133a2ace25a SHA512 6f80299a580b5e0fd4b962f7b4f520caaa058858e8a034d5840b2b1a66e18a51eb6f45c118e7c564c71b7d6a9a2b1fb99e71bf382188891b4f895189e3f3f521 +EBUILD cfn-lint-0.52.0.ebuild 1453 BLAKE2B 81701267ac97f6b179fd608f459947de93cd6432c9a0e60cc362789a5c13824da09f3ff5001c5f4e9e9c9b902bd5c51397be046385c309edd933216e9a1fc386 SHA512 799aff218cb2a8aedf96e7068b164edade737f573ba93b8b672c41824585f61916a238e458d6d115acdd9e86474039e0eb1bcd203c4796f2ef9bc5c66ae08139 +EBUILD cfn-lint-0.53.0.ebuild 1453 BLAKE2B 6588ba21c229e2e549bde3dccd7cd426a209505da2b204bbfc1eef788a984fe3c838832fa716970f9b609fb4b9b41b83f7059e641bedb6d7d51a731f22d8f340 SHA512 a2618117b7c720b9e8f5065ddc845db8eaa158c06f1d4f818faa6cb889a4af593fbefc0155caefa03050eda8b1166a15cda4e06c3974bc6996c3fc83443cba6f +MISC metadata.xml 582 BLAKE2B 32c9b6133f0aecc10331b9fc9022612bf98c9d8e65aee8c0c57e3df899f58ecd4621834b55281394ff5eb318590540ba31486d1dbab3aa513cc1afc30fb19dc5 SHA512 fcd64e4384c9abec9739802c4840ac6ca1ac826e7fb0be8a80706da73810170ed771166565a72916f0e2cfe04dd25f18b008d578f73a49f92747d4a37de9e468 diff --git a/dev-python/cfn-lint/cfn-lint-0.50.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.50.0.ebuild new file mode 100644 index 000000000000..827f630bb2ef --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.50.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +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.35.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' python3_6) + 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 +} diff --git a/dev-python/cfn-lint/cfn-lint-0.51.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.51.0.ebuild new file mode 100644 index 000000000000..6bfc86bbddae --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.51.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +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.35.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' python3_6) + 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 +} diff --git a/dev-python/cfn-lint/cfn-lint-0.52.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.52.0.ebuild new file mode 100644 index 000000000000..1213f702d34d --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.52.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +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.35.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' python3_6) + 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 +} diff --git a/dev-python/cfn-lint/cfn-lint-0.53.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.53.0.ebuild new file mode 100644 index 000000000000..f483fd0763d2 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.53.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +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}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' python3_6) + 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 +} diff --git a/dev-python/cfn-lint/files/cfn-lint-0.30.1-tests.patch b/dev-python/cfn-lint/files/cfn-lint-0.30.1-tests.patch new file mode 100644 index 000000000000..6c81aef9a7a8 --- /dev/null +++ b/dev-python/cfn-lint/files/cfn-lint-0.30.1-tests.patch @@ -0,0 +1,20 @@ +diff --git a/test/unit/module/test_template.py b/test/unit/module/test_template.py +index 813040c9..a7554a31 100644 +--- a/test/unit/module/test_template.py ++++ b/test/unit/module/test_template.py +@@ -4,6 +4,7 @@ SPDX-License-Identifier: MIT-0 + """ + import json + import os ++import unittest + from test.testlib.testcase import BaseTestCase + import cfnlint.helpers + from cfnlint import Template # pylint: disable=E0401 +@@ -34,6 +35,7 @@ class TestTemplate(BaseTestCase): + 'pIops' + ] + ++ @unittest.skip("tests seems to be broken") + def test_build_graph(self): + self.template.build_graph() + diff --git a/dev-python/cfn-lint/metadata.xml b/dev-python/cfn-lint/metadata.xml new file mode 100644 index 000000000000..4596000d2f7c --- /dev/null +++ b/dev-python/cfn-lint/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">aws-cloudformation/cfn-lint</remote-id> + <remote-id type="pypi">cfn-lint</remote-id> + <bugs-to>https://github.com/aws-cloudformation/cfn-lint/issues</bugs-to> + </upstream> +</pkgmetadata> |