From 67b60c4207fa4856f13ccbbb0543aac05030ffde Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Wed, 18 Jun 2014 16:13:01 -0400 Subject: coverage: add recipe for coverage tool and dependency Nova requires the python-coverage to be available in order for the unit tests supplied to pass. This fix adds a recipe in order to build the coverage tool. It also adds the dependency to the new package to the recipe to build nova. Signed-off-by: Keith Holman --- .../python/python-coverage_3.7.1.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb (limited to 'meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb') diff --git a/meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb b/meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb new file mode 100644 index 0000000..037f4f7 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb @@ -0,0 +1,26 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +DESCRIPTION = "Code coverage measurement for Python" +HOMEPAGE = "https://pypi.python.org/pypi/coverage" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb" + +PR = "r0" +SRCNAME = "coverage" + +SRC_URI = "http://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "c47b36ceb17eaff3ecfab3bcd347d0df" +SRC_URI[sha256sum] = "d1aea1c4aa61b8366d6a42dd3650622fbf9c634ed24eaf7f379c8b970e5ed44e" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + " + -- cgit v1.2.3-54-g00ecf