summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb18
1 files changed, 5 insertions, 13 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
index 0b67e40..1c1d4ec 100644
--- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
@@ -7,18 +7,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55"
7SRCNAME = "keystoneclient" 7SRCNAME = "keystoneclient"
8 8
9SRC_URI = "\ 9SRC_URI = "\
10 git://github.com/openstack/python-keystoneclient.git;branch=master \ 10 git://github.com/openstack/python-keystoneclient.git;branch=stable/newton \
11 file://fix_keystoneclient_memory_leak.patch \
12 file://keystone-api-check.sh \ 11 file://keystone-api-check.sh \
13 " 12 "
14 13
15PV = "1.7.1+git${SRCPV}" 14PV = "3.5.1+git${SRCPV}"
16SRCREV = "28138b588224c6b0503620ac2e24bd37dad25370" 15SRCREV = "7c40ff8466dc5e49f93752ecb998db864f8e5598"
17S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
18 17
19inherit setuptools monitor rmargparse 18inherit setuptools monitor rmargparse
20 19
21FILES_${PN}-doc += "${datadir}/keystoneclient" 20FILES_${PN}-doc += "${datadir}/keystoneclient"
22 21
23DEPENDS += " \ 22DEPENDS += " \
24 python-pip \ 23 python-pip \
@@ -41,18 +40,11 @@ RDEPENDS_${PN} += " \
41 python-argparse \ 40 python-argparse \
42 " 41 "
43 42
44PACKAGECONFIG ?= "bash-completion"
45PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion"
46
47do_install_append() { 43do_install_append() {
48 install -d ${D}/${sysconfdir}/bash_completion.d
49 install -m 664 ${S}/tools/keystone.bash_completion ${D}/${sysconfdir}/bash_completion.d
50
51 cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} 44 cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}
52} 45}
53 46
54PACKAGES =+ " ${SRCNAME}-tests ${BPN}-bash-completion" 47PACKAGES =+ " ${SRCNAME}-tests"
55FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
56 48
57FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ 49FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \
58 " 50 "