summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-27 09:47:41 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-27 09:47:41 +0000
commit9768099b4fa1f5b153d381071855b310f27fac61 (patch)
treec202d0f85be7e37a0f68fda9f2d9938bbb3c8f4b /sci-chemistry
parentStable for amd64 wrt bug #490102 (diff)
downloadgentoo-2-9768099b4fa1f5b153d381071855b310f27fac61.tar.gz
gentoo-2-9768099b4fa1f5b153d381071855b310f27fac61.tar.bz2
gentoo-2-9768099b4fa1f5b153d381071855b310f27fac61.zip
sci-chemistry/relax: Fix wxpython-2.8 usage
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/relax/ChangeLog8
-rw-r--r--sci-chemistry/relax/files/relax-3.0.2-wxpython.patch954
-rw-r--r--sci-chemistry/relax/relax-3.0.2-r1.ebuild (renamed from sci-chemistry/relax/relax-3.0.2.ebuild)8
3 files changed, 966 insertions, 4 deletions
diff --git a/sci-chemistry/relax/ChangeLog b/sci-chemistry/relax/ChangeLog
index e8562b1c1e52..cb974a0f4bc9 100644
--- a/sci-chemistry/relax/ChangeLog
+++ b/sci-chemistry/relax/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/relax
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.8 2013/11/27 07:58:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.9 2013/11/27 09:47:41 jlec Exp $
+
+*relax-3.0.2-r1 (27 Nov 2013)
+
+ 27 Nov 2013; Justin Lecher <jlec@gentoo.org> -relax-3.0.2.ebuild,
+ +relax-3.0.2-r1.ebuild, +files/relax-3.0.2-wxpython.patch:
+ Fix wxpython-2.8 usage
*relax-3.0.2 (27 Nov 2013)
diff --git a/sci-chemistry/relax/files/relax-3.0.2-wxpython.patch b/sci-chemistry/relax/files/relax-3.0.2-wxpython.patch
new file mode 100644
index 000000000000..857498e199f8
--- /dev/null
+++ b/sci-chemistry/relax/files/relax-3.0.2-wxpython.patch
@@ -0,0 +1,954 @@
+ dep_check.py | 2 ++
+ devel_scripts/gui/about_gui.py | 2 ++
+ devel_scripts/gui/about_model_free.py | 2 ++
+ devel_scripts/gui/about_relax.py | 2 ++
+ devel_scripts/gui/refs.py | 2 ++
+ devel_scripts/gui/spin_create.py | 2 ++
+ devel_scripts/gui/uf_sequence_read.py | 2 ++
+ devel_scripts/python_seek.py | 2 ++
+ gui/__init__.py | 2 ++
+ gui/about.py | 2 ++
+ gui/analyses/__init__.py | 2 ++
+ gui/analyses/auto_model_free.py | 2 ++
+ gui/analyses/auto_noe.py | 2 ++
+ gui/analyses/auto_rx_base.py | 2 ++
+ gui/analyses/base.py | 2 ++
+ gui/analyses/elements/bool_element.py | 2 ++
+ gui/analyses/elements/float_element.py | 2 ++
+ gui/analyses/elements/model_list.py | 2 ++
+ gui/analyses/elements/spin_element.py | 2 ++
+ gui/analyses/elements/text_element.py | 2 ++
+ gui/analyses/wizard.py | 2 ++
+ gui/components/base_list.py | 2 ++
+ gui/components/free_file_format.py | 2 ++
+ gui/components/grid.py | 2 ++
+ gui/components/menu.py | 2 ++
+ gui/components/molecule.py | 2 ++
+ gui/components/relax_data.py | 2 ++
+ gui/components/relax_data_meta.py | 2 ++
+ gui/components/spectrum.py | 2 ++
+ gui/controller.py | 2 ++
+ gui/errors.py | 2 ++
+ gui/export_bmrb.py | 2 ++
+ gui/filedialog.py | 2 ++
+ gui/fonts.py | 2 ++
+ gui/icons.py | 2 ++
+ gui/input_elements/bool.py | 2 ++
+ gui/input_elements/combo_list.py | 2 ++
+ gui/input_elements/dir.py | 2 ++
+ gui/input_elements/file.py | 2 ++
+ gui/input_elements/sequence.py | 2 ++
+ gui/input_elements/sequence_2D.py | 2 ++
+ gui/input_elements/spin_id.py | 2 ++
+ gui/input_elements/value.py | 2 ++
+ gui/interpreter.py | 2 ++
+ gui/menu.py | 2 ++
+ gui/message.py | 2 ++
+ gui/misc.py | 2 ++
+ gui/pipe_editor.py | 2 ++
+ gui/references.py | 2 ++
+ gui/relax_gui.py | 2 ++
+ gui/relax_prompt.py | 2 ++
+ gui/results_viewer.py | 2 ++
+ gui/spin_viewer/containers.py | 2 ++
+ gui/spin_viewer/frame.py | 2 ++
+ gui/spin_viewer/splitter.py | 2 ++
+ gui/spin_viewer/tree.py | 2 ++
+ gui/uf_objects.py | 2 ++
+ gui/wizards/peak_intensity.py | 2 ++
+ gui/wizards/wiz_objects.py | 2 ++
+ pipe_control/reset.py | 2 ++
+ test_suite/gui_tests/__init__.py | 2 ++
+ test_suite/gui_tests/base_classes.py | 2 ++
+ test_suite/gui_tests/model_free.py | 2 ++
+ test_suite/gui_tests/noe.py | 2 ++
+ test_suite/gui_tests/rx.py | 2 ++
+ test_suite/gui_tests/state.py | 2 ++
+ test_suite/relax_test_runner.py | 2 ++
+ test_suite/test_suite_runner.py | 2 ++
+ 68 files changed, 136 insertions(+)
+
+diff --git a/dep_check.py b/dep_check.py
+index cc9a781..29d0dd5 100644
+--- a/dep_check.py
++++ b/dep_check.py
+@@ -67,6 +67,8 @@ except ImportError:
+
+ # wx module.
+ try:
++ import wxversion
++ wxversion.select("2.8")
+ import wx
+ wx_module = True
+ except ImportError:
+diff --git a/devel_scripts/gui/about_gui.py b/devel_scripts/gui/about_gui.py
+index 2255b12..e32da8b 100644
+--- a/devel_scripts/gui/about_gui.py
++++ b/devel_scripts/gui/about_gui.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/gui/about_model_free.py b/devel_scripts/gui/about_model_free.py
+index ff39906..2b608fe 100644
+--- a/devel_scripts/gui/about_model_free.py
++++ b/devel_scripts/gui/about_model_free.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/gui/about_relax.py b/devel_scripts/gui/about_relax.py
+index d3c6bfa..e9c4e77 100644
+--- a/devel_scripts/gui/about_relax.py
++++ b/devel_scripts/gui/about_relax.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/gui/refs.py b/devel_scripts/gui/refs.py
+index e23a252..6620ad7 100644
+--- a/devel_scripts/gui/refs.py
++++ b/devel_scripts/gui/refs.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/gui/spin_create.py b/devel_scripts/gui/spin_create.py
+index 2dcccda..5a7cbbc 100644
+--- a/devel_scripts/gui/spin_create.py
++++ b/devel_scripts/gui/spin_create.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/gui/uf_sequence_read.py b/devel_scripts/gui/uf_sequence_read.py
+index a1659cb..dc384df 100644
+--- a/devel_scripts/gui/uf_sequence_read.py
++++ b/devel_scripts/gui/uf_sequence_read.py
+@@ -20,6 +20,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # GUI module imports.
+diff --git a/devel_scripts/python_seek.py b/devel_scripts/python_seek.py
+index 9e2eeb0..079dbb6 100755
+--- a/devel_scripts/python_seek.py
++++ b/devel_scripts/python_seek.py
+@@ -240,6 +240,8 @@ class Python_info:
+ # The commands.
+ commands = [
+ "try:\n",
++ " import wxversion\n",
++ " wxversion.select('2.8')\n",
+ " import wx\n",
+ " version = wx.version()\n",
+ "except:\n",
+diff --git a/gui/__init__.py b/gui/__init__.py
+index 7c7b89c..9be9834 100644
+--- a/gui/__init__.py
++++ b/gui/__init__.py
+@@ -32,6 +32,8 @@ import dep_check
+ import sys
+ from time import sleep
+ if dep_check.wx_module:
++ import wxversion
++ wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/about.py b/gui/about.py
+index 91512ac..0bafd78 100644
+--- a/gui/about.py
++++ b/gui/about.py
+@@ -24,6 +24,8 @@
+ from copy import deepcopy
+ from numpy import zeros
+ import webbrowser
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.html
+ from wx.lib.wordwrap import wordwrap
+diff --git a/gui/analyses/__init__.py b/gui/analyses/__init__.py
+index 863a78d..5e3ba00 100644
+--- a/gui/analyses/__init__.py
++++ b/gui/analyses/__init__.py
+@@ -25,6 +25,8 @@
+ # Python module imports.
+ import inspect
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from types import ListType
+
+diff --git a/gui/analyses/auto_model_free.py b/gui/analyses/auto_model_free.py
+index aa38030..b63689c 100644
+--- a/gui/analyses/auto_model_free.py
++++ b/gui/analyses/auto_model_free.py
+@@ -26,6 +26,8 @@
+ # Python module imports.
+ from math import ceil
+ from os import sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+ import wx.lib.mixins.listctrl
+diff --git a/gui/analyses/auto_noe.py b/gui/analyses/auto_noe.py
+index 05b28e1..8dff7e6 100644
+--- a/gui/analyses/auto_noe.py
++++ b/gui/analyses/auto_noe.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ from os import sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/analyses/auto_rx_base.py b/gui/analyses/auto_rx_base.py
+index f953104..a547e9e 100644
+--- a/gui/analyses/auto_rx_base.py
++++ b/gui/analyses/auto_rx_base.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for the automatic R1 and R2 analysis frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/analyses/base.py b/gui/analyses/base.py
+index 0ef26f4..00da057 100644
+--- a/gui/analyses/base.py
++++ b/gui/analyses/base.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for all frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import buttons
+ from wx.lib import scrolledpanel
+diff --git a/gui/analyses/elements/bool_element.py b/gui/analyses/elements/bool_element.py
+index e4a1bd8..fa2258f 100644
+--- a/gui/analyses/elements/bool_element.py
++++ b/gui/analyses/elements/bool_element.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for all frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/analyses/elements/float_element.py b/gui/analyses/elements/float_element.py
+index 78e152d..bb938bf 100644
+--- a/gui/analyses/elements/float_element.py
++++ b/gui/analyses/elements/float_element.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for all frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/analyses/elements/model_list.py b/gui/analyses/elements/model_list.py
+index 990e8c3..79862cd 100644
+--- a/gui/analyses/elements/model_list.py
++++ b/gui/analyses/elements/model_list.py
+@@ -23,6 +23,8 @@
+ """Auto-analysis GUI element for the control of lists of models."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import scrolledpanel
+ import wx.lib.mixins.listctrl
+diff --git a/gui/analyses/elements/spin_element.py b/gui/analyses/elements/spin_element.py
+index a662d07..b06872e 100644
+--- a/gui/analyses/elements/spin_element.py
++++ b/gui/analyses/elements/spin_element.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for all frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/analyses/elements/text_element.py b/gui/analyses/elements/text_element.py
+index 895671f..5dfa19b 100644
+--- a/gui/analyses/elements/text_element.py
++++ b/gui/analyses/elements/text_element.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for all frames."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/analyses/wizard.py b/gui/analyses/wizard.py
+index ca83f7c..3d0ebc5 100644
+--- a/gui/analyses/wizard.py
++++ b/gui/analyses/wizard.py
+@@ -25,6 +25,8 @@
+ # Python module imports.
+ from os import sep
+ from time import asctime, localtime
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import buttons
+
+diff --git a/gui/components/base_list.py b/gui/components/base_list.py
+index bba25e4..1fbf9df 100644
+--- a/gui/components/base_list.py
++++ b/gui/components/base_list.py
+@@ -24,6 +24,8 @@
+ """Module containing the base GUI element for listing things."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/components/free_file_format.py b/gui/components/free_file_format.py
+index 61c2783..3106945 100644
+--- a/gui/components/free_file_format.py
++++ b/gui/components/free_file_format.py
+@@ -21,6 +21,8 @@
+ ###############################################################################
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import buttons
+
+diff --git a/gui/components/grid.py b/gui/components/grid.py
+index 30a2a4a..aa64d14 100644
+--- a/gui/components/grid.py
++++ b/gui/components/grid.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ from re import search
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/components/menu.py b/gui/components/menu.py
+index 8a408b8..cf04f46 100644
+--- a/gui/components/menu.py
++++ b/gui/components/menu.py
+@@ -24,6 +24,8 @@
+ """Module for the main relax menu bar."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+
+diff --git a/gui/components/molecule.py b/gui/components/molecule.py
+index e74fc0a..f4a29a7 100644
+--- a/gui/components/molecule.py
++++ b/gui/components/molecule.py
+@@ -24,6 +24,8 @@
+ """Module containing the classes for GUI components involving molecules."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/components/relax_data.py b/gui/components/relax_data.py
+index 3a68f20..dad36d7 100644
+--- a/gui/components/relax_data.py
++++ b/gui/components/relax_data.py
+@@ -24,6 +24,8 @@
+ """Module containing the classes for GUI components involving relaxation data."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/components/relax_data_meta.py b/gui/components/relax_data_meta.py
+index 2c80815..1952911 100644
+--- a/gui/components/relax_data_meta.py
++++ b/gui/components/relax_data_meta.py
+@@ -24,6 +24,8 @@
+ """Module containing the classes for GUI components involving relaxation data."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/components/spectrum.py b/gui/components/spectrum.py
+index 8c7bc65..b9036c5 100644
+--- a/gui/components/spectrum.py
++++ b/gui/components/spectrum.py
+@@ -24,6 +24,8 @@
+ """Module containing the classes for GUI components involving spectral data."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+
+diff --git a/gui/controller.py b/gui/controller.py
+index dea6c9b..847c828 100644
+--- a/gui/controller.py
++++ b/gui/controller.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.stc
+
+diff --git a/gui/errors.py b/gui/errors.py
+index 8f6b5c1..4d95ee2 100644
+--- a/gui/errors.py
++++ b/gui/errors.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/export_bmrb.py b/gui/export_bmrb.py
+index 806c75a..827ce13 100644
+--- a/gui/export_bmrb.py
++++ b/gui/export_bmrb.py
+@@ -23,6 +23,8 @@
+ """The BMRB export wizard."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/filedialog.py b/gui/filedialog.py
+index 6301b9e..13bf8f3 100644
+--- a/gui/filedialog.py
++++ b/gui/filedialog.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ from os import chdir, getcwd
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/fonts.py b/gui/fonts.py
+index 4a5cb32..7674d1a 100644
+--- a/gui/fonts.py
++++ b/gui/fonts.py
+@@ -23,6 +23,8 @@
+ """A standard set of font definitions for consistency throughout the GUI."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/icons.py b/gui/icons.py
+index 43bc885..53639ff 100644
+--- a/gui/icons.py
++++ b/gui/icons.py
+@@ -25,6 +25,8 @@
+ # Python module imports.
+ from os import sep
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/bool.py b/gui/input_elements/bool.py
+index 4fbe165..cb0df2d 100644
+--- a/gui/input_elements/bool.py
++++ b/gui/input_elements/bool.py
+@@ -23,6 +23,8 @@
+ """Module containing a set of special GUI elements to be used in the relax wizards."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/combo_list.py b/gui/input_elements/combo_list.py
+index 456bf3b..13fc006 100644
+--- a/gui/input_elements/combo_list.py
++++ b/gui/input_elements/combo_list.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ from copy import deepcopy
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/dir.py b/gui/input_elements/dir.py
+index 18476cb..f705e8b 100644
+--- a/gui/input_elements/dir.py
++++ b/gui/input_elements/dir.py
+@@ -23,6 +23,8 @@
+ """Module containing a set of special GUI elements to be used in the relax wizards."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/file.py b/gui/input_elements/file.py
+index 9dbc0c6..3e78914 100644
+--- a/gui/input_elements/file.py
++++ b/gui/input_elements/file.py
+@@ -23,6 +23,8 @@
+ """Module containing a set of special GUI elements to be used in the relax wizards."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/sequence.py b/gui/input_elements/sequence.py
+index b719a21..db72993 100644
+--- a/gui/input_elements/sequence.py
++++ b/gui/input_elements/sequence.py
+@@ -23,6 +23,8 @@
+ """Module containing a set of special GUI elements to be used in the relax wizards."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.mixins.listctrl
+
+diff --git a/gui/input_elements/sequence_2D.py b/gui/input_elements/sequence_2D.py
+index 140d762..5103675 100644
+--- a/gui/input_elements/sequence_2D.py
++++ b/gui/input_elements/sequence_2D.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.mixins.listctrl
+
+diff --git a/gui/input_elements/spin_id.py b/gui/input_elements/spin_id.py
+index f8114c3..40cd905 100644
+--- a/gui/input_elements/spin_id.py
++++ b/gui/input_elements/spin_id.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ from copy import deepcopy
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/input_elements/value.py b/gui/input_elements/value.py
+index c3b6c0a..16e7c03 100644
+--- a/gui/input_elements/value.py
++++ b/gui/input_elements/value.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ from copy import deepcopy
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/interpreter.py b/gui/interpreter.py
+index 7587669..a2c7298 100644
+--- a/gui/interpreter.py
++++ b/gui/interpreter.py
+@@ -27,6 +27,8 @@ import sys
+ from threading import Thread
+ from time import sleep
+ from traceback import print_exc
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/menu.py b/gui/menu.py
+index 958b6e4..74cf867 100644
+--- a/gui/menu.py
++++ b/gui/menu.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/message.py b/gui/message.py
+index cbeffb4..25cc012 100644
+--- a/gui/message.py
++++ b/gui/message.py
+@@ -22,6 +22,8 @@
+
+ # Python module imports
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.lib.buttons
+ import wx.lib.scrolledpanel
+diff --git a/gui/misc.py b/gui/misc.py
+index 1416b1b..0387317 100644
+--- a/gui/misc.py
++++ b/gui/misc.py
+@@ -29,6 +29,8 @@ import os
+ import platform
+ import sys
+ from textwrap import wrap
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/pipe_editor.py b/gui/pipe_editor.py
+index 41472da..3266314 100644
+--- a/gui/pipe_editor.py
++++ b/gui/pipe_editor.py
+@@ -23,6 +23,8 @@
+ """The pipe editor GUI element."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.grid
+
+diff --git a/gui/references.py b/gui/references.py
+index e9619ac..38d0e81 100644
+--- a/gui/references.py
++++ b/gui/references.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ import webbrowser
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.html
+
+diff --git a/gui/relax_gui.py b/gui/relax_gui.py
+index b452c01..778ac7c 100644
+--- a/gui/relax_gui.py
++++ b/gui/relax_gui.py
+@@ -31,6 +31,8 @@ import sys
+ from textwrap import wrap
+ from time import sleep
+ import webbrowser
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/relax_prompt.py b/gui/relax_prompt.py
+index bd27cea..f47ab97 100644
+--- a/gui/relax_prompt.py
++++ b/gui/relax_prompt.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ import sys
++import wxversion
++wxversion.select("2.8")
+ import wx
+ import wx.py
+ import wx.stc as stc
+diff --git a/gui/results_viewer.py b/gui/results_viewer.py
+index 7938c74..80e4171 100644
+--- a/gui/results_viewer.py
++++ b/gui/results_viewer.py
+@@ -24,6 +24,8 @@
+ """Module containing the base class for the results frame."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import buttons
+
+diff --git a/gui/spin_viewer/containers.py b/gui/spin_viewer/containers.py
+index 58a6da9..4e104cd 100644
+--- a/gui/spin_viewer/containers.py
++++ b/gui/spin_viewer/containers.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ from re import search
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/spin_viewer/frame.py b/gui/spin_viewer/frame.py
+index c22be26..3538939 100644
+--- a/gui/spin_viewer/frame.py
++++ b/gui/spin_viewer/frame.py
+@@ -23,6 +23,8 @@
+ """The spin viewer frame."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/spin_viewer/splitter.py b/gui/spin_viewer/splitter.py
+index 3366813..f899b30 100644
+--- a/gui/spin_viewer/splitter.py
++++ b/gui/spin_viewer/splitter.py
+@@ -24,6 +24,8 @@
+
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/spin_viewer/tree.py b/gui/spin_viewer/tree.py
+index d8a8323..a719c58 100644
+--- a/gui/spin_viewer/tree.py
++++ b/gui/spin_viewer/tree.py
+@@ -24,6 +24,8 @@
+
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/gui/uf_objects.py b/gui/uf_objects.py
+index 254e1b0..0aec336 100644
+--- a/gui/uf_objects.py
++++ b/gui/uf_objects.py
+@@ -24,6 +24,8 @@
+
+ # Python module imports.
+ from re import search
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import scrolledpanel
+ import sys
+diff --git a/gui/wizards/peak_intensity.py b/gui/wizards/peak_intensity.py
+index a44d13f..ee84247 100644
+--- a/gui/wizards/peak_intensity.py
++++ b/gui/wizards/peak_intensity.py
+@@ -25,6 +25,8 @@
+
+ # Python module imports.
+ from os import sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import scrolledpanel
+
+diff --git a/gui/wizards/wiz_objects.py b/gui/wizards/wiz_objects.py
+index a6e7f8b..16a180a 100644
+--- a/gui/wizards/wiz_objects.py
++++ b/gui/wizards/wiz_objects.py
+@@ -23,6 +23,8 @@
+ """Base class module for the wizard GUI elements."""
+
+ # Python module imports.
++import wxversion
++wxversion.select("2.8")
+ import wx
+ from wx.lib import buttons, scrolledpanel
+
+diff --git a/pipe_control/reset.py b/pipe_control/reset.py
+index d79872d..f778eb5 100644
+--- a/pipe_control/reset.py
++++ b/pipe_control/reset.py
+@@ -24,6 +24,8 @@ import dep_check
+
+ # Python module imports.
+ if dep_check.wx_module:
++ import wxversion
++ wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/__init__.py b/test_suite/gui_tests/__init__.py
+index e79e796..48f4050 100644
+--- a/test_suite/gui_tests/__init__.py
++++ b/test_suite/gui_tests/__init__.py
+@@ -25,6 +25,8 @@
+ # Python module imports.
+ from re import search
+ from unittest import TestSuite
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/base_classes.py b/test_suite/gui_tests/base_classes.py
+index c976bc1..787d8f6 100644
+--- a/test_suite/gui_tests/base_classes.py
++++ b/test_suite/gui_tests/base_classes.py
+@@ -27,6 +27,8 @@ from math import pi # This is needed for relax scripts as pi is located in th
+ from os import sep
+ from tempfile import mktemp, mkdtemp
+ from unittest import TestCase
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/model_free.py b/test_suite/gui_tests/model_free.py
+index acf17e8..f3db394 100644
+--- a/test_suite/gui_tests/model_free.py
++++ b/test_suite/gui_tests/model_free.py
+@@ -21,6 +21,8 @@
+
+ # Python module imports.
+ from os import sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/noe.py b/test_suite/gui_tests/noe.py
+index 54c1e67..defc414 100644
+--- a/test_suite/gui_tests/noe.py
++++ b/test_suite/gui_tests/noe.py
+@@ -21,6 +21,8 @@
+
+ # Python module imports.
+ from os import F_OK, access, sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/rx.py b/test_suite/gui_tests/rx.py
+index c5ce2a3..cc8ac4d 100644
+--- a/test_suite/gui_tests/rx.py
++++ b/test_suite/gui_tests/rx.py
+@@ -21,6 +21,8 @@
+
+ # Python module imports.
+ from os import F_OK, access, sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/gui_tests/state.py b/test_suite/gui_tests/state.py
+index 3d96f43..4342950 100644
+--- a/test_suite/gui_tests/state.py
++++ b/test_suite/gui_tests/state.py
+@@ -21,6 +21,8 @@
+
+ # Python module imports.
+ from os import sep
++import wxversion
++wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/relax_test_runner.py b/test_suite/relax_test_runner.py
+index 7154576..3ed921e 100644
+--- a/test_suite/relax_test_runner.py
++++ b/test_suite/relax_test_runner.py
+@@ -25,6 +25,8 @@ import sys
+ from time import time
+ from unittest import TextTestRunner
+ if dep_check.wx_module:
++ import wxversion
++ wxversion.select("2.8")
+ import wx
+
+ # relax module imports.
+diff --git a/test_suite/test_suite_runner.py b/test_suite/test_suite_runner.py
+index b010e8f..23e8c66 100644
+--- a/test_suite/test_suite_runner.py
++++ b/test_suite/test_suite_runner.py
+@@ -26,6 +26,8 @@ import dep_check
+ import os
+ import sys
+ if dep_check.wx_module:
++ import wxversion
++ wxversion.select("2.8")
+ import wx
+
+ # Formatting.
diff --git a/sci-chemistry/relax/relax-3.0.2.ebuild b/sci-chemistry/relax/relax-3.0.2-r1.ebuild
index eda95f4bc01f..2bf35b9378e9 100644
--- a/sci-chemistry/relax/relax-3.0.2.ebuild
+++ b/sci-chemistry/relax/relax-3.0.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.0.2.ebuild,v 1.1 2013/11/27 07:58:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.0.2-r1.ebuild,v 1.1 2013/11/27 09:47:41 jlec Exp $
EAPI=5
@@ -24,7 +24,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/wxpython[${PYTHON_USEDEP}]
+ dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}]
sci-chemistry/molmol
sci-chemistry/pymol[${PYTHON_USEDEP}]
sci-chemistry/vmd
@@ -42,7 +42,9 @@ pkg_setup() {
src_prepare() {
rm -rf minfx bmrblib || die
- epatch "${FILESDIR}"/${PN}-3.0.1-gentoo.patch
+ epatch \
+ "${FILESDIR}"/${PN}-3.0.1-gentoo.patch \
+ "${FILESDIR}"/${P}-wxpython.patch
tc-export CC
}