# Contributor: Stuart Cardall # Contributor: Oleg Titov # Maintainer: Stuart Cardall pkgname=cython pkgver=0.29.36 pkgrel=0 pkgdesc="Cython is an optimising static compiler for both the Python & the extended Cython programming languages." url="https://cython.org/" arch="all" license="Apache-2.0" makedepends="py3-setuptools python3-dev" depends="python3" subpackages="cython-pyc cython-doc" source="cython-$pkgver.tar.gz::https://github.com/cython/cython/archive/$pkgver.tar.gz" case "$CARCH" in arm*) # hang forever options="$options !check" ;; esac build() { python3 setup.py build } check() { python3 runtests.py -j${JOBS:-$(nproc)} } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/cython/license" install -Dm 644 README.rst "$pkgdir/usr/share/doc/cython/readme.rst" } sha512sums=" a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a cython-0.29.36.tar.gz "