diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-03-13 00:51:47 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-03-13 00:51:47 +0000 |
commit | 3bcea437ef30c1088139694834e9dfb2a4e51efe (patch) | |
tree | 9501e980ca378998bd5c33d460bd7ae3ed823ef3 /sci-libs/pymmlib | |
parent | Switch back to ~arch KEYWORDS. (diff) | |
download | gentoo-2-3bcea437ef30c1088139694834e9dfb2a4e51efe.tar.gz gentoo-2-3bcea437ef30c1088139694834e9dfb2a4e51efe.tar.bz2 gentoo-2-3bcea437ef30c1088139694834e9dfb2a4e51efe.zip |
(#186123) Bump, and keyword ~amd64.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/pymmlib')
-rw-r--r-- | sci-libs/pymmlib/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/pymmlib/pymmlib-1.0.0.ebuild | 39 |
2 files changed, 47 insertions, 2 deletions
diff --git a/sci-libs/pymmlib/ChangeLog b/sci-libs/pymmlib/ChangeLog index 3888e158db9d..428fbd6b4164 100644 --- a/sci-libs/pymmlib/ChangeLog +++ b/sci-libs/pymmlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/pymmlib -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.13 2007/07/22 07:01:45 dberkholz Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.14 2008/03/13 00:51:47 dberkholz Exp $ + +*pymmlib-1.0.0 (13 Mar 2008) + + 13 Mar 2008; Donnie Berkholz <dberkholz@gentoo.org>; + +pymmlib-1.0.0.ebuild: + (#186123) Bump, and keyword ~amd64. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; pymmlib-0.9.7.ebuild, pymmlib-0.9.8.ebuild: diff --git a/sci-libs/pymmlib/pymmlib-1.0.0.ebuild b/sci-libs/pymmlib/pymmlib-1.0.0.ebuild new file mode 100644 index 000000000000..6f52fdd88595 --- /dev/null +++ b/sci-libs/pymmlib/pymmlib-1.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-1.0.0.ebuild,v 1.1 2008/03/13 00:51:47 dberkholz Exp $ + +inherit multilib distutils + +DESCRIPTION="Software toolkit and library of routines for the analysis and manipulation of macromolecular structural models" +HOMEPAGE="http://pymmlib.sourceforge.net/" +SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +RDEPEND="virtual/glut + dev-python/pygtkglext + >=dev-python/numpy-0.9.8 + virtual/opengl + virtual/glu + x11-libs/libXmu" +DEPEND="${RDEPEND}" + +src_install() { + python setup.py install --prefix="${D}/usr" || die "install failed" + dobin ${S}/applications/* ${S}/examples/* + dodoc ${S}/README.txt + dohtml -r ${S}/doc + + # numpy >= 0.9.8 moved lost of numpy.linalg methods to numpy.linalg.old +# local b="numpy.linalg" +# ebegin "Updating for numpy >= 0.9.8" +# find ${D} -name '*.py' \ +# | xargs sed -i \ +# -e "s:\(${b}.\)\(determinant\):\1old.\2:g" \ +# -e "s:\(${b}.\)\(eigenvalues\):\1old.\2:g" \ +# -e "s:\(${b}.\)\(eigenvectors\):\1old.\2:g" \ +# -e "s:\(${b}.\)\(inverse\):\1old.\2:g" \ +# -e "s:\(import numpy\):\1\nimport numpy.linalg.old:g" +# eend $? +} |