summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Holman <Keith.Holman@windriver.com>2014-05-30 12:55:02 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-04 09:25:17 -0400
commit49263d8e69fec058f300d4b5e98c667069a4cbbd (patch)
tree2bb3e59cc3a84163823fb26fe9da34a74ed15280
parenta1ee463a672a42da76f867c8829e956a54634397 (diff)
downloadmeta-cloud-services-49263d8e69fec058f300d4b5e98c667069a4cbbd.tar.gz
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 <Keith.Holman@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon_git.bb2
-rw-r--r--meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb30
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
index 5a80e8c..af74472 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 @@ DEPENDS_${PN} += "python-django \
17 python-cinderclient \ 17 python-cinderclient \
18 python-glanceclient \ 18 python-glanceclient \
19 python-keystoneclient \ 19 python-keystoneclient \
20 python-nose-exclude \
20 python-novaclient \ 21 python-novaclient \
21 python-neutronclient \ 22 python-neutronclient \
22 python-heatclient \ 23 python-heatclient \
@@ -130,6 +131,7 @@ RDEPENDS_${PN} += " python-django \
130 python-keystoneclient \ 131 python-keystoneclient \
131 python-lesscpy \ 132 python-lesscpy \
132 python-novaclient \ 133 python-novaclient \
134 python-nose-exclude \
133 python-neutronclient \ 135 python-neutronclient \
134 python-pytz \ 136 python-pytz \
135 python-six \ 137 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 @@
1#
2# Copyright (C) 2014 Wind River Systems, Inc.
3#
4DESCRIPTION = "Nose plugin that allows you to easily specify directories to be excluded from testing."
5HOMEPAGE = "http://bitbucket.org/kgrandis/nose-exclude"
6SECTION = "devel/python"
7LICENSE = "LGPL-2.1"
8LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
9
10PR = "r0"
11SRCNAME = "nose-exclude"
12
13SRC_URI = "http://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
14 "
15
16SRC_URI[md5sum] = "c8d798c3e29ac82dd5c7bf98a99404af"
17SRC_URI[sha256sum] = "27babdc53e0741ed09d21b7fdb5d244aabb1679f67ef81289f0f34e50aca51c9"
18
19S = "${WORKDIR}/${SRCNAME}-${PV}"
20
21inherit setuptools
22
23DEPENDS += " \
24 python-pip \
25 "
26
27RDEPENDS_${PN} += " \
28 python-nose \
29 "
30