summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-05-04 15:39:00 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-05-04 15:39:00 +0000
commit4ab344b98ed505dbb3ef5999b73571be92ec89a6 (patch)
treeb8cac306f7a51afc5b0185ba0ed4836851e0756d /sci-chemistry/pymol
parentStable for HPPA. (diff)
downloadgentoo-2-4ab344b98ed505dbb3ef5999b73571be92ec89a6.tar.gz
gentoo-2-4ab344b98ed505dbb3ef5999b73571be92ec89a6.tar.bz2
gentoo-2-4ab344b98ed505dbb3ef5999b73571be92ec89a6.zip
Adding the forgotten pymol-0.99_rc8-data-path.patch.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-chemistry/pymol')
-rw-r--r--sci-chemistry/pymol/ChangeLog6
-rw-r--r--sci-chemistry/pymol/files/pymol-0.99_rc8-data-path.patch64
2 files changed, 69 insertions, 1 deletions
diff --git a/sci-chemistry/pymol/ChangeLog b/sci-chemistry/pymol/ChangeLog
index 4c354a6d8c07..871ad816efa6 100644
--- a/sci-chemistry/pymol/ChangeLog
+++ b/sci-chemistry/pymol/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/pymol
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.21 2007/05/02 16:52:04 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.22 2007/05/04 15:39:00 je_fro Exp $
+
+ 04 May 2007; Jeff Gardner <je_fro@gentoo.org>
+ +files/pymol-0.99_rc8-data-path.patch:
+ Adding the forgotten pymol-0.99_rc8-data-path.patch.
*pymol-0.99_rc8 (02 May 2007)
diff --git a/sci-chemistry/pymol/files/pymol-0.99_rc8-data-path.patch b/sci-chemistry/pymol/files/pymol-0.99_rc8-data-path.patch
new file mode 100644
index 000000000000..286489ff8d58
--- /dev/null
+++ b/sci-chemistry/pymol/files/pymol-0.99_rc8-data-path.patch
@@ -0,0 +1,64 @@
+--- pymol-0.99rc8/modules/pymol/commanding.py 2007-04-18 02:11:48.000000000 -0400
++++ commanding.py 2007-04-24 02:17:53.000000000 -0400
+@@ -129,11 +129,11 @@
+ unlock(0)
+ r = DEFAULT_SUCCESS
+ if show_splash==1: # generic / open-source
+- png_path = cmd.exp_path("$PYMOL_PATH/data/pymol/splash.png")
++ png_path = cmd.exp_path("$PYMOL_DATA/pymol/splash.png")
+ elif show_splash==2: # evaluation builds
+- png_path = cmd.exp_path("$PYMOL_PATH/data/pymol/epymol.png")
++ png_path = cmd.exp_path("$PYMOL_DATA/pymol/epymol.png")
+ else: # incentive builds
+- png_path = cmd.exp_path("$PYMOL_PATH/data/pymol/ipymol.png")
++ png_path = cmd.exp_path("$PYMOL_DATA/pymol/ipymol.png")
+ if os.path.exists(png_path):
+ cmd.do("_ cmd.load_png('%s',0,quiet=1)"%png_path)
+ else:
+--- pymol-0.99rc8/modules/pymol/fitting.py 2007-04-18 02:11:48.000000000 -0400
++++ fitting.py 2007-04-24 02:18:07.000000000 -0400
+@@ -61,7 +61,7 @@
+ r = DEFAULT_ERROR
+ source = selector.process(source)
+ target = selector.process(target)
+- mfile = cmd.exp_path("$PYMOL_PATH/data/pymol/matrices/"+matrix)
++ mfile = cmd.exp_path("$PYMOL_DATA/pymol/matrices/"+matrix)
+ if object==None: object=''
+ try:
+ lock()
+--- pymol-0.99rc8/modules/pymol/importing.py 2007-04-18 02:11:47.000000000 -0400
++++ importing.py 2007-04-24 02:18:46.000000000 -0400
+@@ -177,7 +177,7 @@
+ r = DEFAULT_ERROR
+
+
+- tables = { 'cmyk' : "$PYMOL_PATH/data/pymol/cmyk.png",
++ tables = { 'cmyk' : "$PYMOL_DATA/pymol/cmyk.png",
+ 'pymol' : 'pymol',
+ 'rgb' : 'rgb' }
+
+--- pymol-0.99rc8/modules/pymol/wizard/mutagenesis.py 2007-04-18 02:11:50.000000000 -0400
++++ mutagenesis.py 2007-04-24 04:08:44.000000000 -0400
+@@ -35,8 +35,8 @@
+
+ self.dep = default_dep
+
+- self.ind_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
+- "/data/chempy/sidechains/sc_bb_ind.pkl")
++ self.ind_library = io.pkl.fromFile(os.environ['PYMOL_DATA']+
++ "/chempy/sidechains/sc_bb_ind.pkl")
+ self.load_library()
+ self.status = 0 # 0 no selection, 1 mutagenizing
+ self.bump_check = 1
+@@ -108,8 +108,8 @@
+ def load_library(self):
+ if self.dep == 'dep':
+ if not hasattr(self,'dep_library'):
+- self.dep_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
+- "/data/chempy/sidechains/sc_bb_dep.pkl")
++ self.dep_library = io.pkl.fromFile(os.environ['PYMOL_DATA']+
++ "/chempy/sidechains/sc_bb_dep.pkl")
+
+ def set_mode(self,mode):
+ if mode in self.modes:
+