Add h5config package.
[wtk-overlay.git] / dev-python / h5config / h5config-9999.ebuild
1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="3"
6 PYTHON_DEPEND="2:2.7"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit eutils distutils
11
12 if [[ ${PV} == "9999" ]] ; then
13         inherit git
14         EGIT_REPO_URI="http://physics.drexel.edu/~wking/code/git/${PN}.git"
15         SRC_URI=""
16 else
17         SRC_URI="http://www.physics.drexel.edu/~wking/code/got/gitweb.cgi?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz"
18 fi
19
20 DESCRIPTION="Conveniently save and load config-options from HDF5 and YAML files."
21 HOMEPAGE="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/"
22
23 LICENSE="GPL-3"
24 SLOT="0"
25 KEYWORDS="~x86"
26 IUSE="modbus serial"
27
28 RDEPEND="dev-python/h5py
29         dev-python/h5py"
30 DEPEND="${RDEPEND}"
31
32 src_unpack() {
33         if [[ ${PV} == "9999" ]] ; then
34                 git_src_unpack
35         else
36                 unpack ${A}
37         fi
38         cd "${S}"
39 }
40
41 src_install() {
42         distutils_src_install
43         dodoc README
44 }