From 4e791aa8405287442732db2198a83cc3fab85a1a Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Thu, 5 Jun 2014 14:31:42 -0400 Subject: 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 --- .../recipes-devtools/python/python-keystone_git.bb | 1 + .../python/python-openstack-nose_0.11.bb | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-openstack-nose_0.11.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index a692f82..794f119 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} += " \ python-lxml \ python-iso8601 \ python-keystoneclient \ + python-openstack-nose \ python-oslo.config \ python-dogpile.core \ 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 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +DESCRIPTION = "Openstack style output for nosetests" +HOMEPAGE = "https://github.com/jkoelker/openstack-nose" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +PR = "r0" +SRCNAME = "openstack.nose_plugin" + +SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "0c6547f413db8c66921b110f78132aac" +SRC_URI[sha256sum] = "a28d44dc23de8164d7893da7020404c73c4325b46d5507911f0257c15f613b4f" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + " + +RDEPENDS_${PN} += " \ + python-nose \ + python-colorama \ + python-termcolor \ + " + -- cgit v1.2.3-54-g00ecf