# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MYPN="${PN/_/-python-}" PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 DESCRIPTION="A collection of Python instrumentation tools for the OpenTracing API" HOMEPAGE=" https://github.com/uber-common/opentracing-python-instrumentation https://pypi.org/project/opentracing-instrumentation/ " SRC_URI="https://github.com/uber-common/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MYPN}-${PV}" SLOT="0" LICENSE="MIT" KEYWORDS="~amd64" RDEPEND=" dev-python/future[${PYTHON_USEDEP}] dev-python/wrapt[${PYTHON_USEDEP}] >=www-servers/tornado-4.1[${PYTHON_USEDEP}] >=dev-python/opentracing-2[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" BDEPEND=" test? ( dev-python/boto3[${PYTHON_USEDEP}] dev-python/botocore[${PYTHON_USEDEP}] dev-python/celery[${PYTHON_USEDEP}] dev-python/doubles[${PYTHON_USEDEP}] dev-python/moto[${PYTHON_USEDEP}] dev-python/psycopg:2[${PYTHON_USEDEP}] >=dev-python/sqlalchemy-1.3.7[${PYTHON_USEDEP}] dev-python/pytest-localserver[${PYTHON_USEDEP}] dev-python/pytest-tornado[${PYTHON_USEDEP}] >=dev-python/basictracer-3[${PYTHON_USEDEP}] dev-python/redis-py[${PYTHON_USEDEP}] dev-python/testfixtures[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] ) " PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" ) distutils_enable_tests pytest