From fc484b6e10fdb39fbcb46c76c06501f27f857da5 Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Fri, 30 May 2014 12:49:57 -0400 Subject: 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 --- .../python/python-django-nose_1.2.bb | 31 ++++++++++++++++++++++ .../recipes-devtools/python/python-horizon_git.bb | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-django-nose_1.2.bb (limited to 'meta-openstack') 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 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +DESCRIPTION = "Django test runner using nose" +HOMEPAGE = "https://github.com/django-nose/django-nose" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7f88f52f66738ec7259424ce46e855c2" + +PR = "r0" +SRCNAME = "django-nose" + +SRC_URI = "http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "199d5358317a804b39fe05d806cab427" +SRC_URI[sha256sum] = "9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + " + +RDEPENDS_${PN} += " \ + python-django \ + python-nose \ + " + diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb index 9249cc1..f2d4646 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 += " \ RDEPENDS_${PN} += "python-django \ python-django-compressor \ + python-django-nose \ python-django-openstack-auth \ python-netaddr \ python-cinderclient \ @@ -120,6 +121,7 @@ RDEP_ARCH_VAR_ia32 = "nodejs" RDEPENDS_${PN} += " python-django \ python-django-appconf \ python-django-compressor \ + python-django-nose \ python-django-openstack-auth \ python-netaddr \ python-ceilometerclient \ -- cgit v1.2.3-54-g00ecf