summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb
new file mode 100644
index 0000000000..f5432b7228
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb
@@ -0,0 +1,60 @@
1SUMMARY = "PyZMQ: Python bindings for ZMQ"
2DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
3HOMEPAGE = "https://zeromq.org/bindings:python"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "\
6 file://LICENSE.md;md5=1787206f198344195a671b60326c59dc \
7"
8
9DEPENDS = "python3-packaging-native \
10 python3-setuptools-scm-native \
11 python3-scikit-build-core-native \
12 cmake-native \
13 ninja-native \
14 zeromq \
15"
16
17PEP517_BUILD_OPTS = "--skip-dependency-check \
18 -Ccmake.define.PYZMQ_LIBZMQ_RPATH=OFF \
19 -Ccmake.define.PYZMQ_NO_BUNDLE=ON \
20 -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY \
21 -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY \
22 -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
23 -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
24 -Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \
25 -Ccmake.build-type="RelWithDebInfo" \
26"
27
28SRC_URI:append = " \
29 file://run-ptest \
30"
31
32SRC_URI[sha256sum] = "b1f08eeb9ce1510e6939b6e5dcd46a17765e2333daae78ecf4606808442e52cf"
33
34inherit pypi pkgconfig python_setuptools_build_meta ptest cython
35
36PACKAGES =+ "\
37 ${PN}-test \
38"
39
40FILES:${PN}-test += "\
41 ${PYTHON_SITEPACKAGES_DIR}/*/tests \
42"
43
44RDEPENDS:${PN} += "\
45 python3-json \
46 python3-multiprocessing \
47 python3-tornado \
48"
49
50RDEPENDS:${PN}-ptest += "\
51 ${PN}-test \
52 python3-pytest \
53 python3-unittest-automake-output \
54 python3-unixadmin \
55"
56
57do_install_ptest() {
58 install -d ${D}${PTEST_PATH}/tests
59 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
60}