summaryrefslogtreecommitdiff
path: root/repo/python-build
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-build')
-rw-r--r--repo/python-build/python-build.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-build/python-build.xibuild b/repo/python-build/python-build.xibuild
new file mode 100644
index 0000000..d645b71
--- /dev/null
+++ b/repo/python-build/python-build.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python python-pep517 python-pyparsing"
+
+PKG_VER=0.7.0
+SOURCE="https://files.pythonhosted.org/packages/source/b/build/build-$PKG_VER.tar.gz"
+DESC="Correct PEP517 package builder"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}