summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2019-01-09 22:18:24 +0100
committermschubert2019-01-09 22:18:24 +0100
commit8326663c8ca8eb36f5fe0a1cb9a43adb7cb42b15 (patch)
tree09bacd871c2e0ecfde6a34e74c344149aefc00db /PKGBUILD
parent98836917db6fa56d8924f9e7f360d2a6a844e526 (diff)
downloadaur-8326663c8ca8eb36f5fe0a1cb9a43adb7cb42b15.tar.gz
checksum changed; add check
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 446f287c8cd..aca9fd9e3eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
pkgname=python-llvmlite
pkgver=0.27.0
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight LLVM python binding for writing JIT compilers"
url="https://github.com/numba/llvmlite"
arch=('i686' 'x86_64')
license=('BSD')
depends=('python' 'llvm>=7.0.0' 'llvm<7.1.0' 'llvm-libs')
-makedepends=('cython' 'llvm')
+makedepends=('cython')
source=("https://github.com/numba/llvmlite/archive/v$pkgver.tar.gz")
sha256sums=('a24d7c79f032bf7892f39f883e1aff270054d4648bc783b5011b55525cb69ed6')
@@ -16,6 +16,11 @@ build() {
python setup.py build
}
+check() {
+ cd "$srcdir/llvmlite-$pkgver"
+ python setup.py check
+}
+
package() {
cd "$srcdir/llvmlite-$pkgver"
python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1