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