mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 06:10:50 +00:00
python3-pyzmq: Upgrade to 27.1.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
62
meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb
Normal file
62
meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY = "PyZMQ: Python bindings for ZMQ"
|
||||
DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation."
|
||||
HOMEPAGE = "https://zeromq.org/bindings:python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://LICENSE.md;md5=1787206f198344195a671b60326c59dc \
|
||||
"
|
||||
|
||||
DEPENDS = "python3-packaging-native \
|
||||
python3-setuptools-scm-native \
|
||||
python3-scikit-build-core-native \
|
||||
cmake-native \
|
||||
ninja-native \
|
||||
zeromq \
|
||||
"
|
||||
|
||||
PEP517_BUILD_OPTS = "--skip-dependency-check \
|
||||
-Ccmake.define.PYZMQ_LIBZMQ_RPATH=OFF \
|
||||
-Ccmake.define.PYZMQ_NO_BUNDLE=ON \
|
||||
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY \
|
||||
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY \
|
||||
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
|
||||
-Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
|
||||
-Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \
|
||||
-Ccmake.build-type="RelWithDebInfo" \
|
||||
-Cbuild-dir="${B}" \
|
||||
"
|
||||
|
||||
SRC_URI:append = " \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540"
|
||||
|
||||
inherit pypi pkgconfig python_setuptools_build_meta ptest cython
|
||||
|
||||
PACKAGES =+ "\
|
||||
${PN}-test \
|
||||
"
|
||||
|
||||
FILES:${PN}-test += "\
|
||||
${PYTHON_SITEPACKAGES_DIR}/*/tests \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-json \
|
||||
python3-multiprocessing \
|
||||
python3-tornado \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
${PN}-test \
|
||||
python3-pytest \
|
||||
python3-asyncio \
|
||||
python3-pytest-asyncio \
|
||||
python3-unittest-automake-output \
|
||||
python3-unixadmin \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
Reference in New Issue
Block a user