adjust recipes to use python 3.6, bump revisions.

This commit is contained in:
Jerome Duval
2017-03-27 23:08:42 +02:00
parent 7a7ebe6cae
commit 7204e0f284
10 changed files with 69 additions and 62 deletions

View File

@@ -11,10 +11,11 @@ also maintaining close ties to Python calling and scoping semantics."
HOMEPAGE="http://www.makotemplates.org"
COPYRIGHT="2006-2015 the Mako authors and contributors"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/source/M/Mako/Mako-$portVersion.tar.gz"
CHECKSUM_SHA256="7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c"
SOURCE_DIR="Mako-$portVersion"
PYTHON_VERSION="3.6"
ARCHITECTURES="arm ppc x86 x86_gcc2 x86_64"
@@ -24,7 +25,7 @@ PROVIDES="
"
REQUIRES="
haiku
cmd:python3
cmd:python$PYTHON_VERSION
"
BUILD_REQUIRES="
@@ -32,19 +33,19 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:python3
cmd:python$PYTHON_VERSION
cmd:gcc
"
BUILD()
{
$portPackageLinksDir/cmd~python3/bin/python3 setup.py build
$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3 setup.py build
}
INSTALL()
{
# GENERIC: all python_setuptools-based installs need this
python=$portPackageLinksDir/cmd~python3/bin/python3
python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH