1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7} )
9 DESCRIPTION="OpenStack Client Configuation Library"
10 HOMEPAGE="https://www.openstack.org/"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="amd64 ~arm64 x86"
18 CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"
20 dev-python/setuptools[${PYTHON_USEDEP}]
25 >=dev-python/openstacksdk-0.13.0[${PYTHON_USEDEP}]
29 "${FILESDIR}"/test_get_all_clouds.patch
32 python_prepare_all() {
33 sed -i '/^hacking/d' test-requirements.txt || die
34 distutils-r1_python_prepare_all