From 89e623cce5a8810197602ae4ab0993e33b7a3bf6 Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Fri, 20 Jun 2014 13:09:43 -0400 Subject: httpretty: create recipe for package Keystoneclient tests require the package httpretty be available on the system in order to run. This fix includes a recipe file for obtaining and building httpretty. The fix also adds httpretty as a dependency of keystoneclient. Signed-off-by: Keith Holman --- .../python/python-httpretty_0.8.0.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-httpretty_0.8.0.bb (limited to 'meta-openstack/recipes-devtools/python/python-httpretty_0.8.0.bb') diff --git a/meta-openstack/recipes-devtools/python/python-httpretty_0.8.0.bb b/meta-openstack/recipes-devtools/python/python-httpretty_0.8.0.bb new file mode 100644 index 0000000..0ceb7bc --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-httpretty_0.8.0.bb @@ -0,0 +1,26 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +DESCRIPTION = "HTTP client mock for Python" +HOMEPAGE = "https://pypi.python.org/pypi/httpretty" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=fac859f0c7aee8d7f10b1aa5b130d1a7" + +PR = "r0" +SRCNAME = "httpretty" + +SRC_URI = "https://pypi.python.org/packages/source/h/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "2d5ea5205c358fa489e6de6fc74c00fa" +SRC_URI[sha256sum] = "e5512b38ad3bfb9f7d275c957b4a7eddc69e4b3a749e3b62a984c86fb6ab329b" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + " + -- cgit v1.2.3-54-g00ecf