summaryrefslogtreecommitdiff
path: root/math/py-pytables
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-05-14 09:57:58 +0000
committerfhajny <fhajny@pkgsrc.org>2013-05-14 09:57:58 +0000
commit11aa76961272ccab6a475a6c718b732589373ec2 (patch)
tree4fd65df89be95aaa4cc5c84bc8652136a9fc1c5a /math/py-pytables
parent252db1df440151110bafe06538ce7dbe9c9ee58f (diff)
downloadpkgsrc-11aa76961272ccab6a475a6c718b732589373ec2.tar.gz
Update py-pytables to 2.4.0.
Major changes in 2.4: - Improved HDF5 error logging management. - Added support for the float16 data type. - Leaf nodes now have attributes for retrieving the size of data in memory and on disk. - Configurable maximum number of threads for Blosc and Numexpr. - ndim (read-only) attribute added to Leaf, Atom and Col objects. - Added read support for variable length string attributes. Full changelog for 2.4.0, see: http://pytables.github.io/release-notes/RELEASE_NOTES_v2.4.x.html Major changes in 2.3: - Integrated functionality from PyTablesPro (re-licensed under a BSD license). - OPSI is a powerful and innovative indexing engine allowing PyTables to perform fast queries on arbitrarily large tables. - A fine-tuned LRU cache for both metadata (nodes) and regular data. Full changelog for 2.3.x, see: http://pytables.github.io/release-notes/RELEASE_NOTES_v2.3.x.html
Diffstat (limited to 'math/py-pytables')
-rw-r--r--math/py-pytables/Makefile10
-rw-r--r--math/py-pytables/PLIST38
-rw-r--r--math/py-pytables/distinfo10
-rw-r--r--math/py-pytables/patches/patch-ab6
4 files changed, 38 insertions, 26 deletions
diff --git a/math/py-pytables/Makefile b/math/py-pytables/Makefile
index 7adf3739a72..f7ad0e44094 100644
--- a/math/py-pytables/Makefile
+++ b/math/py-pytables/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.26 2012/10/03 22:14:02 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2013/05/14 09:57:58 fhajny Exp $
#
-DISTNAME= tables-2.2.1
-PKGNAME= ${PYPKGPREFIX}-pytables-2.2.1
-PKGREVISION= 1
+DISTNAME= tables-2.4.0
+PKGNAME= ${PYPKGPREFIX}-py${DISTNAME}
CATEGORIES= math python
-MASTER_SITES= http://www.pytables.org/download/pytables-2.2.1/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pytables/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pytables.org/
COMMENT= Database package for large amounts of data
+LICENSE= modified-bsd
PKG_OPTIONS_VAR= PKG_OPTIONS.pytables
PKG_SUPPORTED_OPTIONS= lzo
diff --git a/math/py-pytables/PLIST b/math/py-pytables/PLIST
index c91c14a9797..a9afb09a139 100644
--- a/math/py-pytables/PLIST
+++ b/math/py-pytables/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2010/11/24 18:06:01 drochner Exp $
+@comment $NetBSD: PLIST,v 1.10 2013/05/14 09:57:58 fhajny Exp $
bin/nctoh5${PYVERSSUFFIX}
bin/ptdump${PYVERSSUFFIX}
bin/ptrepack${PYVERSSUFFIX}
@@ -7,15 +7,6 @@ ${PYSITELIB}/tables/__init__.pyc
${PYSITELIB}/tables/__init__.pyo
${PYSITELIB}/tables/_comp_bzip2.so
${PYSITELIB}/tables/_comp_lzo.so
-${PYSITELIB}/tables/_conditions_common.py
-${PYSITELIB}/tables/_conditions_common.pyc
-${PYSITELIB}/tables/_conditions_common.pyo
-${PYSITELIB}/tables/_parameters_common.py
-${PYSITELIB}/tables/_parameters_common.pyc
-${PYSITELIB}/tables/_parameters_common.pyo
-${PYSITELIB}/tables/_table_common.py
-${PYSITELIB}/tables/_table_common.pyc
-${PYSITELIB}/tables/_table_common.pyo
${PYSITELIB}/tables/array.py
${PYSITELIB}/tables/array.pyc
${PYSITELIB}/tables/array.pyo
@@ -56,6 +47,16 @@ ${PYSITELIB}/tables/group.py
${PYSITELIB}/tables/group.pyc
${PYSITELIB}/tables/group.pyo
${PYSITELIB}/tables/hdf5Extension.so
+${PYSITELIB}/tables/idxutils.py
+${PYSITELIB}/tables/idxutils.pyc
+${PYSITELIB}/tables/idxutils.pyo
+${PYSITELIB}/tables/index.py
+${PYSITELIB}/tables/index.pyc
+${PYSITELIB}/tables/index.pyo
+${PYSITELIB}/tables/indexes.py
+${PYSITELIB}/tables/indexes.pyc
+${PYSITELIB}/tables/indexes.pyo
+${PYSITELIB}/tables/indexesExtension.so
${PYSITELIB}/tables/leaf.py
${PYSITELIB}/tables/leaf.pyc
${PYSITELIB}/tables/leaf.pyo
@@ -63,15 +64,13 @@ ${PYSITELIB}/tables/link.py
${PYSITELIB}/tables/link.pyc
${PYSITELIB}/tables/link.pyo
${PYSITELIB}/tables/linkExtension.so
+${PYSITELIB}/tables/lrucacheExtension.so
${PYSITELIB}/tables/misc/__init__.py
${PYSITELIB}/tables/misc/__init__.pyc
${PYSITELIB}/tables/misc/__init__.pyo
${PYSITELIB}/tables/misc/enum.py
${PYSITELIB}/tables/misc/enum.pyc
${PYSITELIB}/tables/misc/enum.pyo
-${PYSITELIB}/tables/misc/lrucache.py
-${PYSITELIB}/tables/misc/lrucache.pyc
-${PYSITELIB}/tables/misc/lrucache.pyo
${PYSITELIB}/tables/misc/proxydict.py
${PYSITELIB}/tables/misc/proxydict.pyc
${PYSITELIB}/tables/misc/proxydict.pyo
@@ -171,14 +170,20 @@ ${PYSITELIB}/tables/tests/check_leaks.pyo
${PYSITELIB}/tables/tests/common.py
${PYSITELIB}/tables/tests/common.pyc
${PYSITELIB}/tables/tests/common.pyo
+${PYSITELIB}/tables/tests/create_backcompat_indexes.py
+${PYSITELIB}/tables/tests/create_backcompat_indexes.pyc
+${PYSITELIB}/tables/tests/create_backcompat_indexes.pyo
${PYSITELIB}/tables/tests/elink.h5
${PYSITELIB}/tables/tests/elink2.h5
${PYSITELIB}/tables/tests/ex-noattr.h5
${PYSITELIB}/tables/tests/flavored_vlarrays-format1.6.h5
+${PYSITELIB}/tables/tests/float.h5
${PYSITELIB}/tables/tests/idx-std-1.x.h5
${PYSITELIB}/tables/tests/indexes_2_0.h5
+${PYSITELIB}/tables/tests/indexes_2_1.h5
${PYSITELIB}/tables/tests/nested-type-with-gaps.h5
${PYSITELIB}/tables/tests/non-chunked-table.h5
+${PYSITELIB}/tables/tests/scalar.h5
${PYSITELIB}/tables/tests/slink.h5
${PYSITELIB}/tables/tests/smpl_SDSextendible.h5
${PYSITELIB}/tables/tests/smpl_compound_chunked.h5
@@ -235,6 +240,12 @@ ${PYSITELIB}/tables/tests/test_hdf5compat.pyo
${PYSITELIB}/tables/tests/test_index_backcompat.py
${PYSITELIB}/tables/tests/test_index_backcompat.pyc
${PYSITELIB}/tables/tests/test_index_backcompat.pyo
+${PYSITELIB}/tables/tests/test_indexes.py
+${PYSITELIB}/tables/tests/test_indexes.pyc
+${PYSITELIB}/tables/tests/test_indexes.pyo
+${PYSITELIB}/tables/tests/test_indexvalues.py
+${PYSITELIB}/tables/tests/test_indexvalues.pyc
+${PYSITELIB}/tables/tests/test_indexvalues.pyo
${PYSITELIB}/tables/tests/test_links.py
${PYSITELIB}/tables/tests/test_links.pyc
${PYSITELIB}/tables/tests/test_links.pyo
@@ -274,6 +285,7 @@ ${PYSITELIB}/tables/tests/test_vlarray.pyc
${PYSITELIB}/tables/tests/test_vlarray.pyo
${PYSITELIB}/tables/tests/time-table-vlarray-1_x.h5
${PYSITELIB}/tables/tests/times-nested-be.h5
+${PYSITELIB}/tables/tests/vlstr_attr.h5
${PYSITELIB}/tables/tests/vlunicode_endian.h5
${PYSITELIB}/tables/tests/zerodim-attrs-1.3.h5
${PYSITELIB}/tables/tests/zerodim-attrs-1.4.h5
diff --git a/math/py-pytables/distinfo b/math/py-pytables/distinfo
index fb76b7831cc..357638a3a97 100644
--- a/math/py-pytables/distinfo
+++ b/math/py-pytables/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2010/11/24 18:06:01 drochner Exp $
+$NetBSD: distinfo,v 1.10 2013/05/14 09:57:58 fhajny Exp $
-SHA1 (tables-2.2.1.tar.gz) = 2c6385365be19fdf8f81e8fd862bedfcf4fe2ba5
-RMD160 (tables-2.2.1.tar.gz) = 1d9ab1f836fcccccdad8eee7603a1056c2c27716
-Size (tables-2.2.1.tar.gz) = 4985175 bytes
+SHA1 (tables-2.4.0.tar.gz) = 09374a53bf1cb2162c5224d684455b0f008e67b8
+RMD160 (tables-2.4.0.tar.gz) = 8be57b8dccf97914ca9f71989d400e2691254902
+Size (tables-2.4.0.tar.gz) = 8947848 bytes
SHA1 (patch-aa) = 8d89466c9fc4df63dd39a3fe2bd3e9f8ac7b45c8
-SHA1 (patch-ab) = 4bae646f86c7cf0e96b143fa09fae8c6e57508a9
+SHA1 (patch-ab) = d392f84969092d542e41e8a91bb21678b8463917
diff --git a/math/py-pytables/patches/patch-ab b/math/py-pytables/patches/patch-ab
index 6b7aa764113..7027498cf20 100644
--- a/math/py-pytables/patches/patch-ab
+++ b/math/py-pytables/patches/patch-ab
@@ -1,14 +1,14 @@
-$NetBSD: patch-ab,v 1.3 2010/11/24 18:06:01 drochner Exp $
+$NetBSD: patch-ab,v 1.4 2013/05/14 09:57:58 fhajny Exp $
avoid use of a rendundant Python-2.6 builtin for compatibility
--- tables/tests/test_basics.py.orig 2010-11-05 09:27:14.000000000 +0000
+++ tables/tests/test_basics.py
-@@ -2243,7 +2243,7 @@ def _worker(fn, qout = None):
+@@ -2357,7 +2357,7 @@ def _worker(fn, qout = None):
rows = fp.root.table.where('(f0 < 10)')
if common.verbose:
print "Got the iterator, about to iterate"
-- row = next(rows)
+- next(rows)
+ row = rows.next()
if common.verbose:
print "Succeeded in one iteration\n"