# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi DESCRIPTION="ASGI instrumentation for OpenTelemetry" HOMEPAGE=" https://github.com/open-telemetry/opentelemetry-python-contrib https://pypi.org/project/opentelemetry-instrumentation-asgi/ " LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" OTIO_MAJOR_VER="1.45" OTIO_VER="${OTIO_MAJOR_VER}.$(ver_cut 4)" RDEPEND=" dev-python/asgiref[${PYTHON_USEDEP}] ~dev-python/opentelemetry-api-${OTIO_VER}[${PYTHON_USEDEP}] ~dev-python/opentelemetry-instrumentation-${PV}[${PYTHON_USEDEP}] ~dev-python/opentelemetry-semantic-conventions-${OTIO_VER}[${PYTHON_USEDEP}] ~dev-python/opentelemetry-util-http-${PV}[${PYTHON_USEDEP}] " BDEPEND=" test? ( ~dev-python/opentelemetry-api-${OTIO_VER}[${PYTHON_USEDEP}] ~dev-python/opentelemetry-sdk-${OTIO_VER}[${PYTHON_USEDEP}] ~dev-python/opentelemetry-test-utils-${OTIO_VER}[${PYTHON_USEDEP}] ) " EPYTEST_PLUGINS=() distutils_enable_tests pytest