python: code style.

This commit is contained in:
Jerome Duval
2018-08-03 07:55:32 +02:00
parent 128d11d0b7
commit 98ee168b77
4 changed files with 30 additions and 28 deletions

View File

@@ -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