[arch-commits] Commit in python-pytables/repos (8 files)

Antonio Rojas arojas at archlinux.org
Wed Dec 14 12:25:49 UTC 2016


    Date: Wednesday, December 14, 2016 @ 12:25:48
  Author: arojas
Revision: 199408

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

Added:
  python-pytables/repos/community-i686/PKGBUILD
    (from rev 199407, python-pytables/trunk/PKGBUILD)
  python-pytables/repos/community-i686/hdf5_18.patch
    (from rev 199407, python-pytables/trunk/hdf5_18.patch)
  python-pytables/repos/community-x86_64/PKGBUILD
    (from rev 199407, python-pytables/trunk/PKGBUILD)
  python-pytables/repos/community-x86_64/hdf5_18.patch
    (from rev 199407, python-pytables/trunk/hdf5_18.patch)
Deleted:
  python-pytables/repos/community-i686/PKGBUILD
  python-pytables/repos/community-i686/hdf5_18.patch
  python-pytables/repos/community-x86_64/PKGBUILD
  python-pytables/repos/community-x86_64/hdf5_18.patch

--------------------------------+
 /PKGBUILD                      |  156 +++++++++++++++++++++++++++++++++++++++
 /hdf5_18.patch                 |   28 +++++++
 community-i686/PKGBUILD        |   78 -------------------
 community-i686/hdf5_18.patch   |   14 ---
 community-x86_64/PKGBUILD      |   78 -------------------
 community-x86_64/hdf5_18.patch |   14 ---
 6 files changed, 184 insertions(+), 184 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-12-14 12:25:07 UTC (rev 199407)
+++ community-i686/PKGBUILD	2016-12-14 12:25:48 UTC (rev 199408)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-pkgbase=python-pytables
-pkgname=('python2-pytables' 'python-pytables')
-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' 'blosc' 'bzip2' 'lzo')
-source=("https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz"
-        "hdf5_18.patch")
-md5sums=('056c161ae0fd2d6e585b766adacf3b0b'
-         '6cca19b6ce2eb9f84d18888ad2c1a3b4')
-
-prepare() {
-  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
-  # https://github.com/PyTables/PyTables/issues/458
-  # https://github.com/PyTables/PyTables/pull/503
-  sed -i 's/"-march=native",\?//' setup.py
-
-  # force hdf5_18 location
-  patch -Np0 -i "$srcdir"/hdf5_18.patch
-  
-  cd "${srcdir}" 
-  cp -a PyTables-$pkgver PyTables-py2-$pkgver
-}
-
-build() {
-  msg "Building Python2"
-  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-$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' 'blosc')
-
-  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"
-
-  # see FS#36015 and FS#44971
-  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
-  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
-  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
-  mv "$pkgdir"/usr/bin/pttree{,-2.7}
-
-  # see FS#45975
-  _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
-  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
-  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
-}
-
-package_python-pytables() {
-  depends=('lzo' 'hdf5_18' 'python-numexpr' 'blosc')
-
-  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"
-
-  # see FS#45975
-  _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
-  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
-  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
-}
-

