Date: Sunday, September 21, 2014 @ 21:18:59 Author: aginiewicz Revision: 119370
upgpkg: python-pytables 3.1.1-3 Rebuild for new release of hdf5 Added: python-pytables/trunk/cython-0.21.patch Modified: python-pytables/trunk/PKGBUILD -------------------+ PKGBUILD | 15 +++++++++++---- cython-0.21.patch | 12 ++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-09-21 18:45:11 UTC (rev 119369) +++ PKGBUILD 2014-09-21 19:18:59 UTC (rev 119370) @@ -5,19 +5,26 @@ pkgbase=python-pytables pkgname=('python2-pytables' 'python-pytables') pkgver=3.1.1 -pkgrel=2 +pkgrel=3 arch=("i686" "x86_64") pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" url="http://www.pytables.org" license=("BSD") makedepends=('lzo' 'hdf5' 'python2-numexpr' 'cython2' 'python-numexpr' 'cython') -source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz") -md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524') +source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz" + "cython-0.21.patch") +md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524' + 'c224fd77ddc69027955898a16a4766a9') -build() { +prepare() { + cd "$srcdir"/tables-$pkgver + patch -p1 < ../cython-0.21.patch + cd "$srcdir" cp -a tables-$pkgver tables-py2-$pkgver +} +build() { msg "Building Python2" cd "$srcdir"/tables-py2-$pkgver python2 setup.py build Added: cython-0.21.patch =================================================================== --- cython-0.21.patch (rev 0) +++ cython-0.21.patch 2014-09-21 19:18:59 UTC (rev 119370) @@ -0,0 +1,12 @@ +diff -urN tables-3.1.1.orig/setup.py tables-3.1.1/setup.py +--- tables-3.1.1.orig/setup.py 2014-09-21 21:11:18.612906437 +0200 ++++ tables-3.1.1/setup.py 2014-09-21 21:11:38.562703246 +0200 +@@ -123,7 +123,7 @@ + # Check if Cython is installed or not (requisite) + try: + from Cython.Distutils import build_ext +- from Cython.Compiler.Main import Version ++ from Cython.Compiler import Version + cmdclass['build_ext'] = build_ext + except ImportError: + exit_with_error(