# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Predicts protein flexibility by calculating the Random Coil Index from backbone CS" HOMEPAGE="http://redpoll.pharmacy.ualberta.ca/download/rci/" SRC_URI="http://dev.gentooexperimental.org/~jlec/science-dist/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="sci-visualization/gnuplot dev-python/numpy" DEPEND="${RDEPEND}" S="${WORKDIR}"/RCI src_test() { python rci_v_1c.py -b PyJCScorr diff PyJCScorr_RCI.txt_compare PyJCScorr.RCI.txt >& /dev/null || \ die "test failed" } src_install() { sed -i '1i #!/usr/bin/env python' rci_v_1c.py newbin rci_v_1c.py ${PN} || die dodoc README }