summaryrefslogblamecommitdiff
path: root/user/py3-cython/APKBUILD
blob: f32a5b8d737245ed93c4f71b24d0106a2931ed17 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                  
              



                                                                   
                                                



















                                                                             
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cython
_pkgname=Cython
pkgver=0.29.28
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="cff0125d64596955acc20ec28cbeeb8e186b383fcba380d77991225f943dc64cd498bc09f441cec04c56d808b194fa181a760fd9f5f9d7890829de666ec37c77  Cython-0.29.28.tar.gz"