summaryrefslogtreecommitdiff
path: root/community/python-pytables
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-06-11 00:05:27 -0700
commitbf794523287bafc14671f83b08f7b22bceadc4bc (patch)
tree05c7098cb5eb0c4195d7c2eb735379fb27a974ab /community/python-pytables
parent3f6e6048fea3b61c4d0b2c1e7385bc76882007a4 (diff)
Tue Jun 11 00:05:26 PDT 2013
Diffstat (limited to 'community/python-pytables')
-rw-r--r--community/python-pytables/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/community/python-pytables/PKGBUILD b/community/python-pytables/PKGBUILD
new file mode 100644
index 000000000..86f60b82f
--- /dev/null
+++ b/community/python-pytables/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 92633 2013-06-10 09:13:55Z aginiewicz $
+# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+# Contributor: Sebastien Binet <binet@cern.ch>
+
+pkgbase=python-pytables
+pkgname=('python2-pytables' 'python-pytables')
+pkgver=3.0.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=('lzo2' 'hdf5' 'python2-numexpr' 'cython2' 'python-numexpr' 'cython')
+source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz")
+md5sums=('9c8a18d51be5e94a2ae50ea31d26f8c2')
+
+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"
+}
+
+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"
+}
+