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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Apr 10 22:33:28 2011 UTC (8 years, 9 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Delete older ebuild.

1 # Copyright 1999-2010 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.0.0.ebuild,v 1.3 2010/09/16 17:30:08 scarabeus Exp $
4
5 inherit multilib distutils
6
7 DESCRIPTION="Software toolkit and library of routines for the analysis and manipulation of macromolecular structural models"
8 HOMEPAGE="http://pymmlib.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz"
10 LICENSE="Artistic"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc ~x86"
13 IUSE=""
14 RDEPEND="media-libs/freeglut
15 dev-python/pygtkglext
16 >=dev-python/numpy-0.9.8
17 virtual/opengl
18 virtual/glu
19 x11-libs/libXmu"
20 DEPEND="${RDEPEND}"
21
22 src_install() {
23 python setup.py install --prefix="${D}/usr" || die "install failed"
24 dobin "${S}"/applications/* "${S}"/examples/*
25 dodoc "${S}"/README.txt
26 dohtml -r "${S}"/doc
27
28 # numpy >= 0.9.8 moved lost of numpy.linalg methods to numpy.linalg.old
29 # local b="numpy.linalg"
30 # ebegin "Updating for numpy >= 0.9.8"
31 # find ${D} -name '*.py' \
32 # | xargs sed -i \
33 # -e "s:\(${b}.\)\(determinant\):\1old.\2:g" \
34 # -e "s:\(${b}.\)\(eigenvalues\):\1old.\2:g" \
35 # -e "s:\(${b}.\)\(eigenvectors\):\1old.\2:g" \
36 # -e "s:\(${b}.\)\(inverse\):\1old.\2:g" \
37 # -e "s:\(import numpy\):\1\nimport numpy.linalg.old:g"
38 # eend $?
39 }

  ViewVC Help
Powered by ViewVC 1.1.20