summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ff598c364ce7c690ac3543b96c7446d3e113e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
# Contributor: Michael Schubert <mschu.dev at gmail>

pkgname=(python-numba-git)
pkgver=0.22.1.r772.gb2e1bb3
pkgrel=1
pkgdesc="NumPy aware dynamic Python compiler using LLVM"
url="https://github.com/numba/numba"
arch=('i686' 'x86_64')
license=('BSD')
depends=('python-llvmlite-git' )
makedepends=('git' 'cython')
conflicts=()
replaces=()
backup=()
provides=(python-numba)
source=(git+https://github.com/numba/numba.git)
md5sums=('SKIP')

pkgver() {
  cd numba
  git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/numba"
  python setup.py build
}

package() {
  cd "$srcdir/numba"
  python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
}