diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-04-11 10:02:44 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-04-11 10:02:44 +0000 |
commit | 4e6a1300a78e636a07d20b48dd31177eb689646a (patch) | |
tree | 7a80b428631418fa2ba170951e7684b4e4d89887 /sci-libs/pymmlib | |
parent | Bump, adding 2.0, fixes #306369 (diff) | |
download | gentoo-2-4e6a1300a78e636a07d20b48dd31177eb689646a.tar.gz gentoo-2-4e6a1300a78e636a07d20b48dd31177eb689646a.tar.bz2 gentoo-2-4e6a1300a78e636a07d20b48dd31177eb689646a.zip |
ppc stable wrt #321873, drop old.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/pymmlib')
-rw-r--r-- | sci-libs/pymmlib/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/pymmlib/pymmlib-0.9.8.ebuild | 51 | ||||
-rw-r--r-- | sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild | 6 |
3 files changed, 8 insertions, 56 deletions
diff --git a/sci-libs/pymmlib/ChangeLog b/sci-libs/pymmlib/ChangeLog index b49ae9c9e748..b4641dd50fcc 100644 --- a/sci-libs/pymmlib/ChangeLog +++ b/sci-libs/pymmlib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/pymmlib -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.20 2010/09/16 17:30:08 scarabeus Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.21 2011/04/11 10:02:44 xarthisius Exp $ + + 11 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org> pymmlib-1.0.0-r1.ebuild: + ppc stable wrt #321873, drop old. 16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> pymmlib-0.9.8.ebuild, pymmlib-1.0.0.ebuild, pymmlib-1.0.0-r1.ebuild: diff --git a/sci-libs/pymmlib/pymmlib-0.9.8.ebuild b/sci-libs/pymmlib/pymmlib-0.9.8.ebuild deleted file mode 100644 index 2d79e5c23243..000000000000 --- a/sci-libs/pymmlib/pymmlib-0.9.8.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-0.9.8.ebuild,v 1.9 2010/09/16 17:30:08 scarabeus Exp $ - -inherit multilib python - -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="ppc x86" -IUSE="" -RDEPEND="media-libs/freeglut - dev-python/pygtkglext - >=dev-python/numpy-0.9.8 - virtual/opengl - virtual/glu - x11-libs/libXmu" -DEPEND="${RDEPEND}" - -src_compile() { - python setup.py build || die "build failed" -} - -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 $? -} - -pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/mmLib -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/mmLib -} diff --git a/sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild b/sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild index 715c4124f2fa..2743a3af39a5 100644 --- a/sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild +++ b/sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 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-r1.ebuild,v 1.6 2010/09/16 17:30:08 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-1.0.0-r1.ebuild,v 1.7 2011/04/11 10:02:44 xarthisius Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz" LICENSE="Artistic" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="" RDEPEND=" |