From ec1ad426592e481c3dcf65ce65ff75c103ae1513 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Feb 2022 23:48:51 +0000 Subject: added python markdown safe --- repo/system/python-markupsafe.xibuild | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 repo/system/python-markupsafe.xibuild diff --git a/repo/system/python-markupsafe.xibuild b/repo/system/python-markupsafe.xibuild new file mode 100644 index 0000000..41ddce0 --- /dev/null +++ b/repo/system/python-markupsafe.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +MAKEDEPS=(python) +DEPS=(python) + +PKG_VER=2.0.1 +SOURCE=https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-$PKG_VER.tar.gz +DESC="Implements a XML/HTML/XHTML Markup safe string for Python" + +build() { + python setup.py build +} + +package () { + python3 setup.py install --root="$PKG_DEST" --optimize=1 +} -- cgit v1.2.1