Mako: switch to Python3 as mesa-18.3.0 now needs Python3

This commit is contained in:
MilhouseVH 2018-12-07 17:11:46 +00:00
parent 790832820e
commit ea927d9b90

View File

@ -8,10 +8,10 @@ PKG_SHA256="4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"
PKG_LICENSE="GPL"
PKG_SITE="https://pypi.org/project/Mako"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="Python2:host setuptools:host MarkupSafe:host"
PKG_DEPENDS_HOST="Python3:host setuptools:host MarkupSafe:host"
PKG_LONGDESC="Mako is a super-fast templating language that borrows the best ideas from the existing templating languages."
PKG_TOOLCHAIN="manual"
makeinstall_host() {
python setup.py install --prefix=$TOOLCHAIN
python3 setup.py install --prefix=$TOOLCHAIN
}