summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7cbb20f2b216407d6a70f08d05edb2c18ec8130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Chris Brendel <cdbrendel@gmail.com>
# Python package author: Matthew Honnibal <matt@explosion.ai>
pkgname=python-blis
_origpkgname=cython-blis
pkgver=0.4.1
pkgrel=1
pkgdesc="The Blis linear algebra routines as a self-contained Python C-extension"
arch=("x86_64")
url="https://github.com/explosion/cython-blis"
license=("MIT")
depends=("cython" "python-numpy" "python-pytest" "python-hypothesis")
makedepends=("python-setuptools" "python-wheel")
source=("$pkgname-$pkgver.tar.gz::https://github.com/explosion/cython-blis/archive/v$pkgver.tar.gz")
md5sums=('277685a789be880d455b8855a550d2ac')

package() {
    cd "$_origpkgname-$pkgver"
    export BLIS_COMPILER="gcc"
    export BLIS_ARCH="x86_64"
    python setup.py install --root="${pkgdir}/" --optimize=1
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"    
}