1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_{6,7} )
9 DESCRIPTION="A list of standardized resource classes for OpenStack."
10 HOMEPAGE="https://github.com/openstack/os-resource-classes"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="amd64 ~arm64 x86"
18 CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
19 !~dev-python/pbr-2.1.0"
20 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
24 >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
26 python_prepare_all() {
27 sed -i '/^hacking/d' test-requirements.txt || die
28 distutils-r1_python_prepare_all