python3-propcache: support reproducibility

In order to make the generated library be reproducible, build wheel
in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
option -fdebug-prefix-map could work as expected

Note: To support reproducible, it also requires oe-core commit [1] to be merged

[1] https://git.openembedded.org/openembedded-core/commit/?id=61d98d12eca1c7bdf3b7387a820c83d3b8fad965

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia
2025-09-26 16:19:10 +08:00
committed by Khem Raj
parent 9ae27ec162
commit d0f0e85c27
2 changed files with 35 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ SRC_URI[sha256sum] = "20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c70
inherit pypi python_setuptools_build_meta ptest-python-pytest cython
SRC_URI += " \
file://0001-build-wheel-in-place.patch \
"
DEPENDS += " \
python3-expandvars-native \
"