summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57e14c80282..5029a0c3f3f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = python-llvmlite
pkgdesc = Lightweight LLVM python binding for writing JIT compilers
pkgver = 0.27.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/numba/llvmlite
arch = i686
arch = x86_64
license = BSD
makedepends = cython
- makedepends = llvm
depends = python
depends = llvm>=7.0.0
depends = llvm<7.1.0
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