summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-pyzmq.inc (renamed from meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb)17
-rw-r--r--meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch31
-rw-r--r--meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb2
4 files changed, 23 insertions, 29 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb b/meta-python/recipes-devtools/python/python-pyzmq.inc
index b5baf82df1..2447c2f34b 100644
--- a/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-pyzmq.inc
@@ -1,16 +1,19 @@
1SUMMARY = "Pyzmq provides Zero message queue access for the Python language" 1SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
2HOMEPAGE = "http://zeromq.org/bindings:python" 2HOMEPAGE = "http://zeromq.org/bindings:python"
3LICENSE = "BSD" 3LICENSE = "BSD & LGPL-3.0"
4LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e" 4LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
5 file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e"
5DEPENDS = "zeromq" 6DEPENDS = "zeromq"
6 7
7SRC_URI = "file://club-rpath-out.patch" 8FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:"
8SRC_URI[md5sum] = "87e3abb33af5794db5ae85c667bbf324"
9SRC_URI[sha256sum] = "77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2"
10 9
11inherit pypi setuptools pkgconfig 10SRC_URI += "file://club-rpath-out.patch"
11SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943"
12SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4"
12 13
13RDEPENDS_${PN} += "python-multiprocessing" 14inherit pypi pkgconfig
15
16RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing"
14 17
15FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" 18FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
16 19
diff --git a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
index 2dc3b73f9e..936f165850 100644
--- a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
+++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
@@ -1,26 +1,13 @@
1diff --git a/setup.py b/setup.py 1diff --git a/setup.py b/setup.py
2index 62df445..1fdbdeb 100755 2index d243eaa..98099bc 100755
3--- a/setup.py 3--- a/setup.py
4+++ b/setup.py 4+++ b/setup.py
5@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False): 5@@ -192,8 +192,6 @@ def _add_rpath(settings, path):
6 pass 6 """
7 # unused rpath args for OS X: 7 if sys.platform == 'darwin':
8 # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..'] 8 settings['extra_link_args'].extend(['-Wl,-rpath','-Wl,%s' % path])
9- else: 9- else:
10- settings['runtime_library_dirs'] += ['$ORIGIN/..'] 10- settings['runtime_library_dirs'].append(path)
11- elif sys.platform != 'darwin':
12- settings['runtime_library_dirs'] += [
13- os.path.abspath(x) for x in settings['library_dirs']
14- ]
15
16 return settings
17 11
18@@ -592,8 +586,6 @@ class Configure(build_ext): 12 def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
19 pass 13 """load appropriate library/include settings from ZMQ prefix"""
20 # unused rpath args for OS X:
21 # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq']
22- else:
23- settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ]
24
25 line()
26 info("Configure: Autodetecting ZMQ settings...")
diff --git a/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb b/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb
new file mode 100644
index 0000000000..b690106bbb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb
@@ -0,0 +1,2 @@
1require python-pyzmq.inc
2inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
new file mode 100644
index 0000000000..050f53af14
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
@@ -0,0 +1,2 @@
1require python-pyzmq.inc
2inherit setuptools3