summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-04-22 15:17:08 +0000
committerdrochner <drochner@pkgsrc.org>2004-04-22 15:17:08 +0000
commitffbf375478fb4eed7b5cd71206efad22d22ab3ac (patch)
treea79876766c9188b4366577419b120d5fe13f6b47
parent97e5756142ac4bed61d24b795e42664972542e48 (diff)
downloadpkgsrc-ffbf375478fb4eed7b5cd71206efad22d22ab3ac.tar.gz
import pytables-0.8, a data manipulation package (frontend to HDF5)
-rw-r--r--math/py-pytables/DESCR7
-rw-r--r--math/py-pytables/Makefile29
-rw-r--r--math/py-pytables/PLIST41
-rw-r--r--math/py-pytables/distinfo5
-rw-r--r--math/py-pytables/patches/patch-aa11
5 files changed, 93 insertions, 0 deletions
diff --git a/math/py-pytables/DESCR b/math/py-pytables/DESCR
new file mode 100644
index 00000000000..2c7ac9b5731
--- /dev/null
+++ b/math/py-pytables/DESCR
@@ -0,0 +1,7 @@
+PyTables is a hierarchical database package designed to efficiently
+manage very large amounts of data. PyTables is built on top of the
+HDF5 library and the numarray package. It features an object-oriented
+interface that, combined with natural naming and C-code generated from
+Pyrex sources, makes it a fast, yet extremely easy-to-use tool for
+interactively saving and retrieving very large amounts of data. It also
+provides flexible indexed access on disk to anywhere in the data.
diff --git a/math/py-pytables/Makefile b/math/py-pytables/Makefile
new file mode 100644
index 00000000000..7299641f4e0
--- /dev/null
+++ b/math/py-pytables/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/22 15:17:08 drochner Exp $
+#
+
+DISTNAME= pytables-0.8
+PKGNAME= ${PYPKGPREFIX}-pytables-0.8
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pytables/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://pytables.sourceforge.net/
+COMMENT= Database package for large amounts of data
+
+USE_BUILDLINK3= yes
+
+PYDISTUTILSPKG= yes
+PYSETUPBUILDARGS= --hdf5=${BUILDLINK_PREFIX.hdf5}
+PYSETUPINSTALLARGS= --hdf5=${BUILDLINK_PREFIX.hdf5}
+PYTHON_VERSIONS_ACCEPTED= 22pth 23pth
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-extract:
+ cd ${WRKSRC}/utils; \
+ ${MV} ptdump ptdump${PYVERSSUFFIX}; \
+ ${MV} ptrepack ptrepack${PYVERSSUFFIX}
+
+.include "../../lang/python/extension.mk"
+.include "../../devel/hdf5/buildlink3.mk"
+.include "../../math/py-numarray/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-pytables/PLIST b/math/py-pytables/PLIST
new file mode 100644
index 00000000000..f58912d2a57
--- /dev/null
+++ b/math/py-pytables/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/22 15:17:08 drochner Exp $
+bin/ptdump${PYVERSSUFFIX}
+bin/ptrepack${PYVERSSUFFIX}
+${PYSITELIB}/tables/Array.py
+${PYSITELIB}/tables/Array.pyc
+${PYSITELIB}/tables/Array.pyo
+${PYSITELIB}/tables/AttributeSet.py
+${PYSITELIB}/tables/AttributeSet.pyc
+${PYSITELIB}/tables/AttributeSet.pyo
+${PYSITELIB}/tables/EArray.py
+${PYSITELIB}/tables/EArray.pyc
+${PYSITELIB}/tables/EArray.pyo
+${PYSITELIB}/tables/File.py
+${PYSITELIB}/tables/File.pyc
+${PYSITELIB}/tables/File.pyo
+${PYSITELIB}/tables/Group.py
+${PYSITELIB}/tables/Group.pyc
+${PYSITELIB}/tables/Group.pyo
+${PYSITELIB}/tables/IsDescription.py
+${PYSITELIB}/tables/IsDescription.pyc
+${PYSITELIB}/tables/IsDescription.pyo
+${PYSITELIB}/tables/Leaf.py
+${PYSITELIB}/tables/Leaf.pyc
+${PYSITELIB}/tables/Leaf.pyo
+${PYSITELIB}/tables/Table.py
+${PYSITELIB}/tables/Table.pyc
+${PYSITELIB}/tables/Table.pyo
+${PYSITELIB}/tables/UnImplemented.py
+${PYSITELIB}/tables/UnImplemented.pyc
+${PYSITELIB}/tables/UnImplemented.pyo
+${PYSITELIB}/tables/VLArray.py
+${PYSITELIB}/tables/VLArray.pyc
+${PYSITELIB}/tables/VLArray.pyo
+${PYSITELIB}/tables/__init__.py
+${PYSITELIB}/tables/__init__.pyc
+${PYSITELIB}/tables/__init__.pyo
+${PYSITELIB}/tables/hdf5Extension.so
+${PYSITELIB}/tables/utils.py
+${PYSITELIB}/tables/utils.pyc
+${PYSITELIB}/tables/utils.pyo
+@dirrm ${PYSITELIB}/tables
diff --git a/math/py-pytables/distinfo b/math/py-pytables/distinfo
new file mode 100644
index 00000000000..603a85bc69c
--- /dev/null
+++ b/math/py-pytables/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/22 15:17:08 drochner Exp $
+
+SHA1 (pytables-0.8.tar.gz) = 1035904c8d0ad567721f7ae7cac43211e9f99c4f
+Size (pytables-0.8.tar.gz) = 2068483 bytes
+SHA1 (patch-aa) = 05c5dc85e094bb97cbf9453db4c171cf7d56a43a
diff --git a/math/py-pytables/patches/patch-aa b/math/py-pytables/patches/patch-aa
new file mode 100644
index 00000000000..2434f6ca8e5
--- /dev/null
+++ b/math/py-pytables/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/22 15:17:08 drochner Exp $
+
+--- setup.py.orig 2004-04-22 17:03:28.000000000 +0200
++++ setup.py 2004-04-22 17:06:58.000000000 +0200
+@@ -551,5 +551,5 @@
+ runtime_library_dirs = rlib_dirs,
+ )],
+ cmdclass = cmdclass,
+- scripts = ['utils/ptdump', 'utils/ptrepack'],
++ scripts = ['utils/ptdump' + sys.version[0:3], 'utils/ptrepack' + sys.version[0:3]],
+ )