blob: c33bc349213e3c78e2b232ac90302fdc94f22ac4 (
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
31
32
33
34
35
36
37
38
39
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=cython
pkgver=0.23.5
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="python-dev py-pgen"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/cython/cython/archive/$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="b5e85609a412a92be4bf7480cf606b60 cython-0.23.5.tar.gz"
sha256sums="f20123a25269f3dcdb90fbf9f7ef553bf383256b1a5d16ada58a941f34e9e99e cython-0.23.5.tar.gz"
sha512sums="0edaf0c849d6a3311fb8fcca33f80a6ccde025c73c14f1f5fd6b621ecbed3f49b1d2a8f2e0e0782f1eb3fb611b761284136a6d6b84d74c73353042514306e099 cython-0.23.5.tar.gz"
|