mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-17 02:55:57 +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:
parent
84ad0699f1
commit
e253aa31ea
@ -43,6 +43,11 @@ do_compile:prepend() {
|
|||||||
echo no_libzmq_extension = True >> ${S}/setup.cfg
|
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() {
|
do_install_ptest() {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
|
cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user