From f2a2abc37c92881156ed84f2aa9f86b5bcd0e112 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 14 May 2014 16:15:41 -0400 Subject: 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 --- meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python/python-heatclient_git.bb') 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 \ " PR = "r0" +SRCNAME = "heatclient" SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" @@ -37,5 +38,10 @@ do_install_append() { install -m 664 ${S}/tools/heat.bash_completion ${D}/${sysconfdir}/bash_completion.d } -PACKAGES =+ "${BPN}-bash-completion" +PACKAGES =+ "${SRCNAME}-tests ${BPN}-bash-completion" FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" +ALLOW_EMPTY_${SRCNAME}-tests = "1" + +RDEPENDS_${SRCNAME}-tests += "python-testscenarios \ + python-mox3 \ + " -- cgit v1.2.3-54-g00ecf