# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils python DESCRIPTION="MPI for Python" HOMEPAGE="http://mpi4py.scipy.org/" SRC_URI="http://pypi.python.org/packages/source/m/${PN}/${P}.tar.gz" SLOT="0" KEYWORDS="~x86" LICENSE="public-domain" IUSE="doc" DEPEND="virtual/python virtual/mpi doc? ( dev-python/docutils )" src_install() { distutils_src_install #Docs if use doc then cd docs make html cp ${PN}.html ${D}/usr/share/doc/${PF} #make pdf #this have latex dependency #cp ${PN}.pdf ${D}/usr/share/doc/${PF} cd .. cp -r tests ${D}/usr/share/doc/${PF} fi }