public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol/, sci-chemistry/pymol/files/
Date: Thu, 29 Mar 2012 09:07:21 +0000 (UTC)	[thread overview]
Message-ID: <1333012029.ed1028a1b6c2a45f42d1275023094d3195bd1ad9.jlec@gentoo> (raw)

commit:     ed1028a1b6c2a45f42d1275023094d3195bd1ad9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 29 09:07:09 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 09:07:09 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ed1028a1

Import tree changes

(Portage version: 2.2.0_alpha96/git/Linux x86_64, unsigned Manifest commit)

---
 sci-chemistry/pymol/ChangeLog                      |    4 ++++
 .../pymol/files/pymol-9999-data-path.patch         |   18 +++++++++++-------
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/sci-chemistry/pymol/ChangeLog b/sci-chemistry/pymol/ChangeLog
index 3aee674..78f20cb 100644
--- a/sci-chemistry/pymol/ChangeLog
+++ b/sci-chemistry/pymol/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  29 Mar 2012; Justin Lecher <jlec@gentoo.org>
+  files/pymol-9999-data-path.patch:
+  Import tree changes
+
   04 Mar 2012; Justin Lecher <jlec@gentoo.org> pymol-9999.ebuild:
   Block pypy usage
 

diff --git a/sci-chemistry/pymol/files/pymol-9999-data-path.patch b/sci-chemistry/pymol/files/pymol-9999-data-path.patch
index e865bfd..a2b09bb 100644
--- a/sci-chemistry/pymol/files/pymol-9999-data-path.patch
+++ b/sci-chemistry/pymol/files/pymol-9999-data-path.patch
@@ -4,8 +4,8 @@
  modules/chempy/tinker/__init__.py   |    2 +-
  modules/pymol/commanding.py         |    6 +++---
  modules/pymol/importing.py          |    2 +-
- modules/pymol/wizard/mutagenesis.py |    4 ++--
- 7 files changed, 17 insertions(+), 17 deletions(-)
+ modules/pymol/wizard/mutagenesis.py |    8 ++++----
+ 7 files changed, 19 insertions(+), 19 deletions(-)
 
 diff --git a/layer0/ShaderMgr.c b/layer0/ShaderMgr.c
 index cc760ae..364277f 100644
@@ -74,7 +74,7 @@ index 23dbe45..795a223 100644
      path = os.environ['PYMOL_DATA'] + '/chempy/'
  elif os.environ.has_key('PYMOL_PATH'):
 -    path = os.environ['PYMOL_PATH'] + '/data/chempy/'   
-+    path = os.environ['PYMOL_PATH'] + '/chempy/'   
++    path = os.environ['PYMOL_PATH'] + '/chempy/'
  elif os.environ.has_key('FREEMOL_MODULES'):
      path = os.environ['FREEMOL_MODULES'] + '/chempy/'
  else:
@@ -127,20 +127,24 @@ diff --git a/modules/pymol/wizard/mutagenesis.py b/modules/pymol/wizard/mutagene
 index 8a5250d..6c1b26c 100644
 --- a/modules/pymol/wizard/mutagenesis.py
 +++ b/modules/pymol/wizard/mutagenesis.py
-@@ -53,7 +53,7 @@ class Mutagenesis(Wizard):
+@@ -52,8 +52,8 @@ class Mutagenesis(Wizard):
+         
          self.dep = default_dep
  
-         self.ind_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
+-        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
-@@ -218,7 +218,7 @@ class Mutagenesis(Wizard):
+@@ -217,8 +217,8 @@ class Mutagenesis(Wizard):
+     def load_library(self):
          if self.dep == 'dep':
              if not hasattr(self,'dep_library'):
-                 self.dep_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
+-                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):



             reply	other threads:[~2012-03-29  9:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29  9:07 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-30 13:48 [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol/, sci-chemistry/pymol/files/ Justin Lecher
2014-10-20 18:01 Justin Lecher
2013-02-19 19:35 Justin Lecher
2013-02-15 15:52 Justin Lecher
2012-05-02 19:22 Justin Lecher
2012-02-20 14:30 Justin Lecher
2012-02-19 12:44 Justin Lecher
2011-12-06 16:35 Justin Lecher
2011-08-31 10:05 Justin Lecher
2011-08-26 16:01 Justin Lecher
2011-08-15 15:55 Justin Lecher
2011-06-12 10:53 Justin Lecher
2011-04-28  7:58 Justin Lecher
2011-04-04 11:18 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1333012029.ed1028a1b6c2a45f42d1275023094d3195bd1ad9.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox