summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
index 601ba25b60..e58ee7fd66 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
@@ -34,6 +34,17 @@ RDEPENDS:${PN}-ptest += "\
34 python3-unittest-automake-output \ 34 python3-unittest-automake-output \
35" 35"
36 36
37do_install:append() {
38 for f in ${D}/${libdir}/${PYTHON_DIR}/site-packages/pydantic_core/_pydantic_core.*.so
39 do
40 fname=`basename $f`
41 lname=`echo $fname | sed 's/musl/gnu/'`
42 if [ "$fname" != "$lname" ]; then
43 mv $f ${D}/${libdir}/${PYTHON_DIR}/site-packages/pydantic_core/$lname
44 fi
45 done
46}
47
37do_install_ptest() { 48do_install_ptest() {
38 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ 49 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
39 rm -rf ${D}${PTEST_PATH}/tests/benchmarks 50 rm -rf ${D}${PTEST_PATH}/tests/benchmarks