# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" PYTHON_DEPEND="2:2.7" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" inherit eutils distutils if [[ ${PV} == "9999" ]] ; then inherit git EGIT_REPO_URI="http://physics.drexel.edu/~wking/code/git/${PN}.git" SRC_URI="" else SRC_URI="http://www.physics.drexel.edu/~wking/code/got/gitweb.cgi?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz" fi DESCRIPTION="Conveniently save and load config-options from HDF5 and YAML files." HOMEPAGE="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="modbus serial" RDEPEND="dev-python/h5py dev-python/h5py" DEPEND="${RDEPEND}" src_unpack() { if [[ ${PV} == "9999" ]] ; then git_src_unpack else unpack ${A} fi cd "${S}" } src_install() { distutils_src_install dodoc README }