summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch31
-rw-r--r--meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb4
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch b/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch
new file mode 100644
index 0000000000..84f81da775
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch
@@ -0,0 +1,31 @@
1From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 17 Sep 2025 15:41:09 +0800
4Subject: [PATCH] build wheel in place
5
6In order to make the generated library be reproducible, build wheel
7in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
8option -fdebug-prefix-map could work as expected
9
10Upstream-Status: Pending
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 packaging/pep517_backend/_backend.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py
17index 61cad34..d5d839e 100644
18--- a/packaging/pep517_backend/_backend.py
19+++ b/packaging/pep517_backend/_backend.py
20@@ -316,7 +316,7 @@ def build_wheel(
21 """
22 with maybe_prebuild_c_extensions(
23 line_trace_cython_when_unset=False,
24- build_inplace=False,
25+ build_inplace=True,
26 config_settings=config_settings,
27 ):
28 return _setuptools_build_wheel(
29--
302.34.1
31
diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb
index e78d7b3428..8e2394a5c4 100644
--- a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb
@@ -7,6 +7,10 @@ SRC_URI[sha256sum] = "20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c70
7 7
8inherit pypi python_setuptools_build_meta ptest-python-pytest cython 8inherit pypi python_setuptools_build_meta ptest-python-pytest cython
9 9
10SRC_URI += " \
11 file://0001-build-wheel-in-place.patch \
12"
13
10DEPENDS += " \ 14DEPENDS += " \
11 python3-expandvars-native \ 15 python3-expandvars-native \
12" 16"