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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-30 20:19:17 +02:00
parent 8d1528b21c
commit 2d7edc5eab
2 changed files with 0 additions and 63 deletions

View File

@@ -1,3 +1,2 @@
DIST serverless-application-model-1.107.0.gh.tar.gz 6828250 BLAKE2B 3df0ca4957a527372106bc3d4bf6135c400e6bbfeab332dbbb445b086a2d77372a7088febe42cc1049780303b254aa21b4418fd6ff2cba2fd79037ebad41589b SHA512 60e1e284e71c2f1efbaffba3a06094db44ae8772f44373bc44bc903f77f7163677f74495930141e7251ee37955bab9cd9bac71ba5cb0a159118e54eac9f9903f
DIST serverless-application-model-1.108.0.gh.tar.gz 8048482 BLAKE2B 5f894121d28c0f4a9eb97a5412f85e5df3f379bd6a69ea236a47ec7654b84a9c4dcc88607887ac1586cf6a114c94f23abf46c50bfae62d587ec0a7f5861dc6e7 SHA512 3c102a6d4e81685a8e38c650aaa2bf8613c114b785268ab5096b565fc2197f0ed7bc667c12f1f1968b820db7f51efd334d1993ee0a28e9f0a809474937a9689c
DIST serverless-application-model-1.109.0.gh.tar.gz 8098960 BLAKE2B 490790dd8959a6ce062a4c22affb7f3071d418d9e7922d6cdfd071abea0ad42a6f49932aec36787b8e543840661dfffc8ea3df0df5d8621d9562a78a148aa04a SHA512 57bf7e6c2a8dc6d2ccdcb094cad259fb9b1b816c2deb0efcec2148cb2ff3b3863ff812ac118c96a72397a52d85d2fb4be2445e9b39c78729f7316e06707b0ea5

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
# py3.14: https://github.com/aws/serverless-application-model/issues/3831
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"
RDEPEND="
<dev-python/boto3-2[${PYTHON_USEDEP}]
>=dev-python/boto3-1.34.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.23[${PYTHON_USEDEP}]
<dev-python/pydantic-3[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.12.5[${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=
}