summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-06 05:23:48 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-06 05:31:00 +0200
commit8fe73ac5e166bc6ea5e738f366304b6f8b7f7ca7 (patch)
tree86337cefb1fcb48dc9e3a9f0431fb57dbffbf995 /dev-python/aws-sam-translator
parentdev-python/pydantic-core: Bump to 2.1.2 (diff)
downloadgentoo-8fe73ac5e166bc6ea5e738f366304b6f8b7f7ca7.tar.gz
gentoo-8fe73ac5e166bc6ea5e738f366304b6f8b7f7ca7.tar.bz2
gentoo-8fe73ac5e166bc6ea5e738f366304b6f8b7f7ca7.zip
dev-python/aws-sam-translator: Bump to 1.71.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aws-sam-translator')
-rw-r--r--dev-python/aws-sam-translator/Manifest1
-rw-r--r--dev-python/aws-sam-translator/aws-sam-translator-1.71.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest
index 9ad27f6cb9a8..a47a0114f90c 100644
--- a/dev-python/aws-sam-translator/Manifest
+++ b/dev-python/aws-sam-translator/Manifest
@@ -1,3 +1,4 @@
DIST serverless-application-model-1.68.0.gh.tar.gz 5807706 BLAKE2B 82d596bf9c93ca9f45cf7d9f6bbfbe46c0e845eb618f7619377f74a6e9e3971c60ba1ac6a73e5247f292553e1efaff723bbb66503bec74731eac97661a325950 SHA512 40a6961556e6e162d45d521f31fd086da77ce2e4e93d081d7be41f47779673513e09f8d48953b53410d59800942c9514eacb765d55534a3df4e2cddc09d658c7
DIST serverless-application-model-1.69.0.gh.tar.gz 5925860 BLAKE2B 0182aad62920c911551dfcd5378f8d61a2c7f50eda6f222591128ebc513a7cb2f738875ceb24edf6136a964f56e5f39929f8734e5cf5e09d36331f0f988ac4f4 SHA512 4fa7941188af8ef0f0aef688617b8c5b02152fc565433af740bd7243b9b9d9b41035d4cf76c31ae5da764b4143d6ae5c1eda1345daf3b7265b48aaf2e1624284
DIST serverless-application-model-1.70.0.gh.tar.gz 5931243 BLAKE2B cf166c21197a7c66f6da74290f62e2c3ecf513c15ade5feacff1e60236810e13c6feaa315f4d62ba620ca65f5af852d9d592aea20c981b8f49662b12554b41cd SHA512 899c89b7ada9b0f3bb4fef96a9932e4dce45ef9dc30e4ea224791051628410302ab87bfff5ffc11deef518ec100b7ee987de96beca7cc7c3b154e6c8137620ab
+DIST serverless-application-model-1.71.0.gh.tar.gz 6001064 BLAKE2B af30dcfe8fb38360021685a4e80e9ecd8db7cc02b9f6ddcec2ea9ceb612f633c376200026324a201b03bbf89d3cd1b5ad213b9302538527a1ba4a0003bf4b16b SHA512 ba8b0c10a3c4c65e342d63c7676b7edea8079d2dc1fe0b092a46dc2b3b6fb11a57268f92e79c95bce4e347c80876d3a82d72208725d955b9a31cd2f0a13e33db
diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.71.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.71.0.ebuild
new file mode 100644
index 000000000000..5a83e871d7a8
--- /dev/null
+++ b/dev-python/aws-sam-translator/aws-sam-translator-1.71.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+MY_P=serverless-application-model-${PV}
+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
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ <dev-python/boto3-2[${PYTHON_USEDEP}]
+ >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}]
+ <dev-python/pydantic-2[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-1.8[${PYTHON_USEDEP}]
+ <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # so much noise...
+ sed -i -e '/log_cli/d' 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
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x AWS_DEFAULT_REGION=us-east-1
+ epytest -o addopts=
+}