summaryrefslogtreecommitdiff
path: root/repo/python-pyrsistent/python-pyrsistent.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-pyrsistent/python-pyrsistent.xibuild')
-rw-r--r--repo/python-pyrsistent/python-pyrsistent.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/python-pyrsistent/python-pyrsistent.xibuild b/repo/python-pyrsistent/python-pyrsistent.xibuild
new file mode 100644
index 0000000..8734a95
--- /dev/null
+++ b/repo/python-pyrsistent/python-pyrsistent.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="python-pyrsistent"
+DESC="Persistent/Functional/Immutable data structures"
+
+MAKEDEPS="python"
+
+PKG_VER=0.18.0
+SOURCE="https://github.com/tobgu/pyrsistent/archive/v$PKG_VER.tar.gz"
+
+prepare() {
+ apply_patches
+ sed -i 's/<5//g' setup.py
+}
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+}
+