Files
guru/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
Alessandro Barbieri cc3e6b1027 dev-python/opentracing_instrumentation: pypi homepage
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-26 18:35:06 +02:00

53 lines
1.5 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPN="${PN/_/-python-}"
PYTHON_COMPAT=( python3_8 )
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