summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-10-16 09:05:27 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-10-16 09:05:27 +0000
commitd8bea0c8c14137ad6c842c74e3628ba638c58097 (patch)
tree306ec7d2b6182eb3a6db190502a59085cdace2f5 /dev-python/pytables
parentVersion bump. (diff)
downloadgentoo-2-d8bea0c8c14137ad6c842c74e3628ba638c58097.tar.gz
gentoo-2-d8bea0c8c14137ad6c842c74e3628ba638c58097.tar.bz2
gentoo-2-d8bea0c8c14137ad6c842c74e3628ba638c58097.zip
Version bump, install pdf userguide by default, add contrib IUSE for installing additional scripts
(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pytables')
-rw-r--r--dev-python/pytables/ChangeLog10
-rw-r--r--dev-python/pytables/metadata.xml3
-rw-r--r--dev-python/pytables/pytables-2.3.ebuild63
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-python/pytables/ChangeLog b/dev-python/pytables/ChangeLog
index 4f37964fed5e..61294d640f1e 100644
--- a/dev-python/pytables/ChangeLog
+++ b/dev-python/pytables/ChangeLog
@@ -1,6 +1,12 @@
# 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.37 2010/11/05 16:03:39 xarthisius Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.38 2011/10/16 09:05:27 xarthisius Exp $
+
+*pytables-2.3 (16 Oct 2011)
+
+ 16 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> +pytables-2.3.ebuild:
+ Version bump, install pdf userguide by default, add contrib IUSE for
+ installing additional scripts
*pytables-2.2.1 (05 Nov 2010)
diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml
index a5f8a664dbbb..f306a6433e38 100644
--- a/dev-python/pytables/metadata.xml
+++ b/dev-python/pytables/metadata.xml
@@ -11,4 +11,7 @@
from Pyrex sources, makes it a fast, yet extremely easy to use tool
for interactively save and retrieve large amounts of data.
</longdescription>
+<use>
+ <flag name="contrib">Install user-contributed files</flag>
+</use>
</pkgmetadata>
diff --git a/dev-python/pytables/pytables-2.3.ebuild b/dev-python/pytables/pytables-2.3.ebuild
new file mode 100644
index 000000000000..aaf9ef84c574
--- /dev/null
+++ b/dev-python/pytables/pytables-2.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.3.ebuild,v 1.1 2011/10/16 09:05:27 xarthisius Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+MY_PN=tables
+MY_P=${MY_PN}-${PV}
+
+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="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+IUSE="doc contrib examples"
+
+RDEPEND="
+ sci-libs/hdf5
+ dev-python/numpy
+ dev-python/numexpr
+ dev-libs/lzo:2
+ app-arch/bzip2"
+DEPEND="${RDEPEND}
+ dev-python/cython"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS doc/usersguide-${PV}.pdf"
+
+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
+ fi
+
+ pushd doc > /dev/null
+ use doc && dohtml -r html/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r scripts
+ popd > /dev/null
+
+ insinto /usr/share/${PF}
+ use contrib && doins -r contrib
+}