summaryrefslogtreecommitdiff
path: root/repo/python-logbook/python-logbook.xibuild
blob: c18b3343076201a2100c9f60aaea7eb3c15b215c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

NAME="python-logbook"
DESC="Logging replacement for Python"

MAKEDEPS="python cython"

PKG_VER=1.5.3
SOURCE="https://github.com/getlogbook/logbook/archive/$PKG_VER.tar.gz"

build() {
	cython logbook/_speedups.pyx
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$PKG_DEST"
}