summaryrefslogtreecommitdiff
path: root/repo/python-sip/python-sip.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-sip/python-sip.xibuild')
-rw-r--r--repo/python-sip/python-sip.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-sip/python-sip.xibuild b/repo/python-sip/python-sip.xibuild
new file mode 100644
index 0000000..9ec9c0d
--- /dev/null
+++ b/repo/python-sip/python-sip.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-packaging python-ply python-setuptools python-toml"
+
+PKG_VER=6.6.2
+SOURCE=https://files.pythonhosted.org/packages/source/s/sip/sip-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="A Python bindings generator for C/C++ libraries"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}