On 2017-01-30 10:16 PM, Mark Asselstine wrote:
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.


all merged.

Bruce

Signed-off-by: Mark Asselstine <[email protected]>
---
 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 \
+    "


--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to