summaryrefslogtreecommitdiff
path: root/community/python2-pytables/PKGBUILD
blob: b876cc2661a32def85468ca67275d7f0a3535913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 82342 2013-01-15 16:56:55Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Sebastien Binet <binet@cern.ch>

pkgname=python2-pytables
pkgver=2.4.0
pkgrel=3
arch=("i686" "x86_64" "mips64el")
pkgdesc="PyTables is 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")
depends=('lzo2' 'hdf5' 'python2-numexpr' 'cython2')
provides=('python-pytables') # temporary due to package rename
replaces=('python-pytables') # (there is no python 3 version yet)
source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
md5sums=('527ad046f92c9197ca96626b725f71f8')

build() {
  cd "$srcdir"/tables-${pkgver}
  python2 setup.py build
}

package() {
  cd "$srcdir"/tables-${pkgver}
  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1

  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}