summaryrefslogtreecommitdiff
path: root/python2-numexpr/PKGBUILD
blob: 76451d0ec755d11f10416297d4d470c9ed4c6751 (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Sebastien Binet <binet@lblbox>

pkgname=python2-numexpr
pkgver=2.7.0
pkgrel=1
pkgdesc="Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas"
url="https://github.com/pydata/numexpr"
arch=('x86_64' 'i686' 'pentium4')
license=('MIT')
depends=(
  'python2>=2.7'
  'python2<2.8'
  'python2-numpy'
)
makedepends=('python2-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pydata/numexpr/archive/v$pkgver.tar.gz")
sha256sums=('1923f038b90cc69635871968ed742be7775c879451c612f173c2547c823c9561')

build() {
  cd "$srcdir"/numexpr-$pkgver
  python2 setup.py build
}
package() {
  cd "$srcdir"/numexpr-$pkgver
  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}