mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
python3: port some patches from python
Based on the idea that 'what-works-on-python-should-work-on-python3' because they share the same trunk, these patches have been copied over from the python package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
10
lang/python3/patches/007-distutils-do-not-adjust-path.patch
Normal file
10
lang/python3/patches/007-distutils-do-not-adjust-path.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/Lib/distutils/command/build_scripts.py
|
||||
+++ b/Lib/distutils/command/build_scripts.py
|
||||
@@ -89,6 +89,7 @@ class build_scripts (Command):
|
||||
adjust = 1
|
||||
post_interp = match.group(1) or ''
|
||||
|
||||
+ adjust = 0
|
||||
if adjust:
|
||||
log.info("copying and adjusting %s -> %s", script,
|
||||
self.build_dir)
|
||||
Reference in New Issue
Block a user