diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch b/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch deleted file mode 100644 index 41dea89682..0000000000 --- a/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 3c7deaa3a961a0f3ce4ff108468e3d70118f17b3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Thu, 9 Jun 2022 17:23:42 +0200 | ||
| 4 | Subject: [PATCH] generate_umath.py: do not write full path to output files | ||
| 5 | |||
| 6 | This helps reproducibility as those paths vary in automated | ||
| 7 | build environments. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/21707] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | |||
| 12 | --- | ||
| 13 | numpy/core/code_generators/generate_umath.py | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py | ||
| 17 | index 292d9e0..df37941 100644 | ||
| 18 | --- a/numpy/core/code_generators/generate_umath.py | ||
| 19 | +++ b/numpy/core/code_generators/generate_umath.py | ||
| 20 | @@ -1233,7 +1233,7 @@ def make_code(funcdict, filename): | ||
| 21 | |||
| 22 | return 0; | ||
| 23 | } | ||
| 24 | - """) % (filename, code1, code2, code3) | ||
| 25 | + """) % (os.path.basename(filename), code1, code2, code3) | ||
| 26 | return code | ||
| 27 | |||
| 28 | |||
