# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils inherit subversion ESVN_REPO_URI="http://gr.anu.edu.au/svn/people/sdburton/pydx" ESVN_PROJECT="pydx" DESCRIPTION="Arbitrary precission and interval arithmetics for Python" HOMEPAGE="http://gr.anu.edu.au/~sdburton/pydx/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" S="${WORKDIR}/${PN}" RDEPEND="virtual/python dev-python/gmpy >=dev-libs/mpfi-1.3.4" DEPEND="${RDEPEND}" PYTHON_MODNAME="pydx" src_test() { cd ${S} pytest pydx cd ${S}/pydx pytest test/test_geodesic.py pytest test/test_metric.py pytest test/test_nops.py pytest test/test_curzon.py pytest test/test_interval.py pytest test/test_mjet.py pytest test/test_ode.py pytest test/test_field.py pytest test/test_manifold.py pytest test/test_mpfi.py } src_install() { cd "${S}" distutils_src_install dohtml doc/* doc/api/* dodoc LICENSE README.txt }