From 74d156db9f696cf9b3a4fbe9c006605198e261da Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Fri, 30 May 2014 12:55:02 -0400 Subject: nose-exclude: add plugin for nose to exclude directories Nose is a package to support unit testing of python source code. Node-exclude is a plugin extending Nose to specify directories to exclude from testing via the command line. Some packages require this plugin to be installed in order to run all the tests successfully. This fix creates recipe to install the node-exclude plugin on the target system. Signed-off-by: Keith Holman --- .../recipes-devtools/python/python-horizon_git.bb | 2 ++ .../python/python-nose-exclude_0.2.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb index f2d4646..3924fc8 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb +++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb @@ -17,6 +17,7 @@ RDEPENDS_${PN} += "python-django \ python-cinderclient \ python-glanceclient \ python-keystoneclient \ + python-nose-exclude \ python-novaclient \ python-neutronclient \ python-heatclient \ @@ -131,6 +132,7 @@ RDEPENDS_${PN} += " python-django \ python-keystoneclient \ python-lesscpy \ python-novaclient \ + python-nose-exclude \ python-neutronclient \ python-pytz \ python-six \ diff --git a/meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb b/meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb new file mode 100644 index 0000000..33f277b --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb @@ -0,0 +1,30 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +DESCRIPTION = "Nose plugin that allows you to easily specify directories to be excluded from testing." +HOMEPAGE = "http://bitbucket.org/kgrandis/nose-exclude" +SECTION = "devel/python" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" + +PR = "r0" +SRCNAME = "nose-exclude" + +SRC_URI = "http://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "c8d798c3e29ac82dd5c7bf98a99404af" +SRC_URI[sha256sum] = "27babdc53e0741ed09d21b7fdb5d244aabb1679f67ef81289f0f34e50aca51c9" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + " + +RDEPENDS_${PN} += " \ + python-nose \ + " + -- cgit v1.2.3-54-g00ecf