mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-python/aws-sam-translator: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST serverless-application-model-1.112.0.gh.tar.gz 8176916 BLAKE2B 649bcfceae7cecbe35f34bfeb447891cb1cc09142fae8cf0b33764a5fea6647e7419853a169aa73c7f6439a602ac62c5faf838ac68e030a129ff0ccf14cac3b9 SHA512 ff7a791dd8b597b3f47a53053a3e522467e47fa2ab6dd43db0c6ddd29f2b098d86411b3c4b9b38cce4968170dc6ef255ed9481e5937196aea3222b1adb55e0b0
|
||||
DIST serverless-application-model-1.113.0.gh.tar.gz 8214345 BLAKE2B 08a25b1a13025af10eaccd7ed0a3ee466c603d72c0276c83eab63b0d2222650fcc6a0c1ddcb769e9df7424e6432d2a8de9dea2db5770524a9b024952028805ae SHA512 613549dd86162f0e272d49ff528940a33924ca79e993f02cd947ed148a8bfc862a82302bfb1eea4d827a479ac2b62bbe4d6e8fd6fdea79b2dd32bc480b9c5422
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
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=
|
||||
}
|
||||
Reference in New Issue
Block a user