mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
Closes: https://bugs.gentoo.org/848231 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
39 lines
949 B
Bash
39 lines
949 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="OpenStack library for collecting metrics from Oslo libraries"
|
|
HOMEPAGE="
|
|
https://pypi.org/project/oslo.metrics/
|
|
https://opendev.org/openstack/oslo.metrics
|
|
https://launchpad.net/oslo.metrics
|
|
"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/oslo.metrics/oslo.metrics-${PV}.tar.gz"
|
|
S="${WORKDIR}/oslo.metrics-${PV}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-utils-3.41.0[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-config-6.9.0[${PYTHON_USEDEP}]
|
|
>=dev-python/prometheus_client-0.6.0[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
test? (
|
|
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|