Skip to contentSkip to conversation

python-pyzmq: Add python-multiprocessing in RDEPENDS

PATCH New Fabio Berton 1 participant 2 messages Sep 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 python-pyzmq: Add python-multiprocessing in RDEPENDS

Fix the following runtime error:

Quoted 1 line
Quoted 1 line
Quoted 1 line

import zmq

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/zmq/__init__.py", line 53, in <module>
from zmq import devices
File "/usr/lib/python2.7/site-packages/zmq/devices/__init__.py", line 7, in <module>
from zmq.devices import basedevice, proxydevice, monitoredqueue, monitoredqueuedevice
File "/usr/lib/python2.7/site-packages/zmq/devices/basedevice.py", line 9, in <module>
from multiprocessing import Process
ImportError: No module named multiprocessing

---
 meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb +2 -0
index 0d822f5..949b7e1 100644
@@ -15,6 +15,8 @@ S = "${WORKDIR}/pyzmq-${PV}"
 
 inherit setuptools pkgconfig
 
+RDEPENDS_${PN} += "python-multiprocessing"
+
 FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
 
 do_compile_prepend() {
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 2/2 python-cffi: Upgrade to version 1.2.1

---
 .../python/{python-cffi_0.9.2.bb => python-cffi_1.2.1.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-cffi_0.9.2.bb => python-cffi_1.2.1.bb} (62%)
meta-python/recipes-devtools/python/python-cffi_1.2.1.bb renamed from meta-python/recipes-devtools/python/python-cffi_0.9.2.bb +2 -2
similarity index 62%
rename from meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
rename to meta-python/recipes-devtools/python/python-cffi_1.2.1.bb
index 90d8099..0d0958c 100644
@@ -3,8 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
 DEPENDS = "libffi python-pycparser"
 
-SRC_URI[md5sum] = "b1bf4625ae07a8a932f2f1a2eb200c54"
-SRC_URI[sha256sum] = "1988ce7ff9c64ecd5077776175e90fd8f0a8c827cb241a23647175ce08126bb2"
+SRC_URI[md5sum] = "faca1e420e80433db409bb1bdd0a3f45"
+SRC_URI[sha256sum] = "eab571deb0a152e2f53c404c08a94870a131526896cad08cd43bf86ce3771e3d"
 
 inherit pypi
 
Signature · 1 line
2.1.4