summaryrefslogtreecommitdiff
path: root/repo/python-mako/python-mako.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/python-mako/python-mako.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/python-mako/python-mako.xibuild')
-rw-r--r--repo/python-mako/python-mako.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/python-mako/python-mako.xibuild b/repo/python-mako/python-mako.xibuild
new file mode 100644
index 0000000..938a930
--- /dev/null
+++ b/repo/python-mako/python-mako.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+MAKEDEPS="python "
+DEPS="python-markupsafe"
+
+PKG_VER=1.1.6
+SOURCE=https://files.pythonhosted.org/packages/source/M/Mako/Mako-$PKG_VER.tar.gz
+DESC="A super-fast templating language that borrows the best ideas from the existing templating languages"
+
+prepare() {
+ sed -e '/\[tool:pytest\]/a filterwarnings =\n error\n ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' \
+ -e 's/-W error//' \
+ -i setup.cfg
+}
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python3 setup.py install --root="$PKG_DEST" --optimize=1
+}