diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb index 3471265e49..003f35d916 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb | |||
| @@ -2,24 +2,36 @@ SUMMARY = "PyZMQ: Python bindings for ZMQ" | |||
| 2 | DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." | 2 | DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." |
| 3 | HOMEPAGE = "http://zeromq.org/bindings:python" | 3 | HOMEPAGE = "http://zeromq.org/bindings:python" |
| 4 | LICENSE = "BSD-3-Clause & LGPL-3.0-only" | 4 | LICENSE = "BSD-3-Clause & LGPL-3.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ | 5 | LIC_FILES_CHKSUM = "\ |
| 6 | file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" | 6 | file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ |
| 7 | DEPENDS = "zeromq python3-packaging-native" | 7 | file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e \ |
| 8 | " | ||
| 9 | |||
| 10 | DEPENDS = "python3-packaging-native zeromq" | ||
| 8 | 11 | ||
| 9 | SRC_URI += "file://club-rpath-out.patch" | 12 | SRC_URI:append = " \ |
| 13 | file://club-rpath-out.patch \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 10 | SRC_URI[sha256sum] = "a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169" | 16 | SRC_URI[sha256sum] = "a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169" |
| 11 | 17 | ||
| 12 | inherit pypi pkgconfig python_setuptools_build_meta ptest | 18 | inherit pypi pkgconfig python_setuptools_build_meta ptest |
| 13 | 19 | ||
| 14 | SRC_URI += " \ | 20 | PACKAGES =+ "\ |
| 15 | file://run-ptest \ | 21 | ${PN}-test \ |
| 16 | " | 22 | " |
| 17 | 23 | ||
| 18 | DEPENDS += "python3-packaging-native" | 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 | " | ||
| 19 | 32 | ||
| 20 | RDEPENDS:${PN} += " \ | 33 | RDEPENDS:${PN}-ptest += "\ |
| 21 | ${PYTHON_PN}-multiprocessing \ | 34 | ${PN}-test \ |
| 22 | ${PYTHON_PN}-json \ | ||
| 23 | " | 35 | " |
| 24 | 36 | ||
| 25 | do_compile:prepend() { | 37 | do_compile:prepend() { |
| @@ -31,18 +43,7 @@ do_compile:prepend() { | |||
| 31 | echo no_libzmq_extension = True >> ${S}/setup.cfg | 43 | echo no_libzmq_extension = True >> ${S}/setup.cfg |
| 32 | } | 44 | } |
| 33 | 45 | ||
| 34 | RDEPENDS:${PN}-ptest += " \ | ||
| 35 | ${PN}-test \ | ||
| 36 | " | ||
| 37 | |||
| 38 | PACKAGES =+ "\ | ||
| 39 | ${PN}-test \ | ||
| 40 | " | ||
| 41 | |||
| 42 | FILES:${PN}-test = " \ | ||
| 43 | ${libdir}/${PYTHON_DIR}/site-packages/*/tests \ | ||
| 44 | " | ||
| 45 | do_install_ptest() { | 46 | do_install_ptest() { |
| 46 | install -d ${D}${PTEST_PATH}/tests | 47 | install -d ${D}${PTEST_PATH}/tests |
| 47 | cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/ | 48 | cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/ |
| 48 | } | 49 | } |
