# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ NEED_PYTHON=2.4 inherit distutils eutils DESCRIPTION="Python-based framework for rapid prototyping of reliable parallel run-time systems." HOMEPAGE="http://www.cs.usfca.edu/river/" SRC_URI="http://www.cs.usfca.edu/river/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="doc examples" DEPEND="" RDEPEND="" src_unpack() { unpack ${A} cd "${S}" } src_install() { DOCS="README RELEASE_NOTES" distutils_src_install if use doc ; then insinto /usr/share/doc/${PF}/manual fi if use examples ; then insinto /usr/share/examples/${PF} doins -r examples/* fi } src_test() { PYTHONPATH="$(ls -d build/lib.*)" "${python}" setup.py test || die "tests failed" }