diff options
| author | Keith Holman <Keith.Holman@windriver.com> | 2014-06-18 16:13:01 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-23 12:37:11 -0400 |
| commit | 9ad82d01b2d7fca3cfef194da0c74fe253380550 (patch) | |
| tree | c0fa683bb2c963f98e47f2faf962433b995a2c00 /meta-openstack | |
| parent | c030ef7f8c2a15f7c7d0faa7122d99b853133e9f (diff) | |
| download | meta-cloud-services-9ad82d01b2d7fca3cfef194da0c74fe253380550.tar.gz | |
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 <Keith.Holman@windriver.com>
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-coverage_3.7.1.bb | 26 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova_git.bb | 4 |
2 files changed, 30 insertions, 0 deletions
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 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2014 Wind River Systems, Inc. | ||
| 3 | # | ||
| 4 | DESCRIPTION = "Code coverage measurement for Python" | ||
| 5 | HOMEPAGE = "https://pypi.python.org/pypi/coverage" | ||
| 6 | SECTION = "devel/python" | ||
| 7 | LICENSE = "BSD" | ||
| 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb" | ||
| 9 | |||
| 10 | PR = "r0" | ||
| 11 | SRCNAME = "coverage" | ||
| 12 | |||
| 13 | SRC_URI = "http://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "c47b36ceb17eaff3ecfab3bcd347d0df" | ||
| 17 | SRC_URI[sha256sum] = "d1aea1c4aa61b8366d6a42dd3650622fbf9c634ed24eaf7f379c8b970e5ed44e" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 20 | |||
| 21 | inherit setuptools | ||
| 22 | |||
| 23 | DEPENDS += " \ | ||
| 24 | python-pip \ | ||
| 25 | " | ||
| 26 | |||
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 9405123..065bc84 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
| @@ -281,6 +281,10 @@ RDEPENDS_${SRCNAME}-compute = "${PN} ${SRCNAME}-common \ | |||
| 281 | qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh" | 281 | qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh" |
| 282 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-common" | 282 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}-common" |
| 283 | 283 | ||
| 284 | RDEPENDS_${SRCNAME}-tests = " \ | ||
| 285 | python-coverage \ | ||
| 286 | " | ||
| 287 | |||
| 284 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute ${SRCNAME}-consoleauth ${SRCNAME}-novncproxy ${SRCNAME}-spicehtml5proxy" | 288 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute ${SRCNAME}-consoleauth ${SRCNAME}-novncproxy ${SRCNAME}-spicehtml5proxy" |
| 285 | INITSCRIPT_PACKAGES += "${SRCNAME}-network ${SRCNAME}-scheduler ${SRCNAME}-cert ${SRCNAME}-conductor" | 289 | INITSCRIPT_PACKAGES += "${SRCNAME}-network ${SRCNAME}-scheduler ${SRCNAME}-cert ${SRCNAME}-conductor" |
| 286 | INITSCRIPT_PACKAGES += "${SRCNAME}-api" | 290 | INITSCRIPT_PACKAGES += "${SRCNAME}-api" |
