From f88fc9e15914c8ac4a928e8f6fd17bf02e4f3f2a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 8 Mar 2015 15:44:20 +0100 Subject: [PATCH] new package: add package 'MarkupSafe' Signed-off-by: Stephan Raue --- packages/python/devel/MarkupSafe/package.mk | 41 +++++++++++++++++++++ 1 file changed, 41 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..5d7968eb45 --- /dev/null +++ b/packages/python/devel/MarkupSafe/package.mk @@ -0,0 +1,41 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# 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="0.23" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://pypi.python.org/pypi/MarkupSafe" +PKG_URL="https://pypi.python.org/packages/source/M/MarkupSafe/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS_HOST="Python:host setuptools:host" +PKG_PRIORITY="optional" +PKG_SECTION="python/devel" +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_IS_ADDON="no" +PKG_AUTORECONF="no" + +make_host() { + : # nothing todo +} + +makeinstall_host() { + python setup.py install --prefix=$ROOT/$TOOLCHAIN +}