mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-02 10:20:27 +00:00
python3-pyzmq: Fix buildpaths issue
Fixes: WARNING: python3-pyzmq-23.2.0-r0 do_package_qa: QA Issue: File /usr/lib64/python3.10/site-packages/zmq/utils/config.json in package python3-pyzmq contains reference to TMPDIR File /usr/lib64/python3.10/site-packages/zmq/utils/compiler.json in package python3-pyzmq contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -43,6 +43,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/
|
||||
|
||||
Reference in New Issue
Block a user