mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-10 00:50:37 +00:00
python3-pydantic-core: Remove crutch to get module working on musl
Renaming is no longer needed sunce the SOABI has been fixed to reflext correct ABI depending upon target Therefore revert it Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -35,17 +35,6 @@ RDEPENDS:${PN}-ptest += "\
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
for f in ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/_pydantic_core.*.so
|
||||
do
|
||||
fname=`basename $f`
|
||||
lname=`echo $fname | sed 's/musl/gnu/'`
|
||||
if [ "$fname" != "$lname" ]; then
|
||||
mv $f ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/$lname
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||
sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest
|
||||
|
||||
Reference in New Issue
Block a user