Date: Monday, February 7, 2022 @ 14:27:09 Author: kgizdov Revision: 1128022
initial release Added: python-numba/ python-numba/repos/ python-numba/trunk/ python-numba/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-numba/trunk/PKGBUILD =================================================================== --- python-numba/trunk/PKGBUILD (rev 0) +++ python-numba/trunk/PKGBUILD 2022-02-07 14:27:09 UTC (rev 1128022) @@ -0,0 +1,33 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +# Contributor: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs +_pkgname=numba +pkgname="python-${_pkgname}" +pkgver=0.55.1 +pkgrel=1 +pkgdesc="A Just-In-Time Compiler for Numerical Functions in Python." +url="https://numba.pydata.org/" +arch=('x86_64') +license=('BSD') +depends=('python-llvmlite' 'python-numpy' 'tbb') +makedepends=('cuda' 'cython' 'git' 'python-setuptools' 'openmp') +optdepends=('python-scipy: for numpy.linalg support' + 'cuda: for NVIDIA CUDA support' + 'openmp: for OpenMP support') +source=("${_pkgname}-${pkgver}::git+https://github.com/${_pkgname}/${_pkgname}#tag=${pkgver}") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +check_disabled() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py test +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}