summaryrefslogtreecommitdiff
path: root/repo/python-pyrsistent/python-pyrsistent.xibuild
blob: 8734a957d61f8f719658d3cf7facf83cbf7a3c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"
}