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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu Mar 20 07:35:41 UTC 2014


    Date: Thursday, March 20, 2014 @ 08:35:41
  Author: bpiotrowski
Revision: 107833

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

Added:
  python-pytables/repos/community-staging-i686/
  python-pytables/repos/community-staging-i686/PKGBUILD
    (from rev 107832, python-pytables/trunk/PKGBUILD)
  python-pytables/repos/community-staging-x86_64/
  python-pytables/repos/community-staging-x86_64/PKGBUILD
    (from rev 107832, python-pytables/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: python-pytables/repos/community-staging-i686/PKGBUILD (from rev 107832, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-03-20 07:35:41 UTC (rev 107833)
@@ -0,0 +1,52 @@
+# $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.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=('lzo2' 'hdf5' 'python2-numexpr' 'cython2' 'python-numexpr' 'cython')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
+md5sums=('22e048ef20883269c4a2a3f2026c38ee')
+
+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=('lzo2' '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=('lzo2' '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-staging-x86_64/PKGBUILD (from rev 107832, python-pytables/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-03-20 07:35:41 UTC (rev 107833)
@@ -0,0 +1,52 @@
+# $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.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=('lzo2' 'hdf5' 'python2-numexpr' 'cython2' 'python-numexpr' 'cython')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
+md5sums=('22e048ef20883269c4a2a3f2026c38ee')
+
+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=('lzo2' '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=('lzo2' '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"
+}
+




More information about the arch-commits mailing list