diff options
| author | Keith Holman <Keith.Holman@windriver.com> | 2014-06-05 14:31:42 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-09 09:45:08 -0400 |
| commit | cb51b975094c964def9abcd466cdec64ec338c3c (patch) | |
| tree | 82245933e9146f1dac01548a0aeaea97f0dfe235 /meta-openstack | |
| parent | 758a55f4403f49b403f78b0a945567fa44b90769 (diff) | |
| download | meta-cloud-services-cb51b975094c964def9abcd466cdec64ec338c3c.tar.gz | |
openstack-nose: plugin for openstack style output
Openstack components provide a run_tests.sh script for
running unit tests. Some of these tests expect the
openstack-nose plugin to be installed. This fix provides
a recipe for the building that plugin in order to allow
the various run_tests.sh scripts to run.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 1 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-openstack-nose_0.11.bb | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index b18b001..b4b069e 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -131,6 +131,7 @@ RDEPENDS_${PN} += " \ | |||
| 131 | python-lxml \ | 131 | python-lxml \ |
| 132 | python-iso8601 \ | 132 | python-iso8601 \ |
| 133 | python-keystoneclient \ | 133 | python-keystoneclient \ |
| 134 | python-openstack-nose \ | ||
| 134 | python-oslo.config \ | 135 | python-oslo.config \ |
| 135 | python-dogpile.core \ | 136 | python-dogpile.core \ |
| 136 | python-dogpile.cache \ | 137 | python-dogpile.cache \ |
diff --git a/meta-openstack/recipes-devtools/python/python-openstack-nose_0.11.bb b/meta-openstack/recipes-devtools/python/python-openstack-nose_0.11.bb new file mode 100644 index 0000000..eaa4c0c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-openstack-nose_0.11.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2014 Wind River Systems, Inc. | ||
| 3 | # | ||
| 4 | DESCRIPTION = "Openstack style output for nosetests" | ||
| 5 | HOMEPAGE = "https://github.com/jkoelker/openstack-nose" | ||
| 6 | SECTION = "devel/python" | ||
| 7 | LICENSE = "Apache-2.0" | ||
| 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | ||
| 9 | |||
| 10 | PR = "r0" | ||
| 11 | SRCNAME = "openstack.nose_plugin" | ||
| 12 | |||
| 13 | SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "0c6547f413db8c66921b110f78132aac" | ||
| 17 | SRC_URI[sha256sum] = "a28d44dc23de8164d7893da7020404c73c4325b46d5507911f0257c15f613b4f" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 20 | |||
| 21 | inherit setuptools | ||
| 22 | |||
| 23 | DEPENDS += " \ | ||
| 24 | python-pip \ | ||
| 25 | " | ||
| 26 | |||
| 27 | RDEPENDS_${PN} += " \ | ||
| 28 | python-nose \ | ||
| 29 | python-colorama \ | ||
| 30 | python-termcolor \ | ||
| 31 | " | ||
| 32 | |||
