diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.12.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.12.3.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3_3.12.3.bb b/meta/recipes-devtools/python/python3_3.12.3.bb index b49a58a101..04558a6463 100644 --- a/meta/recipes-devtools/python/python3_3.12.3.bb +++ b/meta/recipes-devtools/python/python3_3.12.3.bb | |||
| @@ -157,7 +157,7 @@ do_compile:prepend() { | |||
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | do_install:prepend() { | 159 | do_install:prepend() { |
| 160 | ${WORKDIR}/check_build_completeness.py ${T}/log.do_compile | 160 | ${UNPACKDIR}/check_build_completeness.py ${T}/log.do_compile |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | do_install:append:class-target() { | 163 | do_install:append:class-target() { |
| @@ -197,7 +197,7 @@ do_install:append:class-native() { | |||
| 197 | 197 | ||
| 198 | do_install:append() { | 198 | do_install:append() { |
| 199 | for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do | 199 | for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do |
| 200 | python3 ${WORKDIR}/reformat_sysconfig.py $c | 200 | python3 ${UNPACKDIR}/reformat_sysconfig.py $c |
| 201 | done | 201 | done |
| 202 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython* | 202 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython* |
| 203 | 203 | ||
| @@ -284,7 +284,7 @@ py_package_preprocess () { | |||
| 284 | # Reformat _sysconfigdata after modifying it so that it remains | 284 | # Reformat _sysconfigdata after modifying it so that it remains |
| 285 | # reproducible | 285 | # reproducible |
| 286 | for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do | 286 | for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do |
| 287 | python3 ${WORKDIR}/reformat_sysconfig.py $c | 287 | python3 ${UNPACKDIR}/reformat_sysconfig.py $c |
| 288 | done | 288 | done |
| 289 | 289 | ||
| 290 | # Recompile _sysconfigdata after modifying it | 290 | # Recompile _sysconfigdata after modifying it |
| @@ -397,6 +397,7 @@ do_create_manifest() { | |||
| 397 | # e.g. BerkeleyDB is an optional build dependency so it may or may not | 397 | # e.g. BerkeleyDB is an optional build dependency so it may or may not |
| 398 | # be present, we must ensure it is. | 398 | # be present, we must ensure it is. |
| 399 | 399 | ||
| 400 | cp ${UNPACKDIR}/create_manifest3.py ${WORKDIR} | ||
| 400 | cd ${WORKDIR} | 401 | cd ${WORKDIR} |
| 401 | # This needs to be executed by python-native and NOT by HOST's python | 402 | # This needs to be executed by python-native and NOT by HOST's python |
| 402 | nativepython3 create_manifest3.py ${PYTHON_MAJMIN} | 403 | nativepython3 create_manifest3.py ${PYTHON_MAJMIN} |
