From 8f321e9e99d64d0122c9643052de643711067786 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Fri, 1 Jun 2018 09:36:21 -0700 Subject: [PATCH] MarkupSafe: add package --- packages/python/devel/MarkupSafe/package.mk | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/python/devel/MarkupSafe/package.mk diff --git a/packages/python/devel/MarkupSafe/package.mk b/packages/python/devel/MarkupSafe/package.mk new file mode 100644 index 0000000000..eb18f5d123 --- /dev/null +++ b/packages/python/devel/MarkupSafe/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="MarkupSafe" +PKG_VERSION="1.0" +PKG_SHA256="a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://pypi.org/project/MarkupSafe/" +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" +PKG_SECTION="python" +PKG_SHORTDESC="MarkupSafe: Implements a XML/HTML/XHTML Markup safe string for Python" +PKG_LONGDESC="MarkupSafe implements a XML/HTML/XHTML Markup safe string for Python" +PKG_TOOLCHAIN="manual" + +makeinstall_host() { + python setup.py install --prefix=$TOOLCHAIN +}