summaryrefslogtreecommitdiff
blob: 065158934cd56fe5dedc4e6b0e41f48c9c54ec02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{5,6} )

inherit distutils-r1

DESCRIPTION="A client for the OpenStack Nova API"
HOMEPAGE="https://github.com/rackerlabs/rackspace-novaclient"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
	>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
	>=dev-python/rackspace-auth-openstack-1.3[${PYTHON_USEDEP}]
	>=dev-python/os-diskconfig-python-novaclient-ext-0.1.2[${PYTHON_USEDEP}]
	!dev-python/rax-backup-schedule-python-novaclient-ext[${PYTHON_USEDEP}]
	>=dev-python/os-networksv2-python-novaclient-ext-0.21[${PYTHON_USEDEP}]
	>=dev-python/os-virtual-interfacesv2-python-novaclient-ext-0.15[${PYTHON_USEDEP}]
	>=dev-python/rax-default-network-flags-python-novaclient-ext-0.2.4[${PYTHON_USEDEP}]
	dev-python/ip-associations-python-novaclient-ext[${PYTHON_USEDEP}]"

python_prepare() {
	mkdir -p "${BUILD_DIR}" || die
}