summaryrefslogtreecommitdiff
path: root/repo/python-pyrsistent/python-pyrsistent.xibuild
blob: 610a9c31c6080e457c41863b14c60fa56fdbbea8 (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.19.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"
}