diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-05-14 16:15:41 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-23 14:43:04 -0400 |
| commit | a4bf3aa09a911cb75c78567760897a8bfb2a1d0b (patch) | |
| tree | aaf8ee7ac14c50c9731266558120304dab07ef80 /meta-openstack/recipes-devtools/python/python-heatclient_git.bb | |
| parent | f3b8da25e085cf327ce0282c3a5eb8de8634caaa (diff) | |
| download | meta-cloud-services-a4bf3aa09a911cb75c78567760897a8bfb2a1d0b.tar.gz | |
heatclient: add heatclient-tests bb
Heatclient tests requires python-mox3 and python-testscenarios.
Create additional heatclient-tests package when included into
final image will also include these 2 packages into final image.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heatclient_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb index bd9a68d..4547a98 100644 --- a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb | |||
| @@ -19,6 +19,7 @@ RDEPENDS_${PN} +="python-cliff \ | |||
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | PR = "r0" | 21 | PR = "r0" |
| 22 | SRCNAME = "heatclient" | ||
| 22 | 23 | ||
| 23 | SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" | 24 | SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" |
| 24 | 25 | ||
| @@ -37,5 +38,10 @@ do_install_append() { | |||
| 37 | install -m 664 ${S}/tools/heat.bash_completion ${D}/${sysconfdir}/bash_completion.d | 38 | install -m 664 ${S}/tools/heat.bash_completion ${D}/${sysconfdir}/bash_completion.d |
| 38 | } | 39 | } |
| 39 | 40 | ||
| 40 | PACKAGES =+ "${BPN}-bash-completion" | 41 | PACKAGES =+ "${SRCNAME}-tests ${BPN}-bash-completion" |
| 41 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" | 42 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" |
| 43 | ALLOW_EMPTY_${SRCNAME}-tests = "1" | ||
| 44 | |||
| 45 | RDEPENDS_${SRCNAME}-tests += "python-testscenarios \ | ||
| 46 | python-mox3 \ | ||
| 47 | " | ||
