summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorKeith Holman <Keith.Holman@windriver.com>2014-05-30 12:49:57 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-04 09:25:16 -0400
commita1ee463a672a42da76f867c8829e956a54634397 (patch)
treea0f76eba039dde7bba00dad550f5b251b786ba76 /meta-openstack
parent0f569ea8b14f77ce6c891add486aa20a9ce67e43 (diff)
downloadmeta-cloud-services-a1ee463a672a42da76f867c8829e956a54634397.tar.gz
django-nose: add recipe and dependencies for testing
Horizon provides unit tests for testing its deployment in target environment. These tests make use of django-nose testing framework. This provides a recipe for building django-nose and adds a dependency from Horizon on this recipe. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-django-nose_1.2.bb31
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon_git.bb2
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-django-nose_1.2.bb b/meta-openstack/recipes-devtools/python/python-django-nose_1.2.bb
new file mode 100644
index 0000000..0c2eee2
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-django-nose_1.2.bb
@@ -0,0 +1,31 @@
1#
2# Copyright (C) 2014 Wind River Systems, Inc.
3#
4DESCRIPTION = "Django test runner using nose"
5HOMEPAGE = "https://github.com/django-nose/django-nose"
6SECTION = "devel/python"
7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=7f88f52f66738ec7259424ce46e855c2"
9
10PR = "r0"
11SRCNAME = "django-nose"
12
13SRC_URI = "http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
14 "
15
16SRC_URI[md5sum] = "199d5358317a804b39fe05d806cab427"
17SRC_URI[sha256sum] = "9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed"
18
19S = "${WORKDIR}/${SRCNAME}-${PV}"
20
21inherit setuptools
22
23DEPENDS += " \
24 python-pip \
25 "
26
27RDEPENDS_${PN} += " \
28 python-django \
29 python-nose \
30 "
31
diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
index 02473c1..5a80e8c 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
@@ -11,6 +11,7 @@ DEPENDS += " \
11 11
12DEPENDS_${PN} += "python-django \ 12DEPENDS_${PN} += "python-django \
13 python-django-compressor \ 13 python-django-compressor \
14 python-django-nose \
14 python-django-openstack-auth \ 15 python-django-openstack-auth \
15 python-netaddr \ 16 python-netaddr \
16 python-cinderclient \ 17 python-cinderclient \
@@ -119,6 +120,7 @@ RDEP_ARCH_VAR_ia32 = "nodejs"
119RDEPENDS_${PN} += " python-django \ 120RDEPENDS_${PN} += " python-django \
120 python-django-appconf \ 121 python-django-appconf \
121 python-django-compressor \ 122 python-django-compressor \
123 python-django-nose \
122 python-django-openstack-auth \ 124 python-django-openstack-auth \
123 python-netaddr \ 125 python-netaddr \
124 python-ceilometerclient \ 126 python-ceilometerclient \