summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-02-05 16:51:55 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-02-05 16:51:55 +0000
commitaffd073ef49e5d9023032d7f5c91cd81e3c135d5 (patch)
tree17e7761fe7c5a70649e70cb70838338cd5ff9bf5 /app-sci
parentMark stable on alpha (diff)
downloadhistorical-affd073ef49e5d9023032d7f5c91cd81e3c135d5.tar.gz
historical-affd073ef49e5d9023032d7f5c91cd81e3c135d5.tar.bz2
historical-affd073ef49e5d9023032d7f5c91cd81e3c135d5.zip
new versin, also removed risky CFLAGS component
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/pymol/ChangeLog8
-rw-r--r--app-sci/pymol/files/digest-pymol-0.861
-rw-r--r--app-sci/pymol/pymol-0.86.ebuild51
3 files changed, 59 insertions, 1 deletions
diff --git a/app-sci/pymol/ChangeLog b/app-sci/pymol/ChangeLog
index db599ae77e4e..017829bfcb0a 100644
--- a/app-sci/pymol/ChangeLog
+++ b/app-sci/pymol/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-sci/pymol
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/pymol/ChangeLog,v 1.2 2002/10/19 15:54:07 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/pymol/ChangeLog,v 1.3 2003/02/05 16:51:55 george Exp $
+
+*pymol-0.82.ebuild (05 Feb 2003)
+
+ 05 Feb 2003; George Shapovalov <george@gentoo.org> pymol-0.86.ebuild, files/digest-pymol-0.86 :
+ new version, (#13531)
+ removed -funroll-loops from CFLAGS
*pymol-0.82.ebuild (17 July 2002)
diff --git a/app-sci/pymol/files/digest-pymol-0.86 b/app-sci/pymol/files/digest-pymol-0.86
new file mode 100644
index 000000000000..60788af1aaa8
--- /dev/null
+++ b/app-sci/pymol/files/digest-pymol-0.86
@@ -0,0 +1 @@
+MD5 7610bb7689230eff2ec945236fdce0b8 pymol-0_86-src.tgz 1606126
diff --git a/app-sci/pymol/pymol-0.86.ebuild b/app-sci/pymol/pymol-0.86.ebuild
new file mode 100644
index 000000000000..da4db18bf395
--- /dev/null
+++ b/app-sci/pymol/pymol-0.86.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/pymol/pymol-0.86.ebuild,v 1.1 2003/02/05 16:51:55 george Exp $
+
+IUSE=""
+
+MY_PV=${PV/./_}
+DESCRIPTION="A Python-extensible molecular graphics system."
+SRC_URI="mirror://sourceforge/pymol/${PN}-${MY_PV}-src.tgz"
+HOMEPAGE="http://pymol.sf.net"
+
+LICENSE="PSF-2.2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="dev-lang/python
+ dev-python/pmw
+ dev-python/Numeric
+ dev-lang/tk
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/glut"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp setup/Rules.linux Rules.make
+ patch -p0 < ${FILESDIR}/${PN}-gentoo.diff || die
+}
+
+src_compile() {
+ CFLAGS="$CFLAGS -ffast-math"
+ make || die
+}
+
+src_install() {
+ local PYMOL_PATH=/usr/lib/pymol/${PV}
+ dodir /usr/lib/pymol/${PV}
+ cp -a modules ${D}/usr/lib/pymol/${PV}
+ dodir /usr/bin
+ cat <<-EOF > ${D}/usr/bin/pymol-${PV}
+ #!/bin/sh
+ export PYMOL_PATH=/usr/lib/pymol/${PV}
+ export TCL_LIBRARY=/usr/lib/tcl8.3
+ export PYTHONPATH=/usr/lib/pymol/${PV/modules}:\${PYTHONPATH}
+ python /usr/lib/pymol/${PV}/modules/launch_pymol.py \$*
+ EOF
+ chmod 755 ${D}/usr/bin/pymol-${PV}
+ dodoc README DEVELOPERS CHANGES
+ dosym /usr/bin/pymol-${PV} /usr/bin/pymol
+}