[meta-virtualization] [m-c-s][PATCH 4/6] python-requestsexceptions: add new recipe

Mark Asselstine mark.asselstine at windriver.com
Fri Jan 20 13:59:33 PST 2017


This is required for the uprev of python-os-client-config to the
latest stable/newton.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 .../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 \
+        "
-- 
2.7.4



More information about the meta-virtualization mailing list