git » python-cython.git » main » tree

[main] / PKGBUILD

_pkgname=Cython
pkgname=python-cython
pkgver=0.29.36
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=(https://github.com/cython/cython/releases/download/$pkgver/Cython-$pkgver.tar.gz
)

build() {
	cd "$_pkgname-$pkgver"
	pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD
}

package() {
	cd "$_pkgname-$pkgver"
	pip3 install --root="$pkgdir" --no-index --find-links=dist --no-cache-dir --no-user $_pkgname
}
sha256sums=('41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f')