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