diff options
| author | Derek Straka <derek@asterius.io> | 2023-09-27 04:53:28 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-09-27 12:05:45 -0700 |
| commit | 02914b8b645700a3255b724ef4f60d46b314bd19 (patch) | |
| tree | 291039c38ea326dee3ae6de7a984914eb2fd638d /meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb | |
| parent | 2a43654facb0aca57b4f94d05b063fb3fd58d3e1 (diff) | |
| download | meta-openembedded-02914b8b645700a3255b724ef4f60d46b314bd19.tar.gz | |
python3-pyzmq: update version 25.0.0 -> 25.1.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb new file mode 100644 index 0000000000..504ef7abc0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.1.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | SUMMARY = "PyZMQ: Python bindings for ZMQ" | ||
| 2 | DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." | ||
| 3 | HOMEPAGE = "http://zeromq.org/bindings:python" | ||
| 4 | LICENSE = "BSD-3-Clause & LGPL-3.0-only" | ||
| 5 | LIC_FILES_CHKSUM = "\ | ||
| 6 | file://LICENSE.BSD;md5=1787206f198344195a671b60326c59dc \ | ||
| 7 | file://LICENSE.LESSER;md5=0e99bfbdd8b9d33b0221986fe3be89ed \ | ||
| 8 | " | ||
| 9 | |||
| 10 | DEPENDS = "python3-packaging-native python3-cython-native python3-setuptools-scm-native zeromq" | ||
| 11 | |||
| 12 | SRC_URI:append = " \ | ||
| 13 | file://club-rpath-out.patch \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | SRC_URI[sha256sum] = "259c22485b71abacdfa8bf79720cd7bcf4b9d128b30ea554f01ae71fdbfdaa23" | ||
| 17 | |||
| 18 | inherit pypi pkgconfig python_setuptools_build_meta ptest | ||
| 19 | |||
| 20 | PACKAGES =+ "\ | ||
| 21 | ${PN}-test \ | ||
| 22 | " | ||
| 23 | |||
| 24 | FILES:${PN}-test += "\ | ||
| 25 | ${libdir}/${PYTHON_DIR}/site-packages/*/tests \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN} += "\ | ||
| 29 | ${PYTHON_PN}-json \ | ||
| 30 | ${PYTHON_PN}-multiprocessing \ | ||
| 31 | " | ||
| 32 | |||
| 33 | RDEPENDS:${PN}-ptest += "\ | ||
| 34 | ${PN}-test \ | ||
| 35 | ${PYTHON_PN}-pytest \ | ||
| 36 | " | ||
| 37 | |||
| 38 | do_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 | |||
| 47 | do_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 | |||
| 52 | do_install_ptest() { | ||
| 53 | install -d ${D}${PTEST_PATH}/tests | ||
| 54 | cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 55 | } | ||
