# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit eutils python-r1 MY_PV="${PV##*_p}" DESCRIPTION="APBS plugin for pymol" HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/" SRC_URI="http://sourceforge.net/p/pymolapbsplugin/code/${MY_PV}/tree/trunk/src/apbsplugin.py?format=raw -> ${P}.py" SLOT="0" KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" LICENSE="pymol" IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS} sci-chemistry/apbs sci-chemistry/pdb2pqr ! apbs_tools.py || die python_moduleinto pmg_tk/startup python_domodule apbs_tools.py python_optimize } python_foreach_impl installation }