diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-pyzmq.inc | 27 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb | 29 |
2 files changed, 27 insertions, 29 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyzmq.inc b/meta-python/recipes-devtools/python/python-pyzmq.inc deleted file mode 100644 index 2447c2f34b..0000000000 --- a/meta-python/recipes-devtools/python/python-pyzmq.inc +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 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 | } | ||
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 index 050f53af14..2369f067ee 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb | |||
| @@ -1,2 +1,27 @@ | |||
| 1 | require python-pyzmq.inc | 1 | SUMMARY = "Pyzmq provides Zero message queue access for the Python language" |
| 2 | inherit setuptools3 | 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 setuptools3 | ||
| 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 | } | ||
