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

Andrzej Giniewicz aginiewicz at archlinux.org
Sun Sep 21 19:19:11 UTC 2014


    Date: Sunday, September 21, 2014 @ 21:19:11
  Author: aginiewicz
Revision: 119371

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

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

------------------------------------+
 /PKGBUILD                          |  118 +++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD            |   52 ---------------
 community-i686/cython-0.21.patch   |   12 +++
 community-x86_64/PKGBUILD          |   52 ---------------
 community-x86_64/cython-0.21.patch |   12 +++
 5 files changed, 142 insertions(+), 104 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-09-21 19:18:59 UTC (rev 119370)
+++ community-i686/PKGBUILD	2014-09-21 19:19:11 UTC (rev 119371)
@@ -1,52 +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.1.1
-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' 'cython2' 'python-numexpr' 'cython')
-source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
-md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524')
-
-build() {
-  cd "$srcdir"
-  cp -a tables-$pkgver tables-py2-$pkgver
-
-  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' 'cython2')
-
-  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
-  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
-  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
-  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
-}
-
-package_python-pytables() {
-  depends=('lzo' 'hdf5' 'python-numexpr' 'cython')
-
-  cd "$srcdir"/tables-${pkgver}
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: python-pytables/repos/community-i686/PKGBUILD (from rev 119370, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-09-21 19:19:11 UTC (rev 119371)
@@ -0,0 +1,59 @@
+# $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.1.1
+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"
+        "cython-0.21.patch")
+md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524'
+         'c224fd77ddc69027955898a16a4766a9')
+
+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
+
+  msg "Building Python3"
+  cd "$srcdir"/tables-$pkgver
+  python setup.py build
+}
+
+package_python2-pytables() {
+  depends=('lzo' 'hdf5' 'python2-numexpr' 'cython2')
+
+  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
+  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
+  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
+  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
+}
+
+package_python-pytables() {
+  depends=('lzo' 'hdf5' 'python-numexpr' 'cython')
+
+  cd "$srcdir"/tables-${pkgver}
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+

Copied: python-pytables/repos/community-i686/cython-0.21.patch (from rev 119370, python-pytables/trunk/cython-0.21.patch)
===================================================================
--- community-i686/cython-0.21.patch	                        (rev 0)
+++ community-i686/cython-0.21.patch	2014-09-21 19:19:11 UTC (rev 119371)
@@ -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(

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-09-21 19:18:59 UTC (rev 119370)
+++ community-x86_64/PKGBUILD	2014-09-21 19:19:11 UTC (rev 119371)
@@ -1,52 +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.1.1
-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' 'cython2' 'python-numexpr' 'cython')
-source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
-md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524')
-
-build() {
-  cd "$srcdir"
-  cp -a tables-$pkgver tables-py2-$pkgver
-
-  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' 'cython2')
-
-  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
-  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
-  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
-  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
-}
-
-package_python-pytables() {
-  depends=('lzo' 'hdf5' 'python-numexpr' 'cython')
-
-  cd "$srcdir"/tables-${pkgver}
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: python-pytables/repos/community-x86_64/PKGBUILD (from rev 119370, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-09-21 19:19:11 UTC (rev 119371)
@@ -0,0 +1,59 @@
+# $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.1.1
+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"
+        "cython-0.21.patch")
+md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524'
+         'c224fd77ddc69027955898a16a4766a9')
+
+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
+
+  msg "Building Python3"
+  cd "$srcdir"/tables-$pkgver
+  python setup.py build
+}
+
+package_python2-pytables() {
+  depends=('lzo' 'hdf5' 'python2-numexpr' 'cython2')
+
+  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
+  mv "$pkgdir"/usr/bin/pt2to3{,-2.7}
+  mv "$pkgdir"/usr/bin/ptdump{,-2.7}
+  mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
+}
+
+package_python-pytables() {
+  depends=('lzo' 'hdf5' 'python-numexpr' 'cython')
+
+  cd "$srcdir"/tables-${pkgver}
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+

Copied: python-pytables/repos/community-x86_64/cython-0.21.patch (from rev 119370, python-pytables/trunk/cython-0.21.patch)
===================================================================
--- community-x86_64/cython-0.21.patch	                        (rev 0)
+++ community-x86_64/cython-0.21.patch	2014-09-21 19:19:11 UTC (rev 119371)
@@ -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(




More information about the arch-commits mailing list