Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_27.3.0.bb
T
Khem Raj 5257b48956 python3-pyzmq: upgrade 27.2.0 -> 27.3.0
Changes:
- Fix default compiler flags for bundled libsodium/libzmq in wheels
  on mac and linux, greatly improving CURVE performance.
- More type coverage.
- Wheel changes: PyPy 3.12 wheels added, i686 wheels target
  manylinux_2_28, PyPy wheels target pp80.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:59:02 -08:00

72 lines
2.4 KiB
BlitzBasic

SUMMARY = "PyZMQ: Python bindings for ZMQ"
DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
HOMEPAGE = "https://zeromq.org/bindings:python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "\
file://LICENSE.md;md5=1787206f198344195a671b60326c59dc \
"
DEPENDS = "python3-packaging-native \
python3-setuptools-scm-native \
python3-scikit-build-core-native \
cmake-native \
ninja-native \
zeromq \
"
PEP517_BUILD_OPTS = "--skip-dependency-check \
-Ccmake.define.PYZMQ_LIBZMQ_RPATH=OFF \
-Ccmake.define.PYZMQ_NO_BUNDLE=ON \
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY \
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY \
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \
-Ccmake.define.PKG_CONFIG_USE_CMAKE_PREFIX_PATH=OFF \
-Ccmake.build-type="RelWithDebInfo" \
-Cbuild-dir="${B}" \
"
SRC_URI:append = " \
file://0001-test_log-wait-for-subscriptions-instead-of-sleeping.patch \
file://run-ptest \
"
SRC_URI[sha256sum] = "bbedb3d1d99babc625f1dd9d7438acefd442b36b75073fd6bc1ef7c0a4b96d56"
inherit pypi pkgconfig python_setuptools_build_meta ptest cython
PACKAGES =+ "\
${PN}-test \
"
FILES:${PN}-test += "\
${PYTHON_SITEPACKAGES_DIR}/*/tests \
"
RDEPENDS:${PN} += "\
python3-json \
python3-multiprocessing \
python3-tornado \
"
RDEPENDS:${PN}-ptest += "\
${PN}-test \
python3-pytest \
python3-asyncio \
python3-pytest-asyncio \
python3-unittest-automake-output \
python3-unixadmin \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}/pytest.ini
}
do_install_ptest:append:libc-musl() {
sed -i -e "s/ and not test_retry_poll'/ and not test_retry_poll and not test_close_all_fds'/" \
${D}${PTEST_PATH}/run-ptest
grep -q "not test_close_all_fds'" ${D}${PTEST_PATH}/run-ptest || bbfatal "failed to skip test_close_all_fds in run-ptest"
}