python36: rename and bump version.

This commit is contained in:
Jerome Duval
2019-04-07 12:12:15 +02:00
parent 1c80ad74c1
commit b5c7c268e8
2 changed files with 7 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ LICENSE="Python"
COPYRIGHT="1990-2018 Python Software Foundation"
REVISION="1"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="81fd1401a9d66533b0a3e9e3f4ea1c7c6702d57d5b90d659f971e6f1b745f77d"
CHECKSUM_SHA256="35446241e995773b1bed7d196f4b624dadcadc8429f26282e756b2fb8a351193"
SOURCE_DIR="Python-$portVersion"
PATCHES="python3-$portVersion.patchset"
if [ "$secondaryArchSuffix" = _x86 ] ; then
@@ -34,21 +34,14 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
fi
PROVIDES="
python3$secondaryArchSuffix = $portVersion compat >= 3.6
cmd:2to3 = $portVersion compat >= 3.6
python36$secondaryArchSuffix = $portVersion compat >= 3.6
cmd:2to3_3.6 = $portVersion compat >= 3.6
cmd:idle = $portVersion compat >= 3.6
cmd:idle3 = $portVersion compat >= 3.6
cmd:idle3.6 = $portVersion compat >= 3.6
cmd:pydoc3 = $portVersion compat >= 3.6
cmd:pydoc3.6 = $portVersion compat >= 3.6
cmd:python3 = $portVersion compat >= 3.6
cmd:python3_config = $portVersion compat >= 3.6
cmd:python3.6 = $portVersion compat >= 3.6
cmd:python3.6_config = $portVersion compat >= 3.6
cmd:python3.6m = $portVersion compat >= 3.6
cmd:python3.6m_config = $portVersion compat >= 3.6
cmd:pyvenv = $portVersion compat >= 3.6
cmd:pyvenv_3.6 = $portVersion compat >= 3.6
devel:libpython3.6m$secondaryArchSuffix = 1.0
lib:libpython3.6m$secondaryArchSuffix = 1.0
@@ -121,7 +114,7 @@ INSTALL()
{
make install
rm $libDir/libpython3.so
rm $libDir/libpython3.so $libDir/pkgconfig/python3.pc
if [ "$targetArchitecture" = x86_gcc2 ]; then
# On x86_gcc2, move lib-dynload to lib/python3.x/
@@ -148,6 +141,10 @@ INSTALL()
# TODO: drop __pycache__ folders as well?
find . -name __pycache__ | xargs rm -rf
rm $commandBinDir/2to3 $commandBinDir/idle3 $commandBinDir/pydoc3 \
$commandBinDir/python3 $commandBinDir/python3-config \
$commandBinDir/pyvenv $manDir/man1/python3.1
}
TEST()