mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
29 lines
883 B
Plaintext
29 lines
883 B
Plaintext
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=cython
|
|
pkgver=0.28.2
|
|
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"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr \
|
|
--root="$pkgdir" --optimize=1
|
|
}
|
|
|
|
sha512sums="4325cd7a5a7998da0b65e98fd4d8d61279f0cb693170ca7b904b61c2d8366b0240c8b4af73b8abe30530adf53bd4ebcacc49cc4f8a6273df88fa3ce7cb1f23b3 cython-0.28.2.tar.gz"
|