blob: c4bb6802f12996b09077c2f734e95522e6a6059f (
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.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="python-dev py-pgen"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="saveas-https://github.com/cython/cython/archive/$pkgver.tar.gz/$pkgname-$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="7b4ef17745ec330edb7f17104771f980 cython-0.23.1.tar.gz"
sha256sums="289c806d417a031561186809cbf3d54d32aac8572e3b18b9dbbc8690f781273f cython-0.23.1.tar.gz"
sha512sums="3bff5c4ea81a0259bb0265b1f23f2f5c7a0729fe43ea5f7ab17a3bb6f54fc18607a54aefeb7983ec6772fca08e4512017cdb36ca482eea45f39070ace1db565f cython-0.23.1.tar.gz"
|