summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytables')
-rw-r--r--dev-python/pytables/ChangeLog12
-rw-r--r--dev-python/pytables/Manifest23
-rw-r--r--dev-python/pytables/files/pytables-2.1.2-failingtests.patch48
-rw-r--r--dev-python/pytables/metadata.xml8
-rw-r--r--dev-python/pytables/pytables-0.8.ebuild19
-rw-r--r--dev-python/pytables/pytables-1.4.ebuild48
-rw-r--r--dev-python/pytables/pytables-2.1.1.ebuild53
-rw-r--r--dev-python/pytables/pytables-2.1.2.ebuild49
8 files changed, 131 insertions, 129 deletions
diff --git a/dev-python/pytables/ChangeLog b/dev-python/pytables/ChangeLog
index 55c346a2b08a..485824e80b1f 100644
--- a/dev-python/pytables/ChangeLog
+++ b/dev-python/pytables/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-python/pytables
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.30 2009/09/04 18:41:22 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.31 2009/12/12 16:26:37 bicatali Exp $
+
+*pytables-2.1.2 (12 Dec 2009)
+
+ 12 Dec 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> -pytables-0.8.ebuild,
+ -pytables-1.4.ebuild, -pytables-2.1.1.ebuild, +pytables-2.1.2.ebuild,
+ +files/pytables-2.1.2-failingtests.patch, metadata.xml:
+ Version bump. Disable failing tests due to bad reference HDF5 files
+ (reported upstream), thanks Kacper Kowalik. Removed old version, even x86
+ stable 0.8 because depending on Numeric/numarray which are buggy and
+ obsolete with python > 2.5
04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -pytables-2.0.2.ebuild,
-pytables-2.0.3.ebuild, -pytables-2.1.ebuild:
diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest
index bb75f5aae9e7..8d38fb635399 100644
--- a/dev-python/pytables/Manifest
+++ b/dev-python/pytables/Manifest
@@ -1,8 +1,15 @@
-DIST pytables-0.8.tar.gz 2068483 RMD160 aef5ce73802025d5f1d5da8528210be2f4735249 SHA1 1035904c8d0ad567721f7ae7cac43211e9f99c4f SHA256 bb578b753d24a02d91eb98099698e0d0273484b82fa57a880fc8e2d89c957ae6
-DIST pytables-1.4.tar.gz 4051791 RMD160 34e25f9e8baa1aacb17d48dd7af67302f5d5f892 SHA1 96449bb32f3a2f0f234ce3833488ba7ede4c5be7 SHA256 04a68f8f53eac65cb1caaf98f85e4984a193f0366c3bf9faf0f5d13ca6f54675
-DIST tables-2.1.1.tar.gz 4689343 RMD160 ec18e21ed15921f342ba0c9943782034a2356db4 SHA1 fc13f8b02e07f753800ccf7a546c8803d50b0409 SHA256 b53b119eb893377da174fc62d7249dc2f47420e2905d1eb5c97dd2f494be7e68
-EBUILD pytables-0.8.ebuild 520 RMD160 c8b516e4a143343128db1730d546cbcf722ef4dc SHA1 c863125d18a35511cc3af1272acb42fb7b4cf489 SHA256 f2ab8db8e297df001ba0827fef96c07277de90239d41b3dc4675cf68b6e4a1eb
-EBUILD pytables-1.4.ebuild 1142 RMD160 ce8a11925986833e88ed1b1a374dc5a9cd78a2ef SHA1 975f0b38abc64895baf414d9f7a7138f33665483 SHA256 44701fa9e4929ba358fc7e439086964aa957124e70657d178327a2f36f462f31
-EBUILD pytables-2.1.1.ebuild 1289 RMD160 0b41caa768e076bae7a1a8caffe5ff8446f00a9f SHA1 84209d347be87d00c41f21f23cc4810d51481bd7 SHA256 ec4c682a6d88750116c6a78338aba75d9d169912814ae4d8bb35c287c35eae4f
-MISC ChangeLog 4199 RMD160 3d8a23cad588ad08d9967c66dbeac162d35238be SHA1 99eff8268e353331623e6e53601be4ff025eea39 SHA256 4e40194a46df028ad2069b56a7b2cfeba8837b5bd43970f124f46a7d05e8ad5f
-MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pytables-2.1.2-failingtests.patch 2384 RMD160 7788a07672356a781f20459c16fb3fa30216da91 SHA1 cff5b892d31f688207e9be0a93c683632b1afee9 SHA256 a20542e12cb42da9f352e2eddb6a9784d81b04ec11efe66e88c602cfde3383a6
+DIST tables-2.1.2.tar.gz 4677233 RMD160 09bfb73e9252baa34aa40274a0b07f6c6cc60d70 SHA1 545cc16491d37e2f6b8ce10bc8bdfa559b174e2e SHA256 948d80fb66693bca67863c4a7dc879dae1d6caa4235df0030ca0cc3220cffa39
+EBUILD pytables-2.1.2.ebuild 1122 RMD160 6d95e3685a1b377a289fd7bb77e90b966a36cf94 SHA1 c6db795314fd36ad3fdc81115e710a0e6f36278c SHA256 23319130c285219965ae0189bc43fb975c596c2bc361d4c2c9693b7662abdf68
+MISC ChangeLog 4685 RMD160 d1fee1cc816426cdf03300506c1bc4a14e8cd2dc SHA1 346e06a49012970009495500731a9fa528cd8a02 SHA256 f5cf6396790f2e1582e92197a8e772be354462799088c61e24e3d8a42eb69139
+MISC metadata.xml 612 RMD160 9d22d68fdb45ac4657d3eb763efa57768bf14264 SHA1 ea8e47129d3287e27ec0db1443527af7591470c2 SHA256 52c64e805b50f2888f7b68eb3a1ead40f0246d629a4a17b11507d8008d5351c5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.13 (GNU/Linux)
+
+iEYEARECAAYFAksjzXoACgkQ1ycZbhPLE2AQXwCeNXRJ+IWjWuY6gr1edBQ3zaxc
++NsAn3xITmwRobGvtcCA/hqa2oyo1dL2
+=M/TI
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pytables/files/pytables-2.1.2-failingtests.patch b/dev-python/pytables/files/pytables-2.1.2-failingtests.patch
new file mode 100644
index 000000000000..88ebd51e8307
--- /dev/null
+++ b/dev-python/pytables/files/pytables-2.1.2-failingtests.patch
@@ -0,0 +1,48 @@
+--- tables/tests.orig/test_backcompat.py 2009-12-12 16:48:22.000000000 +0000
++++ tables/tests/test_backcompat.py 2009-12-12 16:46:17.000000000 +0000
+@@ -154,7 +154,7 @@
+ lzo_avail = whichLibVersion("lzo") is not None
+ for n in range(niter):
+ theSuite.addTest(unittest.makeSuite(VLArrayTestCase))
+- theSuite.addTest(unittest.makeSuite(TimeTestCase))
++ #theSuite.addTest(unittest.makeSuite(TimeTestCase))
+ if lzo_avail:
+ theSuite.addTest(unittest.makeSuite(Table2_1LZO))
+ theSuite.addTest(unittest.makeSuite(Tables_LZO1))
+--- tables/tests.orig/test_basics.py 2009-12-12 16:48:22.000000000 +0000
++++ tables/tests/test_basics.py 2009-12-12 16:44:46.000000000 +0000
+@@ -1544,7 +1544,8 @@
+ """Checking opening of a generic HDF5 file"""
+
+ # Open an existing generic HDF5 file
+- fileh = openFile(self._testFilename("ex-noattr.h5"), mode="r")
++ #fileh = openFile(self._testFilename("ex-noattr.h5"), mode="r")
++ fileh = openFile("ex-noattr.h5", mode="r")
+
+ # Check for some objects inside
+
+@@ -2263,11 +2264,11 @@
+ theSuite.addTest(unittest.makeSuite(NodeCacheOpenFile))
+ theSuite.addTest(unittest.makeSuite(NoNodeCacheOpenFile))
+ theSuite.addTest(unittest.makeSuite(DictNodeCacheOpenFile))
+- theSuite.addTest(unittest.makeSuite(CheckFileTestCase))
++ #theSuite.addTest(unittest.makeSuite(CheckFileTestCase))
+ theSuite.addTest(unittest.makeSuite(PythonAttrsTestCase))
+ theSuite.addTest(unittest.makeSuite(StateTestCase))
+ theSuite.addTest(unittest.makeSuite(FlavorTestCase))
+- theSuite.addTest(unittest.makeSuite(OldFlavorTestCase))
++ #theSuite.addTest(unittest.makeSuite(OldFlavorTestCase))
+
+ return theSuite
+
+--- tables/tests.orig/test_hdf5compat.py 2009-12-12 16:55:55.000000000 +0000
++++ tables/tests/test_hdf5compat.py 2009-12-12 16:56:33.000000000 +0000
+@@ -337,7 +337,7 @@
+ theSuite.addTest(unittest.makeSuite(I32BETestCase))
+ theSuite.addTest(unittest.makeSuite(I32LETestCase))
+
+- theSuite.addTest(unittest.makeSuite(ChunkedCompoundTestCase))
++ #theSuite.addTest(unittest.makeSuite(ChunkedCompoundTestCase))
+ theSuite.addTest(unittest.makeSuite(ContiguousCompoundTestCase))
+ theSuite.addTest(unittest.makeSuite(ContiguousCompoundAppendTestCase))
+
diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml
index de483c53568f..363187bc3ca5 100644
--- a/dev-python/pytables/metadata.xml
+++ b/dev-python/pytables/metadata.xml
@@ -2,4 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+<longdescription lang='en'>
+ PyTables is a hierarchical database package designed to efficently
+ manage very large amounts of data. PyTables is built on top of the
+ HDF5 library and the NumPy 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 save and retrieve large amounts of data.
+</longdescription>
</pkgmetadata>
diff --git a/dev-python/pytables/pytables-0.8.ebuild b/dev-python/pytables/pytables-0.8.ebuild
deleted file mode 100644
index e2b11e75aef8..000000000000
--- a/dev-python/pytables/pytables-0.8.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-0.8.ebuild,v 1.5 2005/02/07 04:43:45 fserb Exp $
-
-inherit distutils
-
-DESCRIPTION="Module for Python that use HDF5"
-SRC_URI="mirror://sourceforge/pytables/${P}.tar.gz"
-HOMEPAGE="http://pytables.sourceforge.net/"
-
-DEPEND=">=dev-lang/python-2.2
- >=sys-devel/gcc-3.2
- sci-libs/hdf5
- dev-python/numarray"
-
-SLOT="0"
-KEYWORDS="x86"
-LICENSE="as-is"
-IUSE=""
diff --git a/dev-python/pytables/pytables-1.4.ebuild b/dev-python/pytables/pytables-1.4.ebuild
deleted file mode 100644
index eda544f584fe..000000000000
--- a/dev-python/pytables/pytables-1.4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-1.4.ebuild,v 1.3 2008/02/23 13:21:09 dev-zero Exp $
-
-NEED_PYTHON="2.2"
-
-inherit distutils
-
-DESCRIPTION="Module for Python that use HDF5"
-SRC_URI="mirror://sourceforge/pytables/${P}.tar.gz"
-HOMEPAGE="http://pytables.sourceforge.net/"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
-LICENSE="BSD"
-IUSE="doc examples"
-
-DEPEND="sci-libs/hdf5
- >=dev-python/numarray-1.5.2"
-RDEPEND="${DEPEND}"
-
-src_install() {
- DOCS="ANNOUNCE.txt RELEASE-NOTES.txt THANKS TODO.txt VERSION"
-
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-
- if use doc; then
- cd doc
-
- dohtml -r html/*
-
- docinto text
- dodoc text/*
-
- insinto /usr/share/doc/${PF}
- doins -r usersguide.pdf scripts/
- fi
-}
-
-src_test() {
- python_version
- "${python}" setup.py install --root="${T}" --no-compile "$@" || die "temporary install failed"
- PYTHONPATH="${T}/usr/$(get_libdir)/python${PYVER}/site-packages" "${python}" tables/tests/test_all.py || die "tests failed"
-}
diff --git a/dev-python/pytables/pytables-2.1.1.ebuild b/dev-python/pytables/pytables-2.1.1.ebuild
deleted file mode 100644
index aa615169793c..000000000000
--- a/dev-python/pytables/pytables-2.1.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.1.1.ebuild,v 1.1 2009/08/03 03:12:45 spock Exp $
-
-EAPI="1"
-NEED_PYTHON="2.2"
-
-inherit distutils multilib
-
-DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library."
-SRC_URI="http://www.pytables.org/download/stable/tables-${PV}.tar.gz"
-HOMEPAGE="http://www.pytables.org/"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-LICENSE="BSD"
-IUSE="doc examples"
-
-DEPEND=">=sci-libs/hdf5-1.6.5
- >=dev-python/numpy-1.2.1
- dev-libs/lzo:2
- app-arch/bzip2"
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/tables-${PV}"
-
-src_install() {
- cd "{S}"
- DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS"
-
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-
- if use doc; then
- cd doc
-
- dohtml -r html/*
-
- docinto text
- dodoc text/*
-
- insinto /usr/share/doc/${PF}
- doins -r usersguide.pdf scripts/
- fi
-}
-
-src_test() {
- python_version
- "${python}" setup.py install --root="${T}" --no-compile "$@" || die "temporary install failed"
- PYTHONPATH="${T}/usr/$(get_libdir)/python${PYVER}/site-packages" "${python}" tables/tests/test_all.py || die "tests failed"
-}
diff --git a/dev-python/pytables/pytables-2.1.2.ebuild b/dev-python/pytables/pytables-2.1.2.ebuild
new file mode 100644
index 000000000000..616c9cca8652
--- /dev/null
+++ b/dev-python/pytables/pytables-2.1.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.1.2.ebuild,v 1.1 2009/12/12 16:26:37 bicatali Exp $
+
+EAPI=2
+inherit eutils distutils
+
+MYP="tables-${PV}"
+
+DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library."
+SRC_URI="http://www.pytables.org/download/stable/${MYP}.tar.gz"
+HOMEPAGE="http://www.pytables.org/"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="BSD"
+IUSE="doc examples"
+
+DEPEND="sci-libs/hdf5
+ dev-python/numpy
+ dev-libs/lzo:2
+ app-arch/bzip2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-failingtests.patch
+}
+
+src_test() {
+ cd build/lib*
+ PYTHONPATH=. "${python}" tables/tests/test_all.py || die "tests failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/doc/${PF}
+ if use examples; then
+ doins -r examples || die
+ fi
+ if use doc; then
+ cd doc
+ dodoc text/* || die
+ doins -r usersguide.pdf scripts html || die
+ fi
+}