summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-03-03 17:32:45 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-03-03 17:32:45 +0000
commit220221cf2fc902fc14b61b600e982ff174662d4a (patch)
treeb829cc257080adc45a2fa46ea316533823fd6e64 /sci-chemistry
parentRe-add ~alpha keyword wrt bug #124776. Tested by Thomas Cort <tcort@cs.ubisho... (diff)
downloadgentoo-2-220221cf2fc902fc14b61b600e982ff174662d4a.tar.gz
gentoo-2-220221cf2fc902fc14b61b600e982ff174662d4a.tar.bz2
gentoo-2-220221cf2fc902fc14b61b600e982ff174662d4a.zip
(#124611) New version. Based on ebuild from hodak@nemo.physics.ncsu.edu, with changes to locations as suggested by upstream.
(Portage version: 2.1_pre5-r2)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pymol/ChangeLog10
-rw-r--r--sci-chemistry/pymol/files/digest-pymol-0.993
-rw-r--r--sci-chemistry/pymol/pymol-0.99.ebuild65
3 files changed, 76 insertions, 2 deletions
diff --git a/sci-chemistry/pymol/ChangeLog b/sci-chemistry/pymol/ChangeLog
index 83da192eb0d2..cb0ebe6e13b0 100644
--- a/sci-chemistry/pymol/ChangeLog
+++ b/sci-chemistry/pymol/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/pymol
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.10 2005/12/19 18:55:11 spyderous Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.11 2006/03/03 17:32:45 spyderous Exp $
+
+*pymol-0.99 (03 Mar 2006)
+
+ 03 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>; +pymol-0.99.ebuild:
+ (#124611) New version. Based on ebuild from hodak@nemo.physics.ncsu.edu,
+ with changes to locations as suggested by upstream.
19 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; pymol-0.98.ebuild:
virtual/glut, not media-libs/glut.
diff --git a/sci-chemistry/pymol/files/digest-pymol-0.99 b/sci-chemistry/pymol/files/digest-pymol-0.99
new file mode 100644
index 000000000000..cfc1dc544212
--- /dev/null
+++ b/sci-chemistry/pymol/files/digest-pymol-0.99
@@ -0,0 +1,3 @@
+MD5 1dfb4b943e6a8dba06f4446b8a185bae pymol-0_99rc1-src.tgz 4178605
+RMD160 68dab263e2032996a143853caf91850e573654c9 pymol-0_99rc1-src.tgz 4178605
+SHA256 1121d80d7268583db78f7f75e91669401239ab44e9319abdd970de1f81e12aab pymol-0_99rc1-src.tgz 4178605
diff --git a/sci-chemistry/pymol/pymol-0.99.ebuild b/sci-chemistry/pymol/pymol-0.99.ebuild
new file mode 100644
index 000000000000..d809d010dfbd
--- /dev/null
+++ b/sci-chemistry/pymol/pymol-0.99.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-0.99.ebuild,v 1.1 2006/03/03 17:32:45 spyderous Exp $
+
+inherit distutils eutils multilib
+
+MY_P="${PN}-${PV/./_}rc1"
+DESCRIPTION="A Python-extensible molecular graphics system."
+HOMEPAGE="http://pymol.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pymol/${MY_P}-src.tgz"
+
+LICENSE="PSF-2.2"
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="dev-lang/python
+ dev-python/pmw
+ dev-python/numeric
+ dev-lang/tk
+ media-libs/libpng
+ sys-libs/zlib
+ virtual/glut"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Respect CFLAGS
+ sed -i \
+ -e "s:\(ext_comp_args=\).*:\1[]:g" \
+ ${S}/setup.py
+}
+
+src_install() {
+ python_version
+
+ distutils_src_install
+ cd ${S}
+
+ #The following three lines probably do not do their jobs and should be
+ #changed
+ PYTHONPATH="${D}/usr/$(get_libdir)/site-packages" ${python} setup2.py
+
+ # Make our own wrapper
+cat >> ${T}/pymol << EOF
+#!/bin/sh
+PYMOL_PATH=/usr/lib/python${PYVER}/site-packages/pymol
+PYMOL_DATA="/usr/share/pymol/data"
+PYMOL_SCRIPTS="/usr/share/pymol/scripts"
+export PYMOL_PATH PYMOL_DATA PYMOL_SCRIPTS
+${python} \${PYMOL_PATH}/__init__.py \$*
+EOF
+
+ exeinto /usr/bin
+ doexe ${T}/pymol
+ dodoc DEVELOPERS CHANGES
+
+ mv examples ${D}/usr/share/doc/${PF}/
+
+ dodir /usr/share/pymol
+ mv tests ${D}/usr/share/pymol/
+ mv data ${D}/usr/share/pymol/
+ mv scripts ${D}/usr/share/pymol/
+}