summaryrefslogtreecommitdiff
path: root/community/python2-numexpr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-numexpr/PKGBUILD')
-rw-r--r--community/python2-numexpr/PKGBUILD35
1 files changed, 0 insertions, 35 deletions
diff --git a/community/python2-numexpr/PKGBUILD b/community/python2-numexpr/PKGBUILD
deleted file mode 100644
index a59c784ba..000000000
--- a/community/python2-numexpr/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 76243 2012-09-15 08:46:42Z aginiewicz $
-# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
-# Contributor: Sebastien Binet <binet@lblbox>
-
-pkgname=python2-numexpr
-pkgver=2.0.1
-pkgrel=2
-pkgdesc="A JIT compiler for Python expressions"
-url="http://code.google.com/p/numexpr/"
-arch=('i686' 'x86_64' 'mips64el')
-license=('MIT')
-depends=('python2-numpy')
-makedepends=('python2-distribute')
-provides=('python-numexpr') # temporary compatibility because of rename
-replaces=('python-numexpr') # (there is no python 3 version yet)
-source=(http://numexpr.googlecode.com/files/numexpr-$pkgver.tar.gz)
-md5sums=('5cdc05c2ef8761daeae8a3182e468ba4')
-
-build() {
- cd "$srcdir"/numexpr-$pkgver
-
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir"/numexpr-$pkgver
-
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/python2|" \
- $(find "${pkgdir}" -name '*.py')
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-