summaryrefslogtreecommitdiff
path: root/experimental/cython/APKBUILD
blob: eb9609f74be55d6633128d04232d63b288ea6367 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cython
_pkgname=Cython
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
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/$_p/$_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"