diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb index de75a63..a326cd7 100644 --- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | |||
| @@ -5,10 +5,12 @@ LICENSE = "Apache-2.0" | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55" |
| 6 | 6 | ||
| 7 | PR = "r0" | 7 | PR = "r0" |
| 8 | SRCNAME = "keystoneclient" | ||
| 8 | 9 | ||
| 9 | SRC_URI = "\ | 10 | SRC_URI = "\ |
| 10 | git://github.com/openstack/python-keystoneclient.git;branch=master \ | 11 | git://github.com/openstack/python-keystoneclient.git;branch=master \ |
| 11 | file://fix_keystoneclient_memory_leak.patch \ | 12 | file://fix_keystoneclient_memory_leak.patch \ |
| 13 | file://keystoneclient-fix-test-path-to-example-certificates.patch \ | ||
| 12 | " | 14 | " |
| 13 | 15 | ||
| 14 | PV="0.6.0+git${SRCPV}" | 16 | PV="0.6.0+git${SRCPV}" |
| @@ -38,7 +40,13 @@ PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash- | |||
| 38 | do_install_append() { | 40 | do_install_append() { |
| 39 | install -d ${D}/${sysconfdir}/bash_completion.d | 41 | install -d ${D}/${sysconfdir}/bash_completion.d |
| 40 | install -m 664 ${S}/tools/keystone.bash_completion ${D}/${sysconfdir}/bash_completion.d | 42 | install -m 664 ${S}/tools/keystone.bash_completion ${D}/${sysconfdir}/bash_completion.d |
| 43 | |||
| 44 | cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} | ||
| 41 | } | 45 | } |
| 42 | 46 | ||
| 43 | PACKAGES =+ "${BPN}-bash-completion" | 47 | PACKAGES =+ " ${SRCNAME}-tests ${BPN}-bash-completion" |
| 44 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" | 48 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" |
| 49 | |||
| 50 | FILES_${SRCNAME}-tests = "${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ | ||
| 51 | " | ||
| 52 | |||
