diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb new file mode 100644 index 0000000000..4014879aae --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb | |||
| @@ -0,0 +1,63 @@ | |||
| 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 = "https://zeromq.org/bindings:python" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "\ | ||
| 6 | file://LICENSE.md;md5=1787206f198344195a671b60326c59dc \ | ||
| 7 | " | ||
| 8 | |||
| 9 | DEPENDS = "python3-packaging-native \ | ||
| 10 | python3-setuptools-scm-native \ | ||
| 11 | python3-scikit-build-core-native \ | ||
| 12 | cmake-native \ | ||
| 13 | ninja-native \ | ||
| 14 | zeromq \ | ||
| 15 | " | ||
| 16 | |||
| 17 | PEP517_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 | -Cbuild-dir="${B}" \ | ||
| 27 | " | ||
| 28 | |||
| 29 | SRC_URI:append = " \ | ||
| 30 | file://run-ptest \ | ||
| 31 | " | ||
| 32 | SRC_URI[sha256sum] = "ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540" | ||
| 33 | |||
| 34 | inherit pypi pkgconfig python_setuptools_build_meta ptest cython | ||
| 35 | |||
| 36 | PACKAGES =+ "\ | ||
| 37 | ${PN}-test \ | ||
| 38 | " | ||
| 39 | |||
| 40 | FILES:${PN}-test += "\ | ||
| 41 | ${PYTHON_SITEPACKAGES_DIR}/*/tests \ | ||
| 42 | " | ||
| 43 | |||
| 44 | RDEPENDS:${PN} += "\ | ||
| 45 | python3-json \ | ||
| 46 | python3-multiprocessing \ | ||
| 47 | python3-tornado \ | ||
| 48 | " | ||
| 49 | |||
| 50 | RDEPENDS:${PN}-ptest += "\ | ||
| 51 | ${PN}-test \ | ||
| 52 | python3-pytest \ | ||
| 53 | python3-asyncio \ | ||
| 54 | python3-pytest-asyncio \ | ||
| 55 | python3-unittest-automake-output \ | ||
| 56 | python3-unixadmin \ | ||
| 57 | " | ||
| 58 | |||
| 59 | do_install_ptest() { | ||
| 60 | install -d ${D}${PTEST_PATH}/tests | ||
| 61 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 62 | install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}/pytest.ini | ||
| 63 | } | ||
