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

Contents of /sci-libs/pymmlib/pymmlib-1.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Aug 2 18:53:20 2015 UTC (4 years, 6 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #552648

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

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.1.ebuild,v 1.4 2015/07/23 21:00:34 pacho 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://github/masci/mmLib/${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 use doc && esetup.py doc
37 }
38
39 python_install_all() {
40 DOCS=( "${S}"/README.txt )
41 use doc && HTML_DOCS=( "${S}"/doc/. )
42 distutils-r1_python_install_all
43
44 python_foreach_impl python_doscript "${S}"/applications/* "${S}"/examples/*.py
45 }

  ViewVC Help
Powered by ViewVC 1.1.20