summaryrefslogtreecommitdiff
path: root/dev-python/aws-sam-translator
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
commit0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch)
tree464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-python/aws-sam-translator
parente68d405c5d712af4387159df07e226217bdda049 (diff)
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-python/aws-sam-translator')
-rw-r--r--dev-python/aws-sam-translator/Manifest2
-rw-r--r--dev-python/aws-sam-translator/aws-sam-translator-1.45.0.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest
index 113c807e606d..7cc981c9bbd1 100644
--- a/dev-python/aws-sam-translator/Manifest
+++ b/dev-python/aws-sam-translator/Manifest
@@ -2,8 +2,10 @@ DIST aws-sam-translator-1.40.0.tar.gz 988864 BLAKE2B 5a414bde5ceeb016267c64742e8
DIST aws-sam-translator-1.42.0.tar.gz 1017720 BLAKE2B d0166b09b99c64f5f4a4c1ebfe63b6a35ca6db73efb97f76b8748272b646fe2fcf9de06c2f6b29ce69a3edfce9235ba932913055e70f48d88569e4df25a6be0e SHA512 6b1bfd4bde203e31a9d98a385d6c0705ba651c39846358e750faf8a30c4e4e8b2ee57623af27da670ee8f1f5edca795b1b5528b5237ff9f01f911d4b9385ebcd
DIST aws-sam-translator-1.43.0.tar.gz 1046840 BLAKE2B 19e405a07c9eb42ee77f26986eb09e6902559fc3fad5f1b7f4df0d09cb529add1c53910afa3fa3d867f048e69fb4c6872004733fc611347d4438013b80605e5c SHA512 9e7a5b4769eafcf1a9d8af7582cd4af3a82843d2c7c474495b9099fcb94f8dd0dd45d02f52ed609de7dc341b77f0f913526410935244836c3201b99c3fb6a292
DIST aws-sam-translator-1.44.0.tar.gz 1047747 BLAKE2B 54714943b1bb561e32fb0102aa7b3fdb77d9bd864510ff1cc5315591fad70ef112fe7bc080f2c7ba1444fc2dd7ccae212c539b8ec2015a93b1486e9152493fac SHA512 0c165b808b6ead83bfb3d4ee75ff683e733433b505ec035527b3e2ecac4d166acf60ce7c0a16f16181a42adf126bb215f88916e705fc9746b412ba58dbfe1815
+DIST aws-sam-translator-1.45.0.tar.gz 1053946 BLAKE2B b34c7417bd20fbd5907992e860ff7acaf1f6dea699d4385bda96467ff03965f30b068835af377d41dcd0ef210509d0b21a05b7e65394771981f8b499730acd41 SHA512 218eda9498fe0db9bab71cdd09d128403248e80936eb2a0e8afeff31f5f8e959aa9d70997ed565c05739ab40bc93d51d1fd84969ec9d7e48b8f10c062b2f74d1
EBUILD aws-sam-translator-1.40.0.ebuild 1215 BLAKE2B 5081267656b1107b865edcce52360bc4cb7aa498cb43204d0b7b4f517b1e66870f85f3e74e3785038deafd4c910ff767f5163d6a7d7bc4894b774324e6a1e572 SHA512 1f757a62c66f94eabfc7178c2088a5b4055941928fe166a556536f81f9b30e24b0fa061c90a389a569b039ddfa84e89a633f8d4a3de6db60016775608aa5f4b5
EBUILD aws-sam-translator-1.42.0.ebuild 1344 BLAKE2B 0c9e5d10c317fd808610359c30c458157dfaf7eb4cebb41e9d809b55accca642f6eb464a1dad630f053779a5d87fbf8e7a65e67af9c7b1ceb7675d014e55ebaa SHA512 5f0c00271b0f27a739ccff93f1e39476f29ad190074936ecd4b188587303142508e5e5db005c8d41ffc5ccb70de06f37f277bf9faf28f54ef00d92d598ab23af
EBUILD aws-sam-translator-1.43.0.ebuild 1496 BLAKE2B 5aaeaa212d8a5efb826961d82ad7c6d86342cda218a3a2e7953e4834d22c04e0647566b2a4f9694630214115ab88c78b4281c9679891ce6cd9a4cf95ec220203 SHA512 c7d4f40e133976303c0b37812e453672bdcf39756d88c022268859a3ab5c688f009d3462befeee54afb60b372f88f9880832463631f0bdbf8e2f0dac1280761f
EBUILD aws-sam-translator-1.44.0.ebuild 1496 BLAKE2B 5aaeaa212d8a5efb826961d82ad7c6d86342cda218a3a2e7953e4834d22c04e0647566b2a4f9694630214115ab88c78b4281c9679891ce6cd9a4cf95ec220203 SHA512 c7d4f40e133976303c0b37812e453672bdcf39756d88c022268859a3ab5c688f009d3462befeee54afb60b372f88f9880832463631f0bdbf8e2f0dac1280761f
+EBUILD aws-sam-translator-1.45.0.ebuild 1496 BLAKE2B 5aaeaa212d8a5efb826961d82ad7c6d86342cda218a3a2e7953e4834d22c04e0647566b2a4f9694630214115ab88c78b4281c9679891ce6cd9a4cf95ec220203 SHA512 c7d4f40e133976303c0b37812e453672bdcf39756d88c022268859a3ab5c688f009d3462befeee54afb60b372f88f9880832463631f0bdbf8e2f0dac1280761f
MISC metadata.xml 603 BLAKE2B 89556267393186cf69a585c58efeb6fa599bfb42ef221bea955ea807a28edee89036a2ee0d0ca81ae55d96702a01b171b837754dabf38047ecc2789157bb7116 SHA512 106b6d241eadf7807dadf03329073703f8b51e7443eddc4db8752878b6dd84cc4357689cd4b796b3a083192e9d98eacbe9e7b8af0273160c7b89846e78230a88
diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.45.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.45.0.ebuild
new file mode 100644
index 000000000000..34c909b06a88
--- /dev/null
+++ b/dev-python/aws-sam-translator/aws-sam-translator-1.45.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates"
+HOMEPAGE="
+ https://github.com/aws/serverless-application-model/
+ https://pypi.org/project/aws-sam-translator/
+"
+SRC_URI="
+ https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+S="${WORKDIR}/serverless-application-model-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/boto3-1.17[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}]
+ >=dev-python/six-1.11[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri
+ tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2
+)
+
+python_prepare_all() {
+ # remove pytest-cov dependency
+ sed -r -e 's:--cov(-[[:graph:]]+|)[[:space:]]+[[:graph:]]+::g' \
+ -i pytest.ini || die
+
+ # deps are installed by ebuild, don't try to reinstall them via pip
+ truncate --size=0 requirements/*.txt || die
+
+ distutils-r1_python_prepare_all
+}