# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 pypi DESCRIPTION="Python toolkit for standardized model hosting container implementations" HOMEPAGE=" https://github.com/aws/model-hosting-container-standards https://pypi.org/project/model-hosting-container-standards/ " SRC_URI=" https://github.com/aws/model-hosting-container-standards/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz " S="${WORKDIR}/${P}/python" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" =dev-python/starlette-0.49.1[${PYTHON_USEDEP}] >=app-admin/supervisor-4.2.0 " EPYTEST_PLUGINS=( pytest-asyncio ) distutils_enable_tests pytest python_test() { # Integration tests create venvs and install packages, or launch real # supervisor trees. epytest --ignore=tests/integration }