summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/system/python-markupsafe.xibuild16
1 files changed, 16 insertions, 0 deletions
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
+}