diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-07-03 21:16:40 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-07-03 21:16:40 +0000 |
commit | 9bb0ffb04d3898a472c2f945c0a1e8d71fe00649 (patch) | |
tree | 426b733dda46be7439887aecc14464c2e50ec6ee | |
parent | Initial import wrt bug 302565. Ebuild written by Tim Cera <timcera@earthlink.... (diff) | |
download | gentoo-2-9bb0ffb04d3898a472c2f945c0a1e8d71fe00649.tar.gz gentoo-2-9bb0ffb04d3898a472c2f945c0a1e8d71fe00649.tar.bz2 gentoo-2-9bb0ffb04d3898a472c2f945c0a1e8d71fe00649.zip |
Version bump. Removed mpi hack as it works with both hdf5[mpi] and hdf5[-mpi] without it. Dropped ppc keyword due to dependency on dev-python/numexpr. Added sci herd to metadata.xml
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pytables/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pytables/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/pytables/pytables-2.2.ebuild | 62 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-python/pytables/ChangeLog b/dev-python/pytables/ChangeLog index 2453d6939105..eaf886a4c5be 100644 --- a/dev-python/pytables/ChangeLog +++ b/dev-python/pytables/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/pytables # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.35 2010/02/12 04:10:58 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.36 2010/07/03 21:16:40 xarthisius Exp $ + +*pytables-2.2 (03 Jul 2010) + + 03 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> +pytables-2.2.ebuild, + metadata.xml: + Version bump. Removed mpi hack as it works with both hdf5[mpi] and + hdf5[-mpi] without it. Dropped ppc keyword due to dependency on + dev-python/numexpr. Added sci herd to metadata.xml 12 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> pytables-2.1.2.ebuild: diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml index 363187bc3ca5..a5f8a664dbbb 100644 --- a/dev-python/pytables/metadata.xml +++ b/dev-python/pytables/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> +<herd>sci</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 diff --git a/dev-python/pytables/pytables-2.2.ebuild b/dev-python/pytables/pytables-2.2.ebuild new file mode 100644 index 000000000000..e8145f1c7c21 --- /dev/null +++ b/dev-python/pytables/pytables-2.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.2.ebuild,v 1.1 2010/07/03 21:16:40 xarthisius Exp $ + +EAPI=2 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library." +HOMEPAGE="http://www.pytables.org/ http://pypi.python.org/pypi/tables" +SRC_URI="http://www.pytables.org/download/stable/tables-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" +IUSE="doc examples" + +RDEPEND=" + >=sci-libs/hdf5-1.6.5 + >=dev-python/numpy-1.2.1 + >=dev-python/numexpr-1.3 + dev-libs/lzo:2 + app-arch/bzip2" +DEPEND="${RDEPEND} + >=dev-python/cython-0.12.1" + +RESTRICT_PYTHON_ABIS="3.*" + +S=${WORKDIR}/tables-${PV} + +DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS" + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tables/tests/test_all.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die + fi + + if use doc; then + cd doc + + dohtml -r html/* || die + + docinto text + dodoc text/* || die + + insinto /usr/share/doc/${PF} + doins -r usersguide.pdf scripts || die + fi +} |