aboutsummaryrefslogtreecommitdiffstats
path: root/main/cython/APKBUILD
blob: f606d38d9ef0c01a911c47af1ee6fed7bcd26ff1 (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=cython
pkgver=0.29.2
pkgrel=0
pkgdesc="Cython is an optimising static compiler for both the Python & the extended Cython programming languages."
url="http://cython.org"
arch="all"
license="Apache-2.0"
depends=""
depends_dev="python2-dev py-pgen cython"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/cython/cython/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr \
		--root="$pkgdir" --optimize=1
}

sha512sums="941b1ad7b83622ccf8e2d544b24b13908afe447313504a4178800ef23757a3c5cbb10a13013d4733c8efb0eb7a5ea6f31a79f04a537d12a3637a0cbe293600eb  cython-0.29.2.tar.gz"