diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild')
-rw-r--r-- | sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild b/sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild new file mode 100644 index 000000000000..33c7dbf9be7d --- /dev/null +++ b/sci-chemistry/pymol-plugins-msms/pymol-plugins-msms-100415-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="GUI for MSMS and displaying its results in PyMOL" +HOMEPAGE="http://www.biotec.tu-dresden.de/~hongboz/msms_pymol/msms_pymol.html" +SRC_URI="http://www.biotec.tu-dresden.de/~hongboz/msms_pymol/pymol_script/msms_pymol.py -> ${P}.py" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="BSD pymol" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + sci-chemistry/msms-bin + sci-chemistry/pymol[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_unpack() { + mkdir "${S}" || die + cp "${DISTDIR}"/${A} "${S}/" || die +} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-msms.patch + sed \ + -e "s:GENTOOMSMS:${EPREFIX}/opt/bin/msms:g" \ + -e "s:GENTOOXYZRN:${EPREFIX}/usr/bin/pdb_to_xyzrn:g" \ + -i ${A} || die +} + +src_install() { + python_moduleinto pmg_tk/startup + python_foreach_impl python_domodule ${P}.py + python_foreach_impl python_optimize +} |