diff options
| author | Keith Holman <Keith.Holman@windriver.com> | 2014-05-30 12:49:57 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-04 09:25:16 -0400 |
| commit | a1ee463a672a42da76f867c8829e956a54634397 (patch) | |
| tree | a0f76eba039dde7bba00dad550f5b251b786ba76 /meta-openstack | |
| parent | 0f569ea8b14f77ce6c891add486aa20a9ce67e43 (diff) | |
| download | meta-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.bb | 31 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon_git.bb | 2 |
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 | # | ||
| 4 | DESCRIPTION = "Django test runner using nose" | ||
| 5 | HOMEPAGE = "https://github.com/django-nose/django-nose" | ||
| 6 | SECTION = "devel/python" | ||
| 7 | LICENSE = "BSD" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7f88f52f66738ec7259424ce46e855c2" | ||
| 9 | |||
| 10 | PR = "r0" | ||
| 11 | SRCNAME = "django-nose" | ||
| 12 | |||
| 13 | SRC_URI = "http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "199d5358317a804b39fe05d806cab427" | ||
| 17 | SRC_URI[sha256sum] = "9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 20 | |||
| 21 | inherit setuptools | ||
| 22 | |||
| 23 | DEPENDS += " \ | ||
| 24 | python-pip \ | ||
| 25 | " | ||
| 26 | |||
| 27 | RDEPENDS_${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 | ||
| 12 | DEPENDS_${PN} += "python-django \ | 12 | DEPENDS_${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" | |||
| 119 | RDEPENDS_${PN} += " python-django \ | 120 | RDEPENDS_${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 \ |
