blob: c8027027ec564b8bfedcf04e337a328dac9c5533 (
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.4
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="45a87f0b7e964eaff685ff12263c6f81 cython-0.23.4.tar.gz"
sha256sums="f0fdc2d39a313dedd80b2ef45b63c925f6633579df37967092f6f32fb0dd6023 cython-0.23.4.tar.gz"
sha512sums="eae3d01448cf7e4e7a507b2e56deac9fd2e9a44aa90f9379397cfbfd1c9fc522fc6f64ea50650f3fa048052aed498f556e02f03286d0fd9cf2ef9eada20ab5a4 cython-0.23.4.tar.gz"
|