mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/aws-sam-translator: Bump to 1.100.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST serverless-application-model-1.100.0.gh.tar.gz 6493911 BLAKE2B cba745252b2402f7f2979fe3c84eb52224735e9eb4ccc1db07c1fb4c71faa9a5357969adfb0417fae496cb80d335ef9aaf01b4c87ea8e93a2c8351226944c886 SHA512 4b40b1139acf0aceacfaae768146fb9b7f9888e9103a52a6ab3140924ac02af3cf28067d6be9e5fd9fe90a1822681f2899c752bfc6de9852afafe2095b6126e9
|
||||
DIST serverless-application-model-1.99.0.gh.tar.gz 5926908 BLAKE2B 2789e0fafa9036f51f2a854e5d46a8306866a1ab02f0ae92c080eda4c054a13f489a7027131c3a2512f92e125b280cb5aadb78b040f69ebc66c4ec1c5b052ae7 SHA512 e5c8d0d8b9f6215e7b1a8685206c2abdb5a79b9251ca5e2dc3092649899df5f35712c9a3068fc2476eb7b5efc08e8ea8654519ecfd8c53b8fe79838079721808
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
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.34.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.2[${PYTHON_USEDEP}]
|
||||
<dev-python/pydantic-3[${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}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
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 AWS_DEFAULT_REGION=us-east-1
|
||||
epytest -o addopts= -o filterwarnings=
|
||||
}
|
||||
Reference in New Issue
Block a user