diff --git a/dev-lang/python/python-2.7.12.recipe b/dev-lang/python/python-2.7.12.recipe index 9f6a6e9c0..887e2cdb9 100644 --- a/dev-lang/python/python-2.7.12.recipe +++ b/dev-lang/python/python-2.7.12.recipe @@ -9,14 +9,19 @@ Python is free to use, even for commercial products, because of its \ OSI-approved open source license. " HOMEPAGE="http://www.python.org" -LICENSE="Python" COPYRIGHT="1990-2012, Python Software Foundation" +LICENSE="Python" +REVISION="1" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" CHECKSUM_SHA256="d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978" -REVISION="1" +SOURCE_DIR="Python-$portVersion" +PATCHES="python-$portVersion.patchset" + ARCHITECTURES="x86_gcc2 x86 x86_64" -PATCHES="python-$portVersion.patchset" +GLOBAL_WRITABLE_FILES=" + non-packaged/lib/python2.7/site-packages directory keep-old + " PROVIDES=" python = $portVersion compat >= 2.7 @@ -43,6 +48,7 @@ REQUIRES=" lib:libz lib:libffi " + BUILD_REQUIRES=" devel:libbz2 devel:libffi @@ -64,12 +70,6 @@ BUILD_PREREQUIRES=" cmd:pkg_config " -SOURCE_DIR="Python-$portVersion" - -GLOBAL_WRITABLE_FILES=" - non-packaged/lib/python2.7/site-packages directory keep-old - " - BUILD() { cd Modules/_ctypes/libffi diff --git a/dev-lang/python/python-2.7.13.recipe b/dev-lang/python/python-2.7.13.recipe index 338db6e4f..4e6c7d586 100644 --- a/dev-lang/python/python-2.7.13.recipe +++ b/dev-lang/python/python-2.7.13.recipe @@ -9,8 +9,8 @@ Python is free to use, even for commercial products, because of its \ OSI-approved open source license. " HOMEPAGE="https://www.python.org" -LICENSE="Python" COPYRIGHT="1990-2017, Python Software Foundation" +LICENSE="Python" REVISION="4" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" CHECKSUM_SHA256="35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731" @@ -19,6 +19,10 @@ PATCHES="python-$portVersion.patchset" ARCHITECTURES="?x86_gcc2 x86 x86_64" +GLOBAL_WRITABLE_FILES=" + non-packaged/lib/python2.7/site-packages directory keep-old + " + PROVIDES=" python = $portVersion compat >= 2.7 cmd:2to3 = $portVersion compat >= 2.7 @@ -44,6 +48,7 @@ REQUIRES=" lib:libz lib:libffi " + BUILD_REQUIRES=" devel:libbz2 devel:libffi @@ -65,10 +70,6 @@ BUILD_PREREQUIRES=" cmd:pkg_config " -GLOBAL_WRITABLE_FILES=" - non-packaged/lib/python2.7/site-packages directory keep-old - " - BUILD() { cd Modules/_ctypes/libffi diff --git a/dev-lang/python/python-2.7.14.recipe b/dev-lang/python/python-2.7.14.recipe index 445718c0b..574b30a95 100644 --- a/dev-lang/python/python-2.7.14.recipe +++ b/dev-lang/python/python-2.7.14.recipe @@ -9,8 +9,8 @@ Python is free to use, even for commercial products, because of its \ OSI-approved open source license. " HOMEPAGE="https://www.python.org/" -LICENSE="Python" COPYRIGHT="1990-2017 Python Software Foundation" +LICENSE="Python" REVISION="2" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" CHECKSUM_SHA256="71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66" @@ -19,6 +19,10 @@ PATCHES="python-$portVersion.patchset" ARCHITECTURES="?x86_gcc2 x86 x86_64" +GLOBAL_WRITABLE_FILES=" + non-packaged/lib/python2.7/site-packages directory keep-old + " + PROVIDES=" python = $portVersion compat >= 2.7 cmd:2to3 = $portVersion compat >= 2.7 @@ -44,6 +48,7 @@ REQUIRES=" lib:libz lib:libffi " + BUILD_REQUIRES=" devel:libbz2 devel:libffi @@ -65,10 +70,6 @@ BUILD_PREREQUIRES=" cmd:pkg_config " -GLOBAL_WRITABLE_FILES=" - non-packaged/lib/python2.7/site-packages directory keep-old - " - BUILD() { cd Modules/_ctypes/libffi diff --git a/dev-lang/python/python3-3.4.3.recipe b/dev-lang/python/python3-3.4.3.recipe index e91d63a7c..9711d0f54 100644 --- a/dev-lang/python/python3-3.4.3.recipe +++ b/dev-lang/python/python3-3.4.3.recipe @@ -9,14 +9,19 @@ Python is free to use, even for commercial products, because of its \ OSI-approved open source license. " HOMEPAGE="http://www.python.org" -LICENSE="Python" COPYRIGHT="1990-2015, Python Software Foundation" +LICENSE="Python" +REVISION="1" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" CHECKSUM_SHA256="b5b3963533768d5fc325a4d7a6bd6f666726002d696f1d399ec06b043ea996b8" -REVISION="1" +SOURCE_DIR="Python-$portVersion" +PATCHES="python3-$portVersion.patchset" + ARCHITECTURES="!x86_gcc2 x86 x86_64" -PATCHES="python3-$portVersion.patchset" +GLOBAL_WRITABLE_FILES=" + non-packaged/lib/python3.4/site-packages directory keep-old + " PROVIDES=" python3 = $portVersion compat >= 3.4 @@ -50,6 +55,7 @@ REQUIRES=" lib:libsqlite3 lib:libz " + BUILD_REQUIRES=" devel:libbz2 devel:libexpat @@ -72,12 +78,6 @@ BUILD_PREREQUIRES=" cmd:python " -SOURCE_DIR="Python-$portVersion" - -GLOBAL_WRITABLE_FILES=" - non-packaged/lib/python3.4/site-packages directory keep-old - " - BUILD() { rm -Rf Modules/zlib Modules/expat