diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-06-05 00:25:45 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-06 21:45:26 -0700 |
| commit | 3aa9469b2c2da607d1a2f7efa927bbce02da1a2e (patch) | |
| tree | 7406e81c199ba52ed0618a9053b156a3e9a76581 /meta-python | |
| parent | 22dc90b02b26b3ab9eae63e3354de6e1df6cd062 (diff) | |
| download | meta-openembedded-3aa9469b2c2da607d1a2f7efa927bbce02da1a2e.tar.gz | |
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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb | 11 |
1 files changed, 0 insertions, 11 deletions
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 += "\ | |||
| 35 | python3-unittest-automake-output \ | 35 | python3-unittest-automake-output \ |
| 36 | " | 36 | " |
| 37 | 37 | ||
| 38 | do_install:append() { | ||
| 39 | for f in ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/_pydantic_core.*.so | ||
| 40 | do | ||
| 41 | fname=`basename $f` | ||
| 42 | lname=`echo $fname | sed 's/musl/gnu/'` | ||
| 43 | if [ "$fname" != "$lname" ]; then | ||
| 44 | mv $f ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/$lname | ||
| 45 | fi | ||
| 46 | done | ||
| 47 | } | ||
| 48 | |||
| 49 | do_install_ptest() { | 38 | do_install_ptest() { |
| 50 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | 39 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
| 51 | 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 | 40 | 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 |
