mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
Closes: https://bugs.gentoo.org/848234 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
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
|
|
|
|
MY_PN=${PN/-/.}
|
|
|
|
DESCRIPTION="Limit enforcement library to assist with quota calculation"
|
|
HOMEPAGE="
|
|
https://opendev.org/openstack/oslo.limit
|
|
https://pypi.org/project/oslo.limit/
|
|
https://github.com/openstack/oslo.limit
|
|
"
|
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
>=dev-python/keystoneauth-3.9.0[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
|
>=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}]
|
|
>=dev-python/openstacksdk-0.31.1[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
"
|
|
BDEPEND="
|
|
test? (
|
|
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
|
|
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
RESTRICT="test"
|
|
|
|
distutils_enable_tests pytest
|