Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pytables: ChangeLog pytables-2.1.ebuild
Date: Wed, 04 Feb 2009 15:31:42
Message-Id: E1LUi9R-0007J0-7f@stork.gentoo.org
1 patrick 09/02/04 13:50:49
2
3 Modified: ChangeLog
4 Added: pytables-2.1.ebuild
5 Log:
6 Bump to 2.1, fixes #254654
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.27 dev-python/pytables/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pytables/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 28 Jun 2008 19:30:55 -0000 1.26
23 +++ ChangeLog 4 Feb 2009 13:50:49 -0000 1.27
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/pytables
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.26 2008/06/28 19:30:55 pythonhead Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.27 2009/02/04 13:50:49 patrick Exp $
30 +
31 +*pytables-2.1 (04 Feb 2009)
32 +
33 + 04 Feb 2009; Patrick Lauer <patrick@g.o> +pytables-2.1.ebuild:
34 + Bump to 2.1, fixes #254654
35
36 *pytables-2.0.3 (28 Jun 2008)
37
38
39
40
41 1.1 dev-python/pytables/pytables-2.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pytables/pytables-2.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pytables/pytables-2.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pytables-2.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.1.ebuild,v 1.1 2009/02/04 13:50:49 patrick Exp $
51
52 EAPI="1"
53 NEED_PYTHON="2.2"
54
55 inherit distutils multilib
56
57 DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library."
58 SRC_URI="http://www.pytables.org/download/stable/tables-${PV}.tar.gz"
59 HOMEPAGE="http://www.pytables.org/"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 LICENSE="BSD"
63 IUSE="doc examples"
64
65 DEPEND=">=sci-libs/hdf5-1.6.5
66 >=dev-python/numpy-1.0.3
67 dev-libs/lzo:2
68 app-arch/bzip2"
69 RDEPEND="${DEPEND}"
70 S="${WORKDIR}/tables-${PV}"
71
72
73 src_install() {
74 cd "{S}"
75 DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS TODO.txt"
76
77 distutils_src_install
78
79 if use examples; then
80 insinto /usr/share/doc/${PF}
81 doins -r examples
82 fi
83
84 if use doc; then
85 cd doc
86
87 dohtml -r html/*
88
89 docinto text
90 dodoc text/*
91
92 insinto /usr/share/doc/${PF}
93 doins -r usersguide.pdf scripts/
94 fi
95 }
96
97 src_test() {
98 python_version
99 "${python}" setup.py install --root="${T}" --no-compile "$@" || die "temporary install failed"
100 PYTHONPATH="${T}/usr/$(get_libdir)/python${PYVER}/site-packages" "${python}" tables/tests/test_all.py || die "tests failed"
101 }