summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorJan Vermaete <jan.vermaete@gmail.com>2022-07-24 16:33:27 +0200
committerKhem Raj <raj.khem@gmail.com>2022-07-26 10:38:42 -0400
commit702f26e2471ddd78804fadb65c4ba5189f1fa2d3 (patch)
tree2b389446a372c313f2d673258c5e854ea12e90d9 /meta-python
parentb7e69905fbc8e4a0e417d360a1702487c9f0936e (diff)
downloadmeta-openembedded-702f26e2471ddd78804fadb65c4ba5189f1fa2d3.tar.gz
python3-pyzmq: fixed oelint-adv warnings
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb47
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"
2DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." 2DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
3HOMEPAGE = "http://zeromq.org/bindings:python" 3HOMEPAGE = "http://zeromq.org/bindings:python"
4LICENSE = "BSD-3-Clause & LGPL-3.0-only" 4LICENSE = "BSD-3-Clause & LGPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ 5LIC_FILES_CHKSUM = "\
6 file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" 6 file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
7DEPENDS = "zeromq python3-packaging-native" 7 file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e \
8"
9
10DEPENDS = "python3-packaging-native zeromq"
8 11
9SRC_URI += "file://club-rpath-out.patch" 12SRC_URI:append = " \
13 file://club-rpath-out.patch \
14 file://run-ptest \
15"
10SRC_URI[sha256sum] = "a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169" 16SRC_URI[sha256sum] = "a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169"
11 17
12inherit pypi pkgconfig python_setuptools_build_meta ptest 18inherit pypi pkgconfig python_setuptools_build_meta ptest
13 19
14SRC_URI += " \ 20PACKAGES =+ "\
15 file://run-ptest \ 21 ${PN}-test \
16" 22"
17 23
18DEPENDS += "python3-packaging-native" 24FILES:${PN}-test += "\
25 ${libdir}/${PYTHON_DIR}/site-packages/*/tests \
26"
27
28RDEPENDS:${PN} += "\
29 ${PYTHON_PN}-json \
30 ${PYTHON_PN}-multiprocessing \
31"
19 32
20RDEPENDS:${PN} += " \ 33RDEPENDS:${PN}-ptest += "\
21 ${PYTHON_PN}-multiprocessing \ 34 ${PN}-test \
22 ${PYTHON_PN}-json \
23" 35"
24 36
25do_compile:prepend() { 37do_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
34RDEPENDS:${PN}-ptest += " \
35 ${PN}-test \
36"
37
38PACKAGES =+ "\
39 ${PN}-test \
40"
41
42FILES:${PN}-test = " \
43 ${libdir}/${PYTHON_DIR}/site-packages/*/tests \
44"
45do_install_ptest() { 46do_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}