Python: make Python 3.10 the main one.

Python 3.9 is a bit broken (no readline/editline), so let's move on to
3.10 which works better.
This commit is contained in:
PulkoMandy
2023-08-10 21:44:02 +02:00
committed by Adrien Destugues
parent cdf7c92ddb
commit 87f3d9e433
2 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ OSI-approved open source license."
HOMEPAGE="https://www.python.org"
LICENSE="Python"
COPYRIGHT="1990-2022 Python Software Foundation"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="30ce057c44f283f8ed93606ccbdb8d51dd526bdc4c62cce5e0dc217bfa3e8cee"
SOURCE_DIR="Python-$portVersion"
@@ -35,15 +35,10 @@ PROVIDES="
python3.9$secondaryArchSuffix = $portVersion compat >= 3.9
python39$secondaryArchSuffix = $portVersion compat >= 3.9
cmd:2to3_3.9 = $portVersion compat >= 3.9
cmd:2to3 = $portVersion compat >= 3.9
cmd:idle3.9 = $portVersion compat >= 3.9
cmd:idle3 = $portVersion compat >= 3.9
cmd:pydoc3.9 = $portVersion compat >= 3.9
cmd:pydoc3 = $portVersion compat >= 3.9
cmd:python3.9 = $portVersion compat >= 3.9
cmd:python3 = $portVersion compat >= 3.9
cmd:python3.9_config = $portVersion compat >= 3.9
cmd:python3_config = $portVersion compat >= 3.9
devel:libpython3.9$secondaryArchSuffix = 1.0
lib:libpython3.9$secondaryArchSuffix = 1.0
"
@@ -127,7 +122,8 @@ BUILD()
INSTALL()
{
make install
# altinstall avoids clobbering $prefix/bin/{2to3,idle3,pydoc3,python3,python3-config}
make altinstall
rm $libDir/libpython3.so