diff options
author | Keith Holman <Keith.Holman@windriver.com> | 2014-05-30 12:55:02 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-04 09:24:46 -0400 |
commit | 74d156db9f696cf9b3a4fbe9c006605198e261da (patch) | |
tree | b78c8a58ce411df0298d1206fef8c9d9dd3ca20a /meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb | |
parent | fc484b6e10fdb39fbcb46c76c06501f27f857da5 (diff) | |
download | meta-cloud-services-74d156db9f696cf9b3a4fbe9c006605198e261da.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>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-nose-exclude_0.2.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
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 | # | ||
4 | DESCRIPTION = "Nose plugin that allows you to easily specify directories to be excluded from testing." | ||
5 | HOMEPAGE = "http://bitbucket.org/kgrandis/nose-exclude" | ||
6 | SECTION = "devel/python" | ||
7 | LICENSE = "LGPL-2.1" | ||
8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" | ||
9 | |||
10 | PR = "r0" | ||
11 | SRCNAME = "nose-exclude" | ||
12 | |||
13 | SRC_URI = "http://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[md5sum] = "c8d798c3e29ac82dd5c7bf98a99404af" | ||
17 | SRC_URI[sha256sum] = "27babdc53e0741ed09d21b7fdb5d244aabb1679f67ef81289f0f34e50aca51c9" | ||
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 | " | ||
30 | |||