diff options
Diffstat (limited to 'python2-numexpr')
-rw-r--r-- | python2-numexpr/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/python2-numexpr/PKGBUILD b/python2-numexpr/PKGBUILD new file mode 100644 index 00000000..76451d0e --- /dev/null +++ b/python2-numexpr/PKGBUILD @@ -0,0 +1,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 +} |