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-libs/pymmlib/pymmlib-1.2.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/pymmlib/pymmlib-1.2.1.ebuild')
-rw-r--r-- | sci-libs/pymmlib/pymmlib-1.2.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sci-libs/pymmlib/pymmlib-1.2.1.ebuild b/sci-libs/pymmlib/pymmlib-1.2.1.ebuild new file mode 100644 index 000000000000..380de4cff761 --- /dev/null +++ b/sci-libs/pymmlib/pymmlib-1.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 multilib + +DESCRIPTION="Toolkit and library for the analysis and manipulation of macromolecular structural models" +HOMEPAGE="http://pymmlib.sourceforge.net/" +SRC_URI="mirror://github/masci/mmLib/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygtkglext[${PYTHON_USEDEP}] + media-libs/freeglut + virtual/glu + virtual/opengl + x11-libs/libXmu" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )" + +python_prepare_all() { + rm mmLib/NumericCompat.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py doc +} + +python_install_all() { + DOCS=( "${S}"/README.txt ) + use doc && HTML_DOCS=( "${S}"/doc/. ) + distutils-r1_python_install_all + + python_foreach_impl python_doscript "${S}"/applications/* "${S}"/examples/*.py +} |