Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Pyzmq provides Zero message queue access for the Python language" |
| 2 | HOMEPAGE = "http://zeromq.org/bindings:python" |
| 3 | LICENSE = "BSD & LGPL-3.0" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ |
| 5 | file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" |
| 6 | DEPENDS = "zeromq" |
| 7 | |
| 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" |
| 9 | |
| 10 | SRC_URI += "file://club-rpath-out.patch" |
| 11 | SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" |
| 12 | SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" |
| 13 | |
| 14 | inherit pypi pkgconfig |
| 15 | |
| 16 | RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" |
| 17 | |
| 18 | FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" |
| 19 | |
| 20 | do_compile_prepend() { |
| 21 | echo [global] > ${S}/setup.cfg |
| 22 | echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg |
| 23 | echo have_sys_un_h = True >> ${S}/setup.cfg |
| 24 | echo skip_check_zmq = True >> ${S}/setup.cfg |
| 25 | echo libzmq_extension = False >> ${S}/setup.cfg |
| 26 | echo no_libzmq_extension = True >> ${S}/setup.cfg |
| 27 | } |