blob: 9fac59d206570b2e95ad8c09298c8253dada1132 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
DESCRIPTION = "CLI and python client library for OpenStack Neutron"
HOMEPAGE = "https://launchpad.net/neutron"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
DEPENDS += " \
python-pip \
python-pbr \
"
# Satisfy setup.py 'setup_requires'
DEPENDS += " \
python-pbr-native \
"
RDEPENDS_${PN} += " \
python-pbr \
python-cliff \
python-debtcollector \
python-iso8601 \
python-netaddr \
python-osc-lib \
python-oslo.i18n \
python-oslo.serialization \
python-oslo.utils \
python-os-client-config \
python-keystoneauth1 \
python-keystoneclient \
python-requests \
python-simplejson \
python-six \
python-babel \
bash \
"
SRC_URI = "git://github.com/openstack/python-neutronclient.git;branch=stable/pike \
file://neutronclient-use-csv-flag-instead-of-json.patch \
file://neutron-api-check.sh \
"
PV = "6.5.0+git${SRCPV}"
SRCREV = "e145c4ef8a0e8390f0468df422a757760e77f823"
S = "${WORKDIR}/git"
inherit setuptools monitor rmargparse
PACKAGECONFIG ?= "bash-completion"
PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion"
do_install_append() {
install -d ${D}/${sysconfdir}/bash_completion.d
install -m 664 ${S}/tools/neutron.bash_completion ${D}/${sysconfdir}/bash_completion.d
}
PACKAGES =+ "${BPN}-bash-completion"
FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
MONITOR_CHECKS_${PN} += "\
neutron-api-check.sh \
"
|