/[gentoo-x86]/sci-libs/pymmlib/pymmlib-1.2.0-r1.ebuild
Gentoo

Contents of /sci-libs/pymmlib/pymmlib-1.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Aug 3 07:10:14 2015 UTC (4 years, 6 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-1.2.0-r1.ebuild,v 1.2 2015/04/08 18:49:16 mgorny Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1 multilib
10
11 DESCRIPTION="Toolkit and library for the analysis and manipulation of macromolecular structural models"
12 HOMEPAGE="http://pymmlib.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz"
14
15 LICENSE="Artistic"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc"
19
20 RDEPEND="
21 dev-python/numpy[${PYTHON_USEDEP}]
22 dev-python/pygtkglext[${PYTHON_USEDEP}]
23 media-libs/freeglut
24 virtual/glu
25 virtual/opengl
26 x11-libs/libXmu"
27 DEPEND="${RDEPEND}
28 doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )"
29
30 python_prepare_all() {
31 rm mmLib/NumericCompat.py || die
32 distutils-r1_python_prepare_all
33 }
34
35 python_compile_all() {
36 if use doc; then
37 ${EPYTHON} setup.py doc || die
38 fi
39 }
40
41 python_install_all() {
42 DOCS=( "${S}"/README.txt )
43 use doc && HTML_DOCS=( "${S}"/doc/. )
44 distutils-r1_python_install_all
45
46 python_foreach_impl python_doscript "${S}"/applications/* "${S}"/examples/*.py
47 }

  ViewVC Help
Powered by ViewVC 1.1.20