mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
Make Python 3.9 the default cmd:python3, rename recipes.
It's probable we should have a "_default" package for Python3 the same way we do OpenJDK. But this should be OK for the time being at least.
This commit is contained in:
@@ -33,20 +33,15 @@ fi
|
||||
|
||||
PROVIDES="
|
||||
python3$secondaryArchSuffix = $portVersion compat >= 3.7
|
||||
cmd:2to3 = $portVersion compat >= 3.7
|
||||
cmd:2to3_3.7 = $portVersion compat >= 3.7
|
||||
cmd:idle = $portVersion compat >= 3.7
|
||||
cmd:idle3 = $portVersion compat >= 3.7
|
||||
cmd:idle3.7 = $portVersion compat >= 3.7
|
||||
cmd:pydoc3 = $portVersion compat >= 3.7
|
||||
cmd:pydoc3.7 = $portVersion compat >= 3.7
|
||||
cmd:python3 = $portVersion compat >= 3.7
|
||||
cmd:python3_config = $portVersion compat >= 3.7
|
||||
cmd:python3.7 = $portVersion compat >= 3.7
|
||||
cmd:python3.7_config = $portVersion compat >= 3.7
|
||||
cmd:python3.7m = $portVersion compat >= 3.7
|
||||
cmd:python3.7m_config = $portVersion compat >= 3.7
|
||||
cmd:pyvenv = $portVersion compat >= 3.7
|
||||
cmd:pyvenv_3.7 = $portVersion compat >= 3.7
|
||||
devel:libpython3.7m$secondaryArchSuffix = 1.0
|
||||
lib:libpython3.7m$secondaryArchSuffix = 1.0
|
||||
@@ -141,6 +136,8 @@ INSTALL()
|
||||
cd $prefix/lib/python3.7
|
||||
rm -rf ctypes/test distutils/tests idlelib/idle_test lib2to3/tests \
|
||||
sqlite3/test test tkinter/test unittest/test
|
||||
|
||||
rm -f $prefix/bin/{2to3,idle3,pydoc3,python3,python3-config,pyvenv}
|
||||
}
|
||||
|
||||
TEST()
|
||||
@@ -32,13 +32,18 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
fi
|
||||
|
||||
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:pyvenv_3.9 = $portVersion compat >= 3.9
|
||||
cmd:python3_config = $portVersion compat >= 3.9
|
||||
devel:libpython3.9$secondaryArchSuffix = 1.0
|
||||
lib:libpython3.9$secondaryArchSuffix = 1.0
|
||||
"
|
||||
@@ -134,8 +139,6 @@ INSTALL()
|
||||
cd $prefix/lib/python3.9
|
||||
rm -rf ctypes/test distutils/tests idlelib/idle_test lib2to3/tests \
|
||||
sqlite3/test test tkinter/test unittest/test
|
||||
|
||||
rm -f $prefix/bin/{2to3,idle3,pydoc3,python3,python3-config}
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user