aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-novaclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-novaclient_git.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-novaclient_git.bb b/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
index 44f73fa1..af9c601f 100644
--- a/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
@@ -5,7 +5,7 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7cdb54622cacc9bc9b2883091e6dd669"
SRC_URI = "\
- git://github.com/openstack/python-novaclient.git;branch=stable/pike \
+ git://github.com/openstack/python-novaclient.git;branch=stable/pike;protocol=https \
file://nova-api-check.sh \
"
@@ -13,7 +13,7 @@ PV = "9.1.1+git${SRCPV}"
SRCREV = "204eff6dc7b234d2807a6caa24a2fc58ebee520b"
S = "${WORKDIR}/git"
-inherit setuptools monitor rmargparse
+inherit setuptools3 monitor rmargparse
DEPENDS += " \
python-pip \
@@ -25,7 +25,7 @@ DEPENDS += " \
python-pbr-native \
"
-RDEPENDS_${PN} += " \
+RDEPENDS:${PN} += " \
python-pbr \
python-keystoneauth1 \
python-iso8601 \
@@ -36,12 +36,13 @@ RDEPENDS_${PN} += " \
python-simplejson \
python-six \
python-babel \
+ bash \
"
PACKAGECONFIG ?= "bash-completion"
PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion"
-do_install_append() {
+do_install:append() {
install -d ${D}/${sysconfdir}/bash_completion.d
install -m 664 ${S}/tools/nova.bash_completion ${D}/${sysconfdir}/bash_completion.d
@@ -52,7 +53,7 @@ do_install_append() {
}
PACKAGES =+ "${BPN}-bash-completion"
-FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
+FILES:${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
MONITOR_CHECKS_${PN} += "\
nova-api-check.sh \