Date: Sunday, May 12, 2013 @ 11:41:18 Author: aginiewicz Revision: 90422
numexpr now supports python 3, so moving it to python-numexpr dir Added: python-numexpr/ python-numexpr/repos/community-i686/PKGBUILD (from rev 90421, python2-numexpr/repos/community-i686/PKGBUILD) python-numexpr/repos/community-x86_64/PKGBUILD (from rev 90421, python2-numexpr/repos/community-x86_64/PKGBUILD) python-numexpr/trunk/PKGBUILD (from rev 90420, python2-numexpr/trunk/PKGBUILD) Deleted: python-numexpr/repos/community-i686/PKGBUILD python-numexpr/repos/community-x86_64/PKGBUILD python-numexpr/trunk/PKGBUILD python2-numexpr/ ------------------------------------------------+ python-numexpr/repos/community-i686/PKGBUILD | 52 +++++++++++++++++++++++ python-numexpr/repos/community-x86_64/PKGBUILD | 52 +++++++++++++++++++++++ python-numexpr/trunk/PKGBUILD | 52 +++++++++++++++++++++++ repos/community-i686/PKGBUILD | 35 --------------- repos/community-x86_64/PKGBUILD | 35 --------------- trunk/PKGBUILD | 35 --------------- 6 files changed, 156 insertions(+), 105 deletions(-) Deleted: python-numexpr/repos/community-i686/PKGBUILD =================================================================== --- python2-numexpr/repos/community-i686/PKGBUILD 2013-05-12 09:03:51 UTC (rev 90410) +++ python-numexpr/repos/community-i686/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@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') -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 -} - Copied: python-numexpr/repos/community-i686/PKGBUILD (from rev 90421, python2-numexpr/repos/community-i686/PKGBUILD) =================================================================== --- python-numexpr/repos/community-i686/PKGBUILD (rev 0) +++ python-numexpr/repos/community-i686/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Sebastien Binet <binet@lblbox> + +pkgbase=python-numexpr +pkgname=('python2-numexpr' 'python-numexpr') +pkgver=2.1 +pkgrel=1 +pkgdesc="A JIT compiler for Python expressions" +url="http://code.google.com/p/numexpr/" +arch=('i686' 'x86_64') +license=('MIT') +makedepends=('python2-distribute' 'python-distribute' '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 +} + Deleted: python-numexpr/repos/community-x86_64/PKGBUILD =================================================================== --- python2-numexpr/repos/community-x86_64/PKGBUILD 2013-05-12 09:03:51 UTC (rev 90410) +++ python-numexpr/repos/community-x86_64/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@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') -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 -} - Copied: python-numexpr/repos/community-x86_64/PKGBUILD (from rev 90421, python2-numexpr/repos/community-x86_64/PKGBUILD) =================================================================== --- python-numexpr/repos/community-x86_64/PKGBUILD (rev 0) +++ python-numexpr/repos/community-x86_64/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Sebastien Binet <binet@lblbox> + +pkgbase=python-numexpr +pkgname=('python2-numexpr' 'python-numexpr') +pkgver=2.1 +pkgrel=1 +pkgdesc="A JIT compiler for Python expressions" +url="http://code.google.com/p/numexpr/" +arch=('i686' 'x86_64') +license=('MIT') +makedepends=('python2-distribute' 'python-distribute' '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 +} + Deleted: python-numexpr/trunk/PKGBUILD =================================================================== --- python2-numexpr/trunk/PKGBUILD 2013-05-12 09:03:51 UTC (rev 90410) +++ python-numexpr/trunk/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@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') -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 -} - Copied: python-numexpr/trunk/PKGBUILD (from rev 90420, python2-numexpr/trunk/PKGBUILD) =================================================================== --- python-numexpr/trunk/PKGBUILD (rev 0) +++ python-numexpr/trunk/PKGBUILD 2013-05-12 09:41:18 UTC (rev 90422) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Sebastien Binet <binet@lblbox> + +pkgbase=python-numexpr +pkgname=('python2-numexpr' 'python-numexpr') +pkgver=2.1 +pkgrel=1 +pkgdesc="A JIT compiler for Python expressions" +url="http://code.google.com/p/numexpr/" +arch=('i686' 'x86_64') +license=('MIT') +makedepends=('python2-distribute' 'python-distribute' '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 +} +