blob: 3471265e4919eba93806024ca1ee5950e91d3700 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
SUMMARY = "PyZMQ: Python bindings for ZMQ"
DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
HOMEPAGE = "http://zeromq.org/bindings:python"
LICENSE = "BSD-3-Clause & LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e"
DEPENDS = "zeromq python3-packaging-native"
SRC_URI += "file://club-rpath-out.patch"
SRC_URI[sha256sum] = "a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169"
inherit pypi pkgconfig python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
"
DEPENDS += "python3-packaging-native"
RDEPENDS:${PN} += " \
${PYTHON_PN}-multiprocessing \
${PYTHON_PN}-json \
"
do_compile:prepend() {
echo [global] > ${S}/setup.cfg
echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
echo have_sys_un_h = True >> ${S}/setup.cfg
echo skip_check_zmq = True >> ${S}/setup.cfg
echo libzmq_extension = False >> ${S}/setup.cfg
echo no_libzmq_extension = True >> ${S}/setup.cfg
}
RDEPENDS:${PN}-ptest += " \
${PN}-test \
"
PACKAGES =+ "\
${PN}-test \
"
FILES:${PN}-test = " \
${libdir}/${PYTHON_DIR}/site-packages/*/tests \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
}
|