summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb
diff options
context:
space:
mode:
authorzhengruoqin <zhengrq.fnst@fujitsu.com>2022-09-27 17:36:35 +0800
committerKhem Raj <raj.khem@gmail.com>2022-09-28 14:54:31 -0700
commitd52f4d62e11e13ed558ca33600a82dd1d5625e62 (patch)
tree625954c725b3565a7c1e903338acdac9933526da /meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb
parentca3cfb21982ea2a726e315094f981a6575668f51 (diff)
downloadmeta-openembedded-d52f4d62e11e13ed558ca33600a82dd1d5625e62.tar.gz
python3-pyzmq: upgrade 24.0.0 -> 24.0.1
Changelog: ========== Fix several possible resource warnings and deprecation warnings when cleaning up contexts and sockets, especially in pyzmq’s own tests and when implicit teardown of objects is happening during process teardown. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb55
1 files changed, 0 insertions, 55 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb
deleted file mode 100644
index 33e3ba6602..0000000000
--- a/meta-python/recipes-devtools/python/python3-pyzmq_24.0.0.bb
+++ /dev/null
@@ -1,55 +0,0 @@
1SUMMARY = "PyZMQ: Python bindings for ZMQ"
2DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
3HOMEPAGE = "http://zeromq.org/bindings:python"
4LICENSE = "BSD-3-Clause & LGPL-3.0-only"
5LIC_FILES_CHKSUM = "\
6 file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
7 file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e \
8"
9
10DEPENDS = "python3-packaging-native zeromq"
11
12SRC_URI:append = " \
13 file://club-rpath-out.patch \
14 file://run-ptest \
15"
16SRC_URI[sha256sum] = "13b008bd142c9f6079ad75a30504eef2291502e9eac90e722b16fcf9ce856147"
17
18inherit pypi pkgconfig python_setuptools_build_meta ptest
19
20PACKAGES =+ "\
21 ${PN}-test \
22"
23
24FILES:${PN}-test += "\
25 ${libdir}/${PYTHON_DIR}/site-packages/*/tests \
26"
27
28RDEPENDS:${PN} += "\
29 ${PYTHON_PN}-json \
30 ${PYTHON_PN}-multiprocessing \
31"
32
33RDEPENDS:${PN}-ptest += "\
34 ${PN}-test \
35 ${PYTHON_PN}-pytest \
36"
37
38do_compile:prepend() {
39 echo [global] > ${S}/setup.cfg
40 echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
41 echo have_sys_un_h = True >> ${S}/setup.cfg
42 echo skip_check_zmq = True >> ${S}/setup.cfg
43 echo libzmq_extension = False >> ${S}/setup.cfg
44 echo no_libzmq_extension = True >> ${S}/setup.cfg
45}
46
47do_install:append() {
48 sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/config.json
49 sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/compiler.json
50}
51
52do_install_ptest() {
53 install -d ${D}${PTEST_PATH}/tests
54 cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
55}