[arch-commits] Commit in python-pytables/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 31 08:56:10 UTC 2015
Date: Saturday, October 31, 2015 @ 09:56:10
Author: foutrelis
Revision: 145355
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-pytables/repos/community-i686/PKGBUILD
(from rev 145354, python-pytables/trunk/PKGBUILD)
python-pytables/repos/community-x86_64/PKGBUILD
(from rev 145354, python-pytables/trunk/PKGBUILD)
Deleted:
python-pytables/repos/community-i686/PKGBUILD
python-pytables/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 146 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 67 --------------------
community-x86_64/PKGBUILD | 67 --------------------
3 files changed, 146 insertions(+), 134 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-10-31 08:55:58 UTC (rev 145354)
+++ community-i686/PKGBUILD 2015-10-31 08:56:10 UTC (rev 145355)
@@ -1,67 +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.2.2
-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' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
-md5sums=('4a9792bba1a21f0853e7841d7c1beed8')
-
-prepare() {
- cd "$srcdir"/tables-$pkgver
-
- cd "$srcdir"
- cp -a tables-$pkgver tables-py2-$pkgver
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/tables-py2-$pkgver
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/tables-$pkgver
- python setup.py build
-}
-
-package_python2-pytables() {
- depends=('lzo' 'hdf5' 'python2-numexpr')
-
- cd "$srcdir"/tables-py2-${pkgver}
- python2 setup.py install --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' 'python-numexpr')
-
- cd "$srcdir"/tables-${pkgver}
- python setup.py install --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 145354, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-10-31 08:56:10 UTC (rev 145355)
@@ -0,0 +1,73 @@
+# $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.2.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' 'python-numexpr' 'python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
+md5sums=('4a9792bba1a21f0853e7841d7c1beed8')
+
+prepare() {
+ cd "$srcdir"/tables-$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
+
+ cd "$srcdir"
+ cp -a tables-$pkgver tables-py2-$pkgver
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/tables-py2-$pkgver
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/tables-$pkgver
+ python setup.py build
+}
+
+package_python2-pytables() {
+ depends=('lzo' 'hdf5' 'python2-numexpr')
+
+ cd "$srcdir"/tables-py2-${pkgver}
+ python2 setup.py install --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' 'python-numexpr')
+
+ cd "$srcdir"/tables-${pkgver}
+ python setup.py install --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/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-10-31 08:55:58 UTC (rev 145354)
+++ community-x86_64/PKGBUILD 2015-10-31 08:56:10 UTC (rev 145355)
@@ -1,67 +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.2.2
-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' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
-md5sums=('4a9792bba1a21f0853e7841d7c1beed8')
-
-prepare() {
- cd "$srcdir"/tables-$pkgver
-
- cd "$srcdir"
- cp -a tables-$pkgver tables-py2-$pkgver
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/tables-py2-$pkgver
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/tables-$pkgver
- python setup.py build
-}
-
-package_python2-pytables() {
- depends=('lzo' 'hdf5' 'python2-numexpr')
-
- cd "$srcdir"/tables-py2-${pkgver}
- python2 setup.py install --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' 'python-numexpr')
-
- cd "$srcdir"/tables-${pkgver}
- python setup.py install --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 145354, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-10-31 08:56:10 UTC (rev 145355)
@@ -0,0 +1,73 @@
+# $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.2.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' 'python-numexpr' 'python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
+md5sums=('4a9792bba1a21f0853e7841d7c1beed8')
+
+prepare() {
+ cd "$srcdir"/tables-$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
+
+ cd "$srcdir"
+ cp -a tables-$pkgver tables-py2-$pkgver
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/tables-py2-$pkgver
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/tables-$pkgver
+ python setup.py build
+}
+
+package_python2-pytables() {
+ depends=('lzo' 'hdf5' 'python2-numexpr')
+
+ cd "$srcdir"/tables-py2-${pkgver}
+ python2 setup.py install --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' 'python-numexpr')
+
+ cd "$srcdir"/tables-${pkgver}
+ python setup.py install --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/*
+}
+
More information about the arch-commits
mailing list