# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit python SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" DESCRIPTION="PDBSearch is a PyMOL plugin that enhance the search possibility of PDB files" SRC_URI="mirror://sourceforge/pymol-plugins/pdbsearch-${PV}.tar.gz" HOMEPAGE="http://pymol-plugins.sourceforge.net/pdbsearch.html" IUSE="" RESTRICT="mirror" RDEPEND=">sci-chemistry/pymol-0.99" DEPEND="" S="pdbsearch-${PV}" src_install(){ python_version insinto /usr/$(get_libdir)/python${PYVER}/site-packages/pmg_tk/startup/ doins "${S}"/pdbsearch.py } pkg_postinst(){ python_mod_optimize "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pmg_tk/startup/ } pkg_postrm() { python_mod_cleanup "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pmg_tk/startup/ }