diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
commit | 908778078736bd36f7a60a2d576d415cb8e000fa (patch) | |
tree | c6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-python/cfn-python-lint | |
parent | 185fa19bbf68a4d4dca534d2b46729207a177f16 (diff) |
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-python/cfn-python-lint')
-rw-r--r-- | dev-python/cfn-python-lint/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cfn-python-lint/cfn-python-lint-0.49.2.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/cfn-python-lint/Manifest b/dev-python/cfn-python-lint/Manifest index 8938e7117c6b..17de08045510 100644 --- a/dev-python/cfn-python-lint/Manifest +++ b/dev-python/cfn-python-lint/Manifest @@ -1,8 +1,10 @@ AUX cfn-python-lint-0.30.1-tests.patch 621 BLAKE2B 7b4d457c56f32799c0da0e1e1f6551b57b89b08d7916a5a4b5c8c59605bb7dbb2393d566afc0da606103c09226b61d8a85734e124027ed81d46d405d18079778 SHA512 bffe6e2668dfb16f09ce20b784fb33a4a19cfbee832e6107601bd0bbd60c3f4e3b7debb3c3c320b87223dc584f054b6bfd1c19251ce17bf0b978d0b3e0b28088 +DIST cfn-lint-0.49.2.tar.gz 7012647 BLAKE2B 1508c7c2c400ea4fdd878961a00d79b6c464de70f6ff5269069c73d4c524317e37e9431fba0a686da16958b7c575d4d3629a83c31c3f89d81a68f5c320355b14 SHA512 7e7b97d727b06649b2a56b67f1251c24df2646c9759821a7525842796a81e834f560fe5a09431220ead9fd68ad0fa9978a65bb1d9bdeab907aba0a76095fd712 DIST cfn-python-lint-0.48.3.tar.gz 6758651 BLAKE2B a8aeaffb0791789b25c94c630532ced223432f9902cf60664e4b111d162b4379d6307eda5c8f8074f7d2917ff25f44657016894b2140c8ea1dbf3259b24dde38 SHA512 ab1555719edb9b3541bfe60ce2701cca9e2ab9f4627c1b46ab8f4920477531f56f14f393b3575525da81b6aefd087b6c3cac516bdd6eb1db0f31304d7c63e1cb DIST cfn-python-lint-0.49.0.tar.gz 6797106 BLAKE2B aa60c3e5eb246c45997af57f934d2710b56c4966babb61f56cc538c49606e3befd130f6a4298b124d38401927ae40127e699fba6a1f69ee177c07c9bf5d880e4 SHA512 4b656cda70de686aa3bb404908eac6ff66cabc0ebb064d5ccbe554a10551e8a5a7a308e3480826ec52b87549a8626f2a9cbbf51bd44613d94344db8dcd4443a7 DIST cfn-python-lint-0.49.1.tar.gz 6906770 BLAKE2B 3115e610a73f072f56f0ed45ab8c88f7a906115437081d8974a135b3a9fbfcec4f677bdc108fa0ed37814caa6f0cc1e22fa7892d715c658e9ef05c8299f377a6 SHA512 4ceda24495aa43ad84ca7e63aa566521aab339f01308f5754372289a7f595d6805d6b1ac9bf637ba20a05bf17b93f8a06d5d1fd4dca3b8955094f54a62e28313 EBUILD cfn-python-lint-0.48.3.ebuild 1483 BLAKE2B 2de36bdb65abdf149877d30946aa66f0efb98dbdc5565c92057cf4816927f41c9c25ef1cb90897addfd2abf4a848894d66fe4dbede79a5ba5189b22057cfc212 SHA512 586341992bede7e42382291461e209770a7bc68973e77690d1e04b8e31979851dfc9d01a7e70a45e1b745822c859fba77b762df4a394b50ba9e99b97dea24140 EBUILD cfn-python-lint-0.49.0.ebuild 1491 BLAKE2B bbb73fd49da8e4b39f1f8c45e74b5d6409bb9dda232507e791c7a71c9685dc115738acbaa3691a911d5cddfa208bd5bafaee9bba32fbf7c84b9d3ce020ec453d SHA512 9a388963a5515ef9eabf73e658cd7211ba39ada1dcf5af2cabad4e12f5c4d131899ffd8ac5af0e1981f15de81b20e8a4907ab4a28faef029a97ac0828e36b35a EBUILD cfn-python-lint-0.49.1.ebuild 1459 BLAKE2B 62ab02c3802e40e0d73a24515ec6aa2bd26c8847b92929245749dcd5bde5fb0e9ee2e875c5dd93889b780ab569dc7d966252bdfdf2a46770424624a363dd74ee SHA512 7678d1535878a883d8f82d90a1eb8aebacf0206faaafe227000bc00d6b34a0adada5e309100603c0e51c8bb61396ced987473f28b78c7b65916011179cd33c6b +EBUILD cfn-python-lint-0.49.2.ebuild 1530 BLAKE2B 5a1525088ade4585c5f63f1f8f9e8d14d7bbb0ba9a94453a068f0a575edc82070ed3949f4dc02cd77a75e4e5559b989d592ea26d0b4341e81fe8f36dcfb2c103 SHA512 6ea6d582eac21fb08199dcb3589d704b7b81c0836d88cf648df6e28616d5348644f3bf74cb780189e99351e833d9c768f9290520380f7fd6f53aec9a1682288e MISC metadata.xml 596 BLAKE2B c9937cb001e177c18c65bff8b70940d241e54f58aae3818071510f1c73540fcac6c532c8700b4904d4e2c9382f8a5288a2cb8745e174b8ac0a4edfe114d78ff5 SHA512 40c20431d8132ee97311a23bba87d6b408297410573c191f8fc43282bd156884adc25b6ceb6f2168d3456d535c4d82fb3473dd9025bda276f6aad829f68a8e37 diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.49.2.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.49.2.ebuild new file mode 100644 index 000000000000..8515392b1031 --- /dev/null +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.49.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +# TODO: pkgmove to cfn-lint +MY_P=${P/-python} +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 + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +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-python-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 +} |