Copied: python-pytables/repos/community-i686/PKGBUILD (from rev 199407, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-12-14 12:25:48 UTC (rev 199408)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+pkgbase=python-pytables
+pkgname=('python2-pytables' 'python-pytables')
+pkgver=3.3.0
+pkgrel=2
+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' 'blosc' 'bzip2' 'lzo')
+source=("https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz"
+        "hdf5_18.patch")
+md5sums=('056c161ae0fd2d6e585b766adacf3b0b'
+         '6cca19b6ce2eb9f84d18888ad2c1a3b4')
+
+prepare() {
+  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
+  # https://github.com/PyTables/PyTables/issues/458
+  # https://github.com/PyTables/PyTables/pull/503
+  sed -i 's/"-march=native",\?//' setup.py
+
+  # force hdf5_18 location
+  patch -Np0 -i "$srcdir"/hdf5_18.patch
+  
+  cd "${srcdir}" 
+  cp -a PyTables-$pkgver PyTables-py2-$pkgver
+}
+
+build() {
+  msg "Building Python2"
+  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-$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' 'blosc')
+
+  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"
+
+  # see FS#36015 and FS#44971
+  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
+  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
+  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
+  mv "$pkgdir"/usr/bin/pttree{,-2.7}
+
+  # see FS#45975
+  _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
+}
+
+package_python-pytables() {
+  depends=('lzo' 'hdf5_18' 'python-numexpr' 'blosc')
+
+  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"
+
+  # see FS#45975
+  _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
+}
+

Deleted: community-i686/hdf5_18.patch
===================================================================
--- community-i686/hdf5_18.patch	2016-12-14 12:25:07 UTC (rev 199407)
+++ community-i686/hdf5_18.patch	2016-12-14 12:25:48 UTC (rev 199408)
@@ -1,14 +0,0 @@
---- setup.py.old	2016-05-24 13:16:36.129769271 +0200
-+++ setup.py	2016-05-24 13:17:07.380243229 +0200
-@@ -552,6 +552,11 @@
-         libdir = compiler.has_function(package.target_function,
-                                        libraries=(package.library_name,))
- 
-+    # force location of hdf5_18
-+    if package==hdf5_package:
-+        hdrdir = '/usr/include/hdf5_18'
-+        libdir = '/usr/lib/hdf5_18'    
-+
-     if not (hdrdir and libdir):
-         if package.tag in ['HDF5']:  # these are compulsory!
-             pname, ptag = package.name, package.tag

Copied: python-pytables/repos/community-i686/hdf5_18.patch (from rev 199407, python-pytables/trunk/hdf5_18.patch)
===================================================================
--- community-i686/hdf5_18.patch	                        (rev 0)
+++ community-i686/hdf5_18.patch	2016-12-14 12:25:48 UTC (rev 199408)
@@ -0,0 +1,14 @@
+--- setup.py.old	2016-05-24 13:16:36.129769271 +0200
++++ setup.py	2016-05-24 13:17:07.380243229 +0200
+@@ -552,6 +552,11 @@
+         libdir = compiler.has_function(package.target_function,
+                                        libraries=(package.library_name,))
+ 
++    # force location of hdf5_18
++    if package==hdf5_package:
++        hdrdir = '/usr/include/hdf5_18'
++        libdir = '/usr/lib/hdf5_18'    
++
+     if not (hdrdir and libdir):
+         if package.tag in ['HDF5']:  # these are compulsory!
+             pname, ptag = package.name, package.tag

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-12-14 12:25:07 UTC (rev 199407)
+++ community-x86_64/PKGBUILD	2016-12-14 12:25:48 UTC (rev 199408)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-pkgbase=python-pytables
-pkgname=('python2-pytables' 'python-pytables')
-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' 'blosc' 'bzip2' 'lzo')
-source=("https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz"
-        "hdf5_18.patch")
-md5sums=('056c161ae0fd2d6e585b766adacf3b0b'
-         '6cca19b6ce2eb9f84d18888ad2c1a3b4')
-
-prepare() {
-  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
-  # https://github.com/PyTables/PyTables/issues/458
-  # https://github.com/PyTables/PyTables/pull/503
-  sed -i 's/"-march=native",\?//' setup.py
-
-  # force hdf5_18 location
-  patch -Np0 -i "$srcdir"/hdf5_18.patch
-  
-  cd "${srcdir}" 
-  cp -a PyTables-$pkgver PyTables-py2-$pkgver
-}
-
-build() {
-  msg "Building Python2"
-  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-$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' 'blosc')
-
-  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"
-
-  # see FS#36015 and FS#44971
-  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
-  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
-  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
-  mv "$pkgdir"/usr/bin/pttree{,-2.7}
-
-  # see FS#45975
-  _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
-  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
-  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
-}
-
-package_python-pytables() {
-  depends=('lzo' 'hdf5_18' 'python-numexpr' 'blosc')
-
-  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"
-
-  # see FS#45975
-  _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
-  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
-  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
-}
-

Copied: python-pytables/repos/community-x86_64/PKGBUILD (from rev 199407, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-12-14 12:25:48 UTC (rev 199408)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+pkgbase=python-pytables
+pkgname=('python2-pytables' 'python-pytables')
+pkgver=3.3.0
+pkgrel=2
+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' 'blosc' 'bzip2' 'lzo')
+source=("https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz"
+        "hdf5_18.patch")
+md5sums=('056c161ae0fd2d6e585b766adacf3b0b'
+         '6cca19b6ce2eb9f84d18888ad2c1a3b4')
+
+prepare() {
+  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
+  # https://github.com/PyTables/PyTables/issues/458
+  # https://github.com/PyTables/PyTables/pull/503
+  sed -i 's/"-march=native",\?//' setup.py
+
+  # force hdf5_18 location
+  patch -Np0 -i "$srcdir"/hdf5_18.patch
+  
+  cd "${srcdir}" 
+  cp -a PyTables-$pkgver PyTables-py2-$pkgver
+}
+
+build() {
+  msg "Building Python2"
+  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-$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' 'blosc')
+
+  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"
+
+  # see FS#36015 and FS#44971
+  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
+  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
+  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
+  mv "$pkgdir"/usr/bin/pttree{,-2.7}
+
+  # see FS#45975
+  _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
+}
+
+package_python-pytables() {
+  depends=('lzo' 'hdf5_18' 'python-numexpr' 'blosc')
+
+  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"
+
+  # see FS#45975
+  _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+  chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+  chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
+}
+

Deleted: community-x86_64/hdf5_18.patch
===================================================================
--- community-x86_64/hdf5_18.patch	2016-12-14 12:25:07 UTC (rev 199407)
+++ community-x86_64/hdf5_18.patch	2016-12-14 12:25:48 UTC (rev 199408)
@@ -1,14 +0,0 @@
---- setup.py.old	2016-05-24 13:16:36.129769271 +0200
-+++ setup.py	2016-05-24 13:17:07.380243229 +0200
-@@ -552,6 +552,11 @@
-         libdir = compiler.has_function(package.target_function,
-                                        libraries=(package.library_name,))
- 
-+    # force location of hdf5_18
-+    if package==hdf5_package:
-+        hdrdir = '/usr/include/hdf5_18'
-+        libdir = '/usr/lib/hdf5_18'    
-+
-     if not (hdrdir and libdir):
-         if package.tag in ['HDF5']:  # these are compulsory!
-             pname, ptag = package.name, package.tag

Copied: python-pytables/repos/community-x86_64/hdf5_18.patch (from rev 199407, python-pytables/trunk/hdf5_18.patch)
===================================================================
--- community-x86_64/hdf5_18.patch	                        (rev 0)
+++ community-x86_64/hdf5_18.patch	2016-12-14 12:25:48 UTC (rev 199408)
@@ -0,0 +1,14 @@
+--- setup.py.old	2016-05-24 13:16:36.129769271 +0200
++++ setup.py	2016-05-24 13:17:07.380243229 +0200
+@@ -552,6 +552,11 @@
+         libdir = compiler.has_function(package.target_function,
+                                        libraries=(package.library_name,))
+ 
++    # force location of hdf5_18
++    if package==hdf5_package:
++        hdrdir = '/usr/include/hdf5_18'
++        libdir = '/usr/lib/hdf5_18'    
++
+     if not (hdrdir and libdir):
+         if package.tag in ['HDF5']:  # these are compulsory!
+             pname, ptag = package.name, package.tag



More information about the arch-commits mailing list