python3: Update to version 3.10.1

- Update from 3.8.7 to 3.10.1
- Update of rootfile
- libvirt needs to be updated to 7.10.0 before this patch series is implemented
   otherwise the old libvirt (6.5.0) will fail to build with the new python3.
- Changelog is w2ay to big to show here. Details can be found by viewing 3.9.rst and
   3.10.rst in the Doc/whatsnew/ folder in the source tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Adolf Belka
2022-01-24 17:16:21 +01:00
committed by Peter Müller
parent cbf627c47e
commit 6f17453dd8
3 changed files with 3724 additions and 3588 deletions

View File

@@ -24,7 +24,7 @@
include Config
VER = 3.8.7
VER = 3.10.1
THISAPP = Python-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -61,7 +61,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 60fe018fffc7f33818e6c340d29e2db9
$(DL_FILE)_MD5 = 789210934745a65247a3ebf5da9adb64
install : $(TARGET)
@@ -107,9 +107,9 @@ endif
# Remove precompiled pycache at toolchain and tests
ifneq "$(ROOT)" ""
cd $(TOOLS_DIR)/lib/python3.8 && find . | grep -E "(/__pycache__|/test/)" | xargs rm -rf
cd $(TOOLS_DIR)/lib/python3.10 && find . | grep -E "(/__pycache__|/test/)" | xargs rm -rf
else
cd /usr/lib/python3.8 && find . | grep -E "(/test/)" | xargs rm -rf
cd /usr/lib/python3.10 && find . | grep -E "(/test/)" | xargs rm -rf
endif
@rm -rf $(DIR_APP)