[meta-virtualization] [m-c-s][PATCH] python-kombu: add version 3.0.37

Mark Asselstine mark.asselstine at windriver.com
Mon Jan 30 19:16:28 PST 2017


The 4.x.x series requires the amqp>=2 which is outside of the range of
amqp versions supported versions required for python-oslo.messaging
therefore we need to continue support for the 3.0.x series and force
its use via the layer.conf and PREFERRED_VERSION.

This is an updated version of the python-kombu recipe for the 3.0.x
series with updated license checksup (the license type remains the
same) and updated runtime dependencies based on the packages
requirements/default.txt.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/conf/layer.conf                     |  1 +
 .../recipes-devtools/python/python-kombu_3.0.37.bb | 23 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-kombu_3.0.37.bb

diff --git a/meta-openstack/conf/layer.conf b/meta-openstack/conf/layer.conf
index e940478..98282e2 100644
--- a/meta-openstack/conf/layer.conf
+++ b/meta-openstack/conf/layer.conf
@@ -20,5 +20,6 @@ PREFERRED_VERSION_python-netaddr = "0.7.19"
 PREFERRED_VERSION_python-sqlalchemy = "1.0.16"
 PREFERRED_VERSION_python-requests = "2.12.0"
 PREFERRED_VERSION_python-amqp = "1.4.9"
+PREFERRED_VERSION_python-kombu = "3.0.%"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
diff --git a/meta-openstack/recipes-devtools/python/python-kombu_3.0.37.bb b/meta-openstack/recipes-devtools/python/python-kombu_3.0.37.bb
new file mode 100644
index 0000000..16e3f0a
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-kombu_3.0.37.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "A messaging framework for Python"
+HOMEPAGE = "http://kombu.readthedocs.org"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ee3b641e9940ba25a4dd66b3942866cf"
+
+SRCNAME = "kombu"
+
+SRC_URI = "https://pypi.io/packages/source/k/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "a1901036ba5e70e6b1733f7c2d5ee313"
+SRC_URI[sha256sum] = "e064a00c66b4d1058cd2b0523fb8d98c82c18450244177b6c0f7913016642650"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+FILES_${PN}-doc += "${datadir}/${SRCNAME}"
+
+RDEPENDS_${PN} = " \
+    python-anyjson \
+    python-amqp \
+    "
-- 
2.7.4



More information about the meta-virtualization mailing list