[arch-commits] Commit in python-pytables/trunk (PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Tue Oct 4 21:29:30 UTC 2016


    Date: Tuesday, October 4, 2016 @ 21:29:29
  Author: aginiewicz
Revision: 191340

upgpkg: python-pytables 3.3.0-1

python-pytables: new upstream release, blosc as dependency

Modified:
  python-pytables/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-04 21:02:07 UTC (rev 191339)
+++ PKGBUILD	2016-10-04 21:29:29 UTC (rev 191340)
@@ -4,19 +4,20 @@
 
 pkgbase=python-pytables
 pkgname=('python2-pytables' 'python-pytables')
-pkgver=3.2.3.1
-pkgrel=7
+pkgver=3.3.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_18' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools' 'cython' 'cython2')
-source=("https://github.com/PyTables/PyTables/archive/v.${pkgver}.tar.gz"
+makedepends=('lzo' 'hdf5_18' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'blosc' 'bzip2' 'lzo')
+source=("https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz"
         "hdf5_18.patch")
-md5sums=('e1a94b03c01dd49f2ebbd4328056d81d'
+md5sums=('056c161ae0fd2d6e585b766adacf3b0b'
          '6cca19b6ce2eb9f84d18888ad2c1a3b4')
+
 prepare() {
-  cd "$srcdir"/PyTables-v.$pkgver
+  cd "$srcdir"/PyTables-$pkgver
 
   # -march=native generates AVX instructions if the host supports it, which
   # then results in "SIGILL (Illegal instruction)" on machines lacking AVX
@@ -28,24 +29,24 @@
   patch -Np0 -i "$srcdir"/hdf5_18.patch
   
   cd "${srcdir}" 
-  cp -a PyTables-v.$pkgver PyTables-py2-v.$pkgver
+  cp -a PyTables-$pkgver PyTables-py2-$pkgver
 }
 
 build() {
   msg "Building Python2"
-  cd "$srcdir"/PyTables-py2-v.$pkgver
-  HDF5_DIR=/usr/include/hdf5_18 LD_LIBRARY_PATH=/usr/lib/hdf5_18  python2 setup.py build 
+  cd "$srcdir"/PyTables-py2-$pkgver
+  HDF5_DIR=/usr/include/hdf5_18 LD_LIBRARY_PATH=/usr/lib/hdf5_18 python2 setup.py build --blosc=/usr
 
   msg "Building Python3"
-  cd "$srcdir"/PyTables-v.$pkgver
-  python setup.py build
+  cd "$srcdir"/PyTables-$pkgver
+  HDF5_DIR=/usr/include/hdf5_18 LD_LIBRARY_PATH=/usr/lib/hdf5_18 python setup.py build --blosc=/usr
 }
 
 package_python2-pytables() {
-  depends=('lzo' 'hdf5_18' 'python2-numexpr')
+  depends=('lzo' 'hdf5_18' 'python2-numexpr' 'blosc')
 
-  cd "$srcdir"/PyTables-py2-v.${pkgver}
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  cd "$srcdir"/PyTables-py2-${pkgver}
+  python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
 
   install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 
@@ -62,10 +63,10 @@
 }
 
 package_python-pytables() {
-  depends=('lzo' 'hdf5_18' 'python-numexpr')
+  depends=('lzo' 'hdf5_18' 'python-numexpr' 'blosc')
 
-  cd "$srcdir"/PyTables-v.${pkgver}
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  cd "$srcdir"/PyTables-${pkgver}
+  python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
 
   install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 



More information about the arch-commits mailing list