1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 )
9 inherit eutils python-r1
11 DESCRIPTION="GUI for MSMS and displaying its results in PyMOL"
12 HOMEPAGE="http://www.biotec.tu-dresden.de/~hongboz/msms_pymol/msms_pymol.html"
13 SRC_URI="http://www.biotec.tu-dresden.de/~hongboz/msms_pymol/pymol_script/msms_pymol.py -> ${P}.py"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
21 sci-chemistry/msms-bin
22 sci-chemistry/pymol[${PYTHON_USEDEP}]"
27 cp "${DISTDIR}"/${A} "${S}/" || die
31 epatch "${FILESDIR}"/${PV}-msms.patch
33 -e "s:GENTOOMSMS:${EPREFIX}/opt/bin/msms:g" \
34 -e "s:GENTOOXYZRN:${EPREFIX}/usr/bin/pdb_to_xyzrn:g" \
39 python_moduleinto pmg_tk/startup
40 python_foreach_impl python_domodule ${P}.py
41 python_foreach_impl python_optimize