# Contributor: Stuart Cardall # Contributor: Oleg Titov # Maintainer: Stuart Cardall pkgname=cython pkgver=0.29.13 pkgrel=1 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" options="!check" # several tests fail makedepends="py3-setuptools python3-dev" subpackages="cython-doc" source="cython-$pkgver.tar.gz::https://github.com/cython/cython/archive/$pkgver.tar.gz" # compatible fix for removing dev subpkg from apkbuild # cython is not a library but a compiler and does not need a dev subpackage provides=cython-dev build() { python3 setup.py build } check() { make test } package() { python3 setup.py install --prefix=/usr --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="79efebfddabf31a046ae86a2c2170e0956098f4b1c7b8bbd338d30be7c96c31ee2d648332fc16ad9cf1e5d0ea4ca1a070b2d31ccbeae0c0f86a2f7700b92f656 cython-0.29.13.tar.gz"