mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 01:27:31 +04:00
Refresh PKG_HASH from the python.org release tarball, and bump PYTHON3_PIP_VERSION to 26.2.1 to match the pip wheel bundled in 3.14.7's ensurepip (it already matches the python-pip package version). Refresh the patches against the new source; only the hunk offsets shift. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
17 lines
865 B
Diff
17 lines
865 B
Diff
From 5b85eff6b2d9107bfb5bed7d6b64ff0460f3bc16 Mon Sep 17 00:00:00 2001
|
|
From: Alexandru Ardelean <aa@ocedo.com>
|
|
Date: Thu, 13 Nov 2014 10:44:36 +0200
|
|
Subject: [PATCH] Do not write byte codes by default
|
|
|
|
--- a/Python/initconfig.c
|
|
+++ b/Python/initconfig.c
|
|
@@ -499,7 +499,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
|
|
int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */
|
|
int Py_FrozenFlag = 0; /* Needed by getpath.c */
|
|
int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */
|
|
-int Py_DontWriteBytecodeFlag = 0; /* Suppress writing bytecode files (*.pyc) */
|
|
+int Py_DontWriteBytecodeFlag = 1; /* Suppress writing bytecode files (*.pyc) */
|
|
int Py_NoUserSiteDirectory = 0; /* for -s and site.py */
|
|
int Py_UnbufferedStdioFlag = 0; /* Unbuffered binary std{in,out,err} */
|
|
int Py_HashRandomizationFlag = 0; /* for -R and PYTHONHASHSEED */
|