From 3aa9469b2c2da607d1a2f7efa927bbce02da1a2e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 5 Jun 2024 00:25:45 -0700 Subject: 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 --- .../recipes-devtools/python/python3-pydantic-core_2.16.3.bb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb index faa291ea6d..f510645222 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb @@ -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 -- cgit v1.2.3-54-g00ecf