mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
61 lines
1.8 KiB
BlitzBasic
61 lines
1.8 KiB
BlitzBasic
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" \
|
|
"
|
|
|
|
SRC_URI:append = " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "4bd13f85f80962f91a651a7356fe0472791a5f7a92f227822b5acf44795c626d"
|
|
|
|
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-unittest-automake-output \
|
|
python3-unixadmin \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|