summaryrefslogtreecommitdiff
path: root/repo/cython/cython.xibuild
blob: 4a85372087b25d1b19eeb06561fa5ad3de460f57 (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
28
29
#!/bin/sh

NAME="cython"
DESC="Cython is an optimising static compiler for both the Python & the extended Cython programming languages."

MAKEDEPS="python"

PKG_VER=0.29.32
SOURCE="https://github.com/cython/cython/archive/$PKG_VER.tar.gz"

ADDITIONAL="
cython-test-fix.patch
"

prepare () {
    apply_patches
}

build() {
	python3 setup.py build
}

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

	install -Dm 644 LICENSE.txt "$PKG_DEST/usr/share/licenses/cython/license"
	install -Dm 644 README.rst "$PKG_DEST/usr/share/doc/cython/readme.rst"
}