upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-numexpr / repos / community-x86_64 / PKGBUILD
blobd5f48573dddc7135af4aa074b2779273c4906f79
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 # Contributor: Sebastien Binet <binet@lblbox>
5 pkgname=python-numexpr
6 pkgver=2.8.4
7 pkgrel=2
8 pkgdesc="Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas"
9 url="https://github.com/pydata/numexpr"
10 arch=(x86_64)
11 license=(MIT)
12 depends=(python-numpy)
13 makedepends=(python-setuptools)
14 source=(https://github.com/pydata/numexpr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
15 sha256sums=('0e21addd25db5f62d60d97e4380339d9c1fb2de72c88b070c279776ee6455d10')
17 build() {
18   cd numexpr-$pkgver
19   python setup.py build
21 package() {
22   cd numexpr-$pkgver
23   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
24   install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/