diff --git a/dev-lang/python/patches/python3-3.6.7.patchset b/dev-lang/python/patches/python3-3.6.8.patchset similarity index 100% rename from dev-lang/python/patches/python3-3.6.7.patchset rename to dev-lang/python/patches/python3-3.6.8.patchset diff --git a/dev-lang/python/python3-3.6.7.recipe b/dev-lang/python/python36-3.6.8.recipe similarity index 90% rename from dev-lang/python/python3-3.6.7.recipe rename to dev-lang/python/python36-3.6.8.recipe index bb1d182da..47035151a 100644 --- a/dev-lang/python/python3-3.6.7.recipe +++ b/dev-lang/python/python36-3.6.8.recipe @@ -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()