summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-09-06 20:22:17 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-09-06 20:22:17 +0000
commitfe52f7f7700557f6083117e4bd395df1f4a6bc3a (patch)
tree630b7be3a7f6e68862541300f99f9f6eba81b781 /dev-python/wxpython/files
parentRemove unused patch. (diff)
downloadgentoo-2-fe52f7f7700557f6083117e4bd395df1f4a6bc3a.tar.gz
gentoo-2-fe52f7f7700557f6083117e4bd395df1f4a6bc3a.tar.bz2
gentoo-2-fe52f7f7700557f6083117e4bd395df1f4a6bc3a.zip
Remove unused patches.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/wxpython/files')
-rwxr-xr-xdev-python/wxpython/files/wxpy-config.py125
-rw-r--r--dev-python/wxpython/files/wxpython-2.8.7-wxversion-scripts.patch130
-rw-r--r--dev-python/wxpython/files/wxpython-2.8.8.1-musthaveapp.patch19
3 files changed, 0 insertions, 274 deletions
diff --git a/dev-python/wxpython/files/wxpy-config.py b/dev-python/wxpython/files/wxpy-config.py
deleted file mode 100755
index 1ea9fda72adb..000000000000
--- a/dev-python/wxpython/files/wxpy-config.py
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/usr/bin/python
-
-# Author: Rob Cakebread - pythonhead \@ gentoo.org
-# Distributed under the terms of the GNU General Public License v2
-
-
-"""
- This utility lists versions of wxPython you have installed.
- It also lets you set the default wxPython version apps will use.
- The naming convention used is:
-
- wx-{WX_GTK_VER}-{ENCODING}
-
- Examples:
-
- wx-2.4-gtk2-ansi
- wx-2.4-gtk2-unicode
- wx-2.6-gtk
-
- It is strongly suggested you use a 2.4* version as the system default
- because most stable wxPython applications are known to work with it.
- Applications that only work with 2.6* can use this code to
- select 2.6*
-
- import wxversion
- wxversion.select("2.6")
- import wx
-
- See this documentation for more info if you're a wxPython developer:
- http://wiki.wxpython.org/index.cgi/MultiVersionInstalls
-
-"""
-
-import os
-import sys
-import optparse
-
-
-PYVER = sys.version[0:3]
-SITE_PKGS = "/usr/lib/python%s/site-packages" % PYVER
-
-ENCODINGS = ["gtk2-ansi", "gtk2-unicode", "gtk-ansi"]
-WX_VERSIONS = ["2.4", "2.6"]
-
-
-def versions_installed():
- """Return list of installed wxPython versions"""
-
- installed = []
- for v in WX_VERSIONS:
- i = 0
- for e in ENCODINGS:
- ver = "wx-%s-%s" % (v, ENCODINGS[i])
- if version_exists(ver):
- installed.append(ver)
- i += 1
- return installed
-
-def get_default():
- """Return version of system default wxPython"""
- wxpath = "%s/wx.pth" % SITE_PKGS
- if not os.path.exists(wxpath):
- return None
- try:
- return open(wxpath, "r").read().strip()
- except:
- return None
-
-
-def print_installed():
- """Print list of wxPython versions installed"""
- default = get_default()
- all = versions_installed()
- print "\nYou have these versions of wxPython installed:\n"
- for v in all:
- if v == default:
- print v, "(System default)"
- else:
- print v
-
-def version_exists(version):
- """Returns True if version of wxPython is installed"""
- if os.path.exists(os.path.join(SITE_PKGS, version)):
- return True
-
-def set_default(version):
- """Sets default wxPython version"""
-
- if os.getuid() != 0:
- print "!!! ERROR - You must be root to change the default wxPython version."
- sys.exit(1)
-
- if version_exists(version):
- try:
- open(os.path.join(SITE_PKGS, "wx.pth"), "w").write(version)
- except:
- print "!!! ERROR - Failed to set %s as default wxPython version" % version
- sys.exit(1)
- else:
- print "!!! ERROR - Version %s is not installed." % version
- sys.exit(1)
-
-
-if __name__ == "__main__":
-
- optParser = optparse.OptionParser()
-
- optParser.add_option( "-s", action="store", dest="version", type="string",
- help="Set default wxPython version")
-
- optParser.add_option( "-l", action="store_true", dest="list",
- help="List all wxPython versions installed.")
-
- (options, remainingArgs) = optParser.parse_args()
-
- if len(sys.argv) == 1:
- optParser.print_help()
- sys.exit(1)
-
- if options.list:
- print_installed()
- sys.exit()
-
- if options.version:
- set_default(options.version)
diff --git a/dev-python/wxpython/files/wxpython-2.8.7-wxversion-scripts.patch b/dev-python/wxpython/files/wxpython-2.8.7-wxversion-scripts.patch
deleted file mode 100644
index dc6c97c1a0ae..000000000000
--- a/dev-python/wxpython/files/wxpython-2.8.7-wxversion-scripts.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/editra wxPython-src-2.8.7.1/wxPython/scripts/editra
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/editra 2007-11-12 21:55:32.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/editra 2007-12-03 16:16:15.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- import sys, os
- import wx.tools
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/genaxmodule wxPython-src-2.8.7.1/wxPython/scripts/genaxmodule
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/genaxmodule 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/genaxmodule 2007-12-03 16:16:26.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- import sys
- from wx.tools.genaxmodule import main
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/helpviewer wxPython-src-2.8.7.1/wxPython/scripts/helpviewer
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/helpviewer 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/helpviewer 2007-12-03 16:16:35.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.tools.helpviewer import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/img2png wxPython-src-2.8.7.1/wxPython/scripts/img2png
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/img2png 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/img2png 2007-12-03 16:16:42.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.tools.img2png import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/img2py wxPython-src-2.8.7.1/wxPython/scripts/img2py
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/img2py 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/img2py 2007-12-03 16:16:52.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- import sys
- from wx.tools.img2py import main
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/img2xpm wxPython-src-2.8.7.1/wxPython/scripts/img2xpm
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/img2xpm 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/img2xpm 2007-12-03 16:16:59.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.tools.img2xpm import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pyalacarte wxPython-src-2.8.7.1/wxPython/scripts/pyalacarte
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pyalacarte 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pyalacarte 2007-12-03 16:17:07.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.py.PyAlaCarte import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pyalamode wxPython-src-2.8.7.1/wxPython/scripts/pyalamode
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pyalamode 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pyalamode 2007-12-03 16:17:16.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.py.PyAlaMode import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pycrust wxPython-src-2.8.7.1/wxPython/scripts/pycrust
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pycrust 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pycrust 2007-12-03 16:17:28.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.py.PyCrust import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pyshell wxPython-src-2.8.7.1/wxPython/scripts/pyshell
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pyshell 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pyshell 2007-12-03 16:17:46.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.py.PyShell import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pywrap wxPython-src-2.8.7.1/wxPython/scripts/pywrap
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pywrap 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pywrap 2007-12-03 16:17:56.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.py.PyWrap import main
- main()
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/pywxrc wxPython-src-2.8.7.1/wxPython/scripts/pywxrc
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/pywxrc 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/pywxrc 2007-12-03 16:18:02.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
- import sys
- from wx.tools.pywxrc import main
- main(sys.argv[1:])
-diff -Naur wxPython-src-2.8.7.1-orig/wxPython/scripts/xrced wxPython-src-2.8.7.1/wxPython/scripts/xrced
---- wxPython-src-2.8.7.1-orig/wxPython/scripts/xrced 2007-07-18 16:33:55.000000000 -0600
-+++ wxPython-src-2.8.7.1/wxPython/scripts/xrced 2007-12-03 16:19:51.000000000 -0600
-@@ -1,4 +1,6 @@
- #!/usr/bin/env python
-+import wxversion
-+wxversion.select("2.8")
-
- from wx.tools.XRCed.xrced import main
- main()
diff --git a/dev-python/wxpython/files/wxpython-2.8.8.1-musthaveapp.patch b/dev-python/wxpython/files/wxpython-2.8.8.1-musthaveapp.patch
deleted file mode 100644
index d3ae2e90d48b..000000000000
--- a/dev-python/wxpython/files/wxpython-2.8.8.1-musthaveapp.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naurp wxPython-src-2.8.8.1-orig/wxPython/src/_config.i wxPython-src-2.8.8.1/wxPython/src/_config.i
---- wxPython-src-2.8.8.1-orig/wxPython/src/_config.i 2008-07-24 16:02:07.000000000 -0600
-+++ wxPython-src-2.8.8.1/wxPython/src/_config.i 2008-07-24 16:02:53.000000000 -0600
-@@ -391,7 +391,6 @@ time)", "");
-
- //---------------------------------------------------------------------------
-
--MustHaveApp(wxConfig);
-
- DocStr(wxConfig,
- "This ConfigBase-derived class will use the registry on Windows,
-@@ -413,7 +412,6 @@ public:
-
-
-
--MustHaveApp(wxFileConfig);
-
- DocStr(wxFileConfig,
- "This config class will use a file for storage on all platforms.", "");