# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 inherit distutils MY_P=${P/p/P} S=${WORKDIR}/${MY_P} DESCRIPTION="Pyfort is a tool for creating extensions to the Python language with Fortran routines." SRC_URI="mirror://sourceforge/pyfortran/${MY_P}.tar.gz" HOMEPAGE="http://pyfortran.sourceforge.net/" IUSE="" SLOT="0" KEYWORDS="~x86" #LICENSE=""#Other DEPEND=">=dev-lang/python-2.2" #Maybe test change pyfort to be executed as /bin/bash script, therefore eliminate csh dependency RDEPEND="dev-python/numeric >=app-shells/csh-1.29-r2" src_install() { distutils_src_install distutils_python_version dodir /usr/share/pyfort/ dodir /usr/share/pyfort/demo/ insinto /usr/share/pyfort/demo/ doins ${S}/demo/* dodir /usr/share/pyfort/test/ insinto /usr/share/pyfort/test/ doins ${S}/test/* dodir /usr/share/pyfort/testc/ insinto /usr/share/pyfort/testc/ doins ${S}/testc/* dodoc PKG-INFO README }