# 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 DESCRIPTION="An OpenSource Cloudformation Deployment Framework" HOMEPAGE="https://github.com/aws-ia/taskcat" SRC_URI="https://github.com/aws-ia/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="test" RDEPEND="dev-python/boto3[${PYTHON_USEDEP}] dev-python/botocore[${PYTHON_USEDEP}] dev-python/cfn-lint[${PYTHON_USEDEP}] dev-python/dataclasses-jsonschema[${PYTHON_USEDEP}] dev-python/docker[${PYTHON_USEDEP}] dev-python/dulwich[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}] dev-python/markupsafe[${PYTHON_USEDEP}] dev-python/pathspec[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/reprint[${PYTHON_USEDEP}] dev-python/tabulate[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] dev-python/yattag[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" distutils_enable_tests unittest python_prepare_all() { # Remove test needs docker and network rm tests/test_lambda_package.py || die "rm test_lambda_package.py failed" rm tests/test_amiupdater.py || die "rm test_amiupdater.py failed" rm tests/test_cli_module_package.py || die "rm test_cli_module_package.py failed" distutils-r1_python_prepare_all }