Date: Monday, February 7, 2022 @ 14:03:27 Author: kgizdov Revision: 1127939
initial release Added: python-llvmlite/ python-llvmlite/repos/ python-llvmlite/trunk/ python-llvmlite/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: python-llvmlite/trunk/PKGBUILD =================================================================== --- python-llvmlite/trunk/PKGBUILD (rev 0) +++ python-llvmlite/trunk/PKGBUILD 2022-02-07 14:03:27 UTC (rev 1127939) @@ -0,0 +1,34 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> + +_pkgname=llvmlite +pkgbase="python-${_pkgname}" +pkgname=("${pkgbase}") +pkgver=0.38.0 +pkgrel=1 +pkgdesc='A Lightweight LLVM Python Binding for Writing JIT Compilers' +arch=('x86_64') +makedepends=('cmake' 'llvm11' 'git' 'python-setuptools' 'python-setuptools-scm') +depends=('python' 'llvm11-libs') +url="https://github.com/numba/${_pkgname}" +license=('BSD') + +source=("${_pkgname}-${pkgver}::git+${url}") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py test +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + python setup.py install --root="${pkgdir}/" --optimize=1 + + install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}