diff options
Diffstat (limited to 'experimental/cython/APKBUILD')
-rw-r--r-- | experimental/cython/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/experimental/cython/APKBUILD b/experimental/cython/APKBUILD new file mode 100644 index 000000000..34bcf9a99 --- /dev/null +++ b/experimental/cython/APKBUILD @@ -0,0 +1,30 @@ +# 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" |