# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ NEED_PYTHON=2.3 EGIT_REPO_URI="git://github.com/cjlee112/pygr.git" inherit distutils git DESCRIPTION="A Python graph-database toolkit oriented primarily on bioinformatics applications" HOMEPAGE="http://code.google.com/p/pygr/" SRC_URI="" LICENSE="BSD" SLOT="0" KEYWORDS="" IUSE="doc mysql sqlite" DEPEND=">=dev-python/pyrex-0.9.8 doc? ( dev-python/sphinx )" RDEPEND="mysql? ( dev-python/mysql-python ) sqlite? ( || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )" src_install() { distutils_src_install dodoc README COPYING pygrrc.example if use doc; then cd doc emake newdoc dohtml -r html_new/* fi } src_test() { "${python}" tests/runtest.py -b || die "Running tests failed" }