[arch-commits] Commit in python-numexpr/repos (4 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Mon Aug 19 10:20:30 UTC 2013


    Date: Monday, August 19, 2013 @ 12:20:30
  Author: angvp
Revision: 96017

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  python-numexpr/repos/community-testing-i686/
  python-numexpr/repos/community-testing-i686/PKGBUILD
    (from rev 96016, python-numexpr/trunk/PKGBUILD)
  python-numexpr/repos/community-testing-x86_64/
  python-numexpr/repos/community-testing-x86_64/PKGBUILD
    (from rev 96016, python-numexpr/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: python-numexpr/repos/community-testing-i686/PKGBUILD (from rev 96016, python-numexpr/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-08-19 10:20:30 UTC (rev 96017)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-numexpr
+pkgname=('python2-numexpr' 'python-numexpr')
+pkgver=2.1
+pkgrel=2
+pkgdesc="A JIT compiler for Python expressions"
+url="http://code.google.com/p/numexpr/"
+arch=('i686' 'x86_64')
+license=('MIT')
+makedepends=('python2-setuptools' 'python-setuptools' 'python-numpy' 'python2-numpy')
+source=(http://numexpr.googlecode.com/files/numexpr-$pkgver.tar.gz)
+md5sums=('8c138e81fb4214d05453da0fc88bf0d5')
+
+build() {
+  cd "$srcdir"
+  cp -a numexpr-$pkgver numexpr-py2-$pkgver
+
+  msg "Building Python2"
+  cd "$srcdir"/numexpr-py2-$pkgver
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/numexpr-$pkgver
+  python setup.py build
+}
+
+package_python2-numexpr() {
+  depends=('python2-numpy')
+
+  cd "$srcdir"/numexpr-py2-$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
+}
+
+package_python-numexpr() {
+  depends=('python-numpy')
+
+  cd "$srcdir"/numexpr-$pkgver
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+

Copied: python-numexpr/repos/community-testing-x86_64/PKGBUILD (from rev 96016, python-numexpr/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-08-19 10:20:30 UTC (rev 96017)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-numexpr
+pkgname=('python2-numexpr' 'python-numexpr')
+pkgver=2.1
+pkgrel=2
+pkgdesc="A JIT compiler for Python expressions"
+url="http://code.google.com/p/numexpr/"
+arch=('i686' 'x86_64')
+license=('MIT')
+makedepends=('python2-setuptools' 'python-setuptools' 'python-numpy' 'python2-numpy')
+source=(http://numexpr.googlecode.com/files/numexpr-$pkgver.tar.gz)
+md5sums=('8c138e81fb4214d05453da0fc88bf0d5')
+
+build() {
+  cd "$srcdir"
+  cp -a numexpr-$pkgver numexpr-py2-$pkgver
+
+  msg "Building Python2"
+  cd "$srcdir"/numexpr-py2-$pkgver
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/numexpr-$pkgver
+  python setup.py build
+}
+
+package_python2-numexpr() {
+  depends=('python2-numpy')
+
+  cd "$srcdir"/numexpr-py2-$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
+}
+
+package_python-numexpr() {
+  depends=('python-numpy')
+
+  cd "$srcdir"/numexpr-$pkgver
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+




More information about the arch-commits mailing list