diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-05-12 19:40:11 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-05-24 13:59:36 +0800 |
| commit | f5dc45c3aba66f555fc804cb20cd39e882f878b7 (patch) | |
| tree | 21d0c86ce1c2b647794ff483806f3c11b4d897c0 /lang/python/python3/patches/025-choose-python-config-version.patch | |
| parent | 1e800488ae3b7e1f79e09494f6617b280bb9d923 (diff) | |
python3: Fix __pycache__ files included in python3-light
003-do-not-run-distutils-tests.patch was removed in
4e05541782edeb06b51d691dadf52648df24c940. This patch stopped "make
install" from, among other things, running compileall.
When this patch was removed, "make install" ran compileall as normal and
created bytecode files in __pycache__ directories. These files were then
packaged in python3-light.
This adds a patch to stop compileall from being run during "make
install".
Fixes: 4e05541782ed ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8a4da017902d21ac6cada21a3bb23caa5b39af0b,
adjusted PKG_RELEASE, refreshed patches)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/025-choose-python-config-version.patch')
| -rw-r--r-- | lang/python/python3/patches/025-choose-python-config-version.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/patches/025-choose-python-config-version.patch b/lang/python/python3/patches/025-choose-python-config-version.patch index 7b9ee1e6b..d3596a24d 100644 --- a/lang/python/python3/patches/025-choose-python-config-version.patch +++ b/lang/python/python3/patches/025-choose-python-config-version.patch @@ -1,6 +1,6 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1644,7 +1644,7 @@ python-config: $(srcdir)/Misc/python-con +@@ -1646,7 +1646,7 @@ python-config: $(srcdir)/Misc/python-con @ # On Darwin, always use the python version of the script, the shell @ # version doesn't use the compiler customizations that are provided @ # in python (_osx_support.py). |
