blob: 0bcb58dc61b3f84e3da5fe0305d24b30a6e512f1 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cython
_pkgname=Cython
pkgver=0.29.32
pkgrel=0
pkgdesc="Compiler for writing C extensions for the Python language"
url="https://cython.org/"
arch="all"
options="net !check" # downloads numpy at least
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://pypi.io/packages/source/C/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 runtests.py --shard_count=${JOBS}
}
package() {
mkdir -p "$pkgdir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2c21e4f130e33ab79a8c2c71e4e14a443c59f35b2ca8ae675ca4c7ccff9e9d940e6724e1fd79b4b23dd94c769c1a94734802200dd6320d0ec4ac5748472a9b03 Cython-0.29.32.tar.gz"
|