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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Aug 3 07:10:14 2015 UTC (4 years, 8 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 jlec 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jlec 1.3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-1.2.0.ebuild,v 1.2 2012/05/14 13:29:29 jlec Exp $
4 jlec 1.1
5     EAPI=4
6    
7     PYTHON_DEPEND="2"
8     SUPPORT_PYTHON_ABIS="1"
9     RESTRICT_PYTHON_ABIS="3.* *-jython"
10    
11     inherit distutils multilib
12    
13     DESCRIPTION="Toolkit and library for the analysis and manipulation of macromolecular structural models"
14     HOMEPAGE="http://pymmlib.sourceforge.net/"
15     SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz"
16    
17     LICENSE="Artistic"
18     SLOT="0"
19 jlec 1.2 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
20 jlec 1.1 IUSE="doc"
21    
22     RDEPEND="
23     dev-python/numpy
24     dev-python/pygtkglext
25     media-libs/freeglut
26     virtual/glu
27     virtual/opengl
28     x11-libs/libXmu"
29     DEPEND="${RDEPEND}
30     doc? ( dev-python/epydoc )"
31    
32     src_prepare() {
33     rm mmLib/NumericCompat.py || die
34     python_convert_shebangs $(python_get_version -f) "${S}"/applications/* "${S}"/examples/*.py
35     distutils_src_prepare
36     }
37    
38     src_compile() {
39     distutils_src_compile
40    
41     if use doc; then
42     $(PYTHON -f) setup.py doc || die
43     fi
44     }
45    
46     src_install() {
47     distutils_src_install
48     dobin "${S}"/applications/* "${S}"/examples/*.py
49     dodoc "${S}"/README.txt
50     dohtml -r "${S}"/doc
51     }

  ViewVC Help
Powered by ViewVC 1.1.20