From 2d14b1fc9eac7e22f6d4a305fe9bdf94ef46dcbc Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Fri, 20 Jan 2017 16:59:33 -0500 Subject: python-requestsexceptions: add new recipe This is required for the uprev of python-os-client-config to the latest stable/newton. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- .../python/python-requestsexceptions_1.1.3.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-requestsexceptions_1.1.3.bb diff --git a/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.1.3.bb b/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.1.3.bb new file mode 100644 index 0000000..4975e52 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.1.3.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Import exceptions from potentially bundled packages in requests." +HOMEPAGE = "https://www.openstack.org/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" + +PR = "r0" + +SRCNAME = "requestsexceptions" +SRC_URI = "http://pypi.io/packages/source/r/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "edf208c247261157bf7a97d7c792d914" +SRC_URI[sha256sum] = "d678b872f51f76d875e00e6667f4ddbf013b3a99490ae5fe07cf3e4f846e283e" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +# conflicting file prevention +do_install_append() { + rm -f ${D}${libdir}/python*/site-packages/tests/* +} + +DEPENDS += " \ + python-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + " -- cgit v1.2.3-54-g00ecf