summaryrefslogblamecommitdiff
path: root/experimental/cython/APKBUILD
blob: 34bcf9a9955b620566f160e6c18295fc516bf69e (plain) (tree)





























                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cython
_pkgname=Cython
pkgver=0.29.12
pkgrel=0
pkgdesc="C extension compiler for Python"
url="https://pypi.org/project/Cython/"
arch="all"
license="Apache-2.0"
depends=""
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="502756331d8c3618a75a881fc1a20b7e871cd3412904070f3080d5bd0918440230fdae96f096c255fec6b32b81ffcf838f22953b8da23b8845527810f457be60  Cython-0.29.12.tar.gz"