aboutsummaryrefslogtreecommitdiffstats
path: root/main/cython/APKBUILD
blob: 53e7b443d4e033f223803e95601e17e2b2ae5a9c (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.25.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="ASL-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 || return 1
}

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

md5sums="775d29a7735798720e26782cac088f1b  cython-0.25.1.tar.gz"
sha256sums="1cda0c5b6ebe9a6df19993cabbe747e35e6f540d438e1a750f4fc8a17b3a7d37  cython-0.25.1.tar.gz"
sha512sums="114b1a1630e3239d351d376bafba4acf8d737608ede2c8552dbc8c468a56201f350bb4a05adff1f8cd68f7c486a1914215739758b57c4527c9ccb34f937e3520  cython-0.25.1.tar.gz"