From 6ad44570c2f75552539fddd1c84fc045e9273b6d Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Fri, 1 Jun 2018 09:36:15 -0700 Subject: [PATCH] Mako: add package --- packages/python/devel/Mako/package.mk | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/python/devel/Mako/package.mk diff --git a/packages/python/devel/Mako/package.mk b/packages/python/devel/Mako/package.mk new file mode 100644 index 0000000000..ade7d5e916 --- /dev/null +++ b/packages/python/devel/Mako/package.mk @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2018 Team LibreELEC +# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) +# +# OpenELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# OpenELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="Mako" +PKG_VERSION="1.0.7" +PKG_SHA256="4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae" +PKG_ARCH="any" +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_SECTION="python" +PKG_SHORTDESC="Mako: A super-fast templating language that borrows the best ideas from the existing templating languages." +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 +}