[arch-commits] Commit in python-pytables/trunk (PKGBUILD cython-0.21.patch)

2015-05-15 Thread Andrzej Giniewicz
Date: Friday, May 15, 2015 @ 13:43:32
  Author: aginiewicz
Revision: 133502

upgpkg: python-pytables 3.2.0-1

python-pytables: new upstream release

Modified:
  python-pytables/trunk/PKGBUILD
Deleted:
  python-pytables/trunk/cython-0.21.patch

---+
 PKGBUILD  |   17 +++--
 cython-0.21.patch |   12 
 2 files changed, 7 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-15 11:28:43 UTC (rev 133501)
+++ PKGBUILD2015-05-15 11:43:32 UTC (rev 133502)
@@ -4,21 +4,18 @@
 
 pkgbase=python-pytables
 pkgname=('python2-pytables' 'python-pytables')
-pkgver=3.1.1
-pkgrel=5
+pkgver=3.2.0
+pkgrel=1
 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";
-"cython-0.21.patch")
-md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524'
- 'c224fd77ddc69027955898a16a4766a9')
+makedepends=('lzo' 'hdf5' 'python2-numexpr' 'python-numexpr' 
'python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz";)
+md5sums=('339a2225ee814a6899cb14e7ba28c081')
 
 prepare() {
   cd "$srcdir"/tables-$pkgver
-  patch -p1 < ../cython-0.21.patch
 
   cd "$srcdir"
   cp -a tables-$pkgver tables-py2-$pkgver
@@ -35,7 +32,7 @@
 }
 
 package_python2-pytables() {
-  depends=('lzo' 'hdf5' 'python2-numexpr' 'cython2')
+  depends=('lzo' 'hdf5' 'python2-numexpr')
 
   cd "$srcdir"/tables-py2-${pkgver}
   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
@@ -49,7 +46,7 @@
 }
 
 package_python-pytables() {
-  depends=('lzo' 'hdf5' 'python-numexpr' 'cython')
+  depends=('lzo' 'hdf5' 'python-numexpr')
 
   cd "$srcdir"/tables-${pkgver}
   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1

Deleted: cython-0.21.patch
===
--- cython-0.21.patch   2015-05-15 11:28:43 UTC (rev 133501)
+++ cython-0.21.patch   2015-05-15 11:43:32 UTC (rev 133502)
@@ -1,12 +0,0 @@
-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(


[arch-commits] Commit in python-pytables/trunk (PKGBUILD cython-0.21.patch)

2014-09-21 Thread Andrzej Giniewicz
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
===
--- PKGBUILD2014-09-21 18:45:11 UTC (rev 119369)
+++ PKGBUILD2014-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(