summaryrefslogtreecommitdiff
path: root/python2-numexpr/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-26 10:49:27 +0200
committerErich Eckner <git@eckner.net>2019-08-26 10:49:27 +0200
commit97149cfb9496de8c699ea78e2f836f653437f388 (patch)
treea7f9b86c0d7c326e0601f78424caa38a86f418f4 /python2-numexpr/PKGBUILD
parentc0c8afd04f4f2552513b5e0256e6de8382ab5df2 (diff)
downloadarchlinuxewe-97149cfb9496de8c699ea78e2f836f653437f388.tar.xz
python2-numexpr new
Diffstat (limited to 'python2-numexpr/PKGBUILD')
-rw-r--r--python2-numexpr/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/python2-numexpr/PKGBUILD b/python2-numexpr/PKGBUILD
new file mode 100644
index 000000000..76451d0ec
--- /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
+}