dev-python/aws-sam-translator: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-25 15:54:37 +02:00
parent 87c541864d
commit ee7fc03d3b
2 changed files with 0 additions and 63 deletions

View File

@@ -1,3 +1,2 @@
DIST serverless-application-model-1.100.0.gh.tar.gz 6493911 BLAKE2B cba745252b2402f7f2979fe3c84eb52224735e9eb4ccc1db07c1fb4c71faa9a5357969adfb0417fae496cb80d335ef9aaf01b4c87ea8e93a2c8351226944c886 SHA512 4b40b1139acf0aceacfaae768146fb9b7f9888e9103a52a6ab3140924ac02af3cf28067d6be9e5fd9fe90a1822681f2899c752bfc6de9852afafe2095b6126e9
DIST serverless-application-model-1.101.0.gh.tar.gz 6002271 BLAKE2B 726fd5a91a8afa51072e4fe95b941b7bc05805171ea1913626f4ddd82b14ac09509e115672491062cc8247a64ccfa53e8fcc1f2c5c387b38a945219cb0561a9a SHA512 b0063a97966b28f3d189f9607beac8fbdf36af235351630b3e277db81ecae9da326ccc6ce1c1e9e5bb5831a769507747e77cf8f4e4b1d378e63effaa38319e0c
DIST serverless-application-model-1.99.0.gh.tar.gz 5926908 BLAKE2B 2789e0fafa9036f51f2a854e5d46a8306866a1ab02f0ae92c080eda4c054a13f489a7027131c3a2512f92e125b280cb5aadb78b040f69ebc66c4ec1c5b052ae7 SHA512 e5c8d0d8b9f6215e7b1a8685206c2abdb5a79b9251ca5e2dc3092649899df5f35712c9a3068fc2476eb7b5efc08e8ea8654519ecfd8c53b8fe79838079721808

View File

@@ -1,62 +0,0 @@
# 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 multiprocessing
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}]
dev-python/pytest-xdist[${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= -o filterwarnings= \
-p xdist -n "$(makeopts_jobs)" --dist=worksteal
}