2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
2018-06-01 09:36:15 -07:00
|
|
|
|
|
|
|
|
PKG_NAME="Mako"
|
2023-11-09 04:54:03 +00:00
|
|
|
PKG_VERSION="1.3.0"
|
|
|
|
|
PKG_SHA256="e3a9d388fd00e87043edbe8792f45880ac0114e9c4adc69f6e9bfb2c55e3b11b"
|
2018-06-01 09:36:15 -07:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
|
PKG_SITE="https://pypi.org/project/Mako"
|
2021-01-19 19:34:13 +00:00
|
|
|
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2023-09-04 09:47:57 +00:00
|
|
|
PKG_DEPENDS_HOST="Python3:host setuptools:host MarkupSafe:host"
|
2018-06-01 09:36:15 -07:00
|
|
|
PKG_LONGDESC="Mako is a super-fast templating language that borrows the best ideas from the existing templating languages."
|
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
|
|
makeinstall_host() {
|
2023-08-01 14:24:06 +00:00
|
|
|
export DONT_BUILD_LEGACY_PYC=1
|
2021-01-19 19:34:13 +00:00
|
|
|
exec_thread_safe python3 setup.py install --prefix=${TOOLCHAIN}
|
2018-06-01 09:36:15 -07:00
|
|
|
}
|