aboutsummaryrefslogtreecommitdiffstats
path: root/main/cython/APKBUILD
blob: c56f717630e7b077b82982d5b90e907840be2280 (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
30
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=cython
pkgver=0.24.1
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"
        python setup.py build || return 1
}

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

md5sums="ba3474937557f210acb45852e9ebb0fc  cython-0.24.1.tar.gz"
sha256sums="e4228632447705d1fe5606867fc51218f2bf390a824934f0b4c0d2de315ff6b8  cython-0.24.1.tar.gz"
sha512sums="2bfe767f0d707962fab2726ea457a0b926c5904a75b9a4a29b088e9198e5e40a87f241076192d817b1adb047d569c565e18fddd42a5256d324029bb558d5dcf9  cython-0.24.1.tar.gz"