Message ID | 20220831094517.2468260-2-mingli.yu@windriver.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-python,1/2] python3-pyzmq: Add RDEPENDS for python3-pyzmq-ptest | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.1.bb b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.1.bb index 78545f5c3..f5e2e2c36 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.1.bb @@ -47,6 +47,11 @@ do_compile:prepend() { echo no_libzmq_extension = True >> ${S}/setup.cfg } +do_install:append() { + sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/config.json + sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/compiler.json +} + do_install_ptest() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/