Browse Source

python3: Update to 3.10.5, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 57e2b656cb)
lilik-openwrt-22.03
Jeffery To 3 years ago
committed by Josef Schlehofer
parent
commit
8706ce73a6
No known key found for this signature in database GPG Key ID: B950216FE4329F4C
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      lang/python/python3-version.mk
  2. +1
    -1
      lang/python/python3/Makefile
  3. +1
    -1
      lang/python/python3/patches/004-do-not-write-bytes-codes.patch

+ 1
- 1
lang/python/python3-version.mk View File

@ -8,7 +8,7 @@
# Note: keep in sync with setuptools & pip
PYTHON3_VERSION_MAJOR:=3
PYTHON3_VERSION_MINOR:=10
PYTHON3_VERSION_MICRO:=4
PYTHON3_VERSION_MICRO:=5
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)


+ 1
- 1
lang/python/python3/Makefile View File

@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
PKG_HASH:=80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19
PKG_HASH:=8437efd5b106ef0a75aabfbf23d880625120a73a86a22ade4d2e2e68d7b74486
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_LICENSE:=PSF-2.0


+ 1
- 1
lang/python/python3/patches/004-do-not-write-bytes-codes.patch View File

@ -1,6 +1,6 @@
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -155,7 +155,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
@@ -154,7 +154,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 */


Loading…
Cancel
Save