summaryrefslogtreecommitdiff
path: root/repo/python/python-markupsafe.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python/python-markupsafe.xibuild')
-rw-r--r--repo/python/python-markupsafe.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python/python-markupsafe.xibuild b/repo/python/python-markupsafe.xibuild
new file mode 100644
index 0000000..b8327e6
--- /dev/null
+++ b/repo/python/python-markupsafe.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+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
+}