From 3401feadff09ee889134c839bb3aa1ad51069e51 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Tue, 4 Dec 2007 08:34:03 +0000 Subject: Revbump. Added patch to prevent running against other SLOTs of wxpython, #201165. Drop old. (Portage version: 2.1.4_rc4) --- dev-python/python-dsv/files/digest-python-dsv-1.4.0 | 3 --- dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 | 3 +++ .../python-dsv/files/python-dsv-1.4.0-wxversion.patch | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) delete mode 100644 dev-python/python-dsv/files/digest-python-dsv-1.4.0 create mode 100644 dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 create mode 100644 dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch (limited to 'dev-python/python-dsv/files') diff --git a/dev-python/python-dsv/files/digest-python-dsv-1.4.0 b/dev-python/python-dsv/files/digest-python-dsv-1.4.0 deleted file mode 100644 index 7a5d01a66971..000000000000 --- a/dev-python/python-dsv/files/digest-python-dsv-1.4.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f811d5bb3173c22a093e6ef24fa7047e DSV-1.4.0.tar.gz 14926 -RMD160 98a95b4311498c8660e3780787152b3da16522d6 DSV-1.4.0.tar.gz 14926 -SHA256 cd7f0bfc457670cc30720649d164257d9513f18a84d5bd2775e5837d4453dc9f DSV-1.4.0.tar.gz 14926 diff --git a/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 b/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 new file mode 100644 index 000000000000..7a5d01a66971 --- /dev/null +++ b/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 @@ -0,0 +1,3 @@ +MD5 f811d5bb3173c22a093e6ef24fa7047e DSV-1.4.0.tar.gz 14926 +RMD160 98a95b4311498c8660e3780787152b3da16522d6 DSV-1.4.0.tar.gz 14926 +SHA256 cd7f0bfc457670cc30720649d164257d9513f18a84d5bd2775e5837d4453dc9f DSV-1.4.0.tar.gz 14926 diff --git a/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch b/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch new file mode 100644 index 000000000000..249cf73b474e --- /dev/null +++ b/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch @@ -0,0 +1,17 @@ +diff -Naur DSV-1.4.0-orig/DSV/DSV.py DSV-1.4.0/DSV/DSV.py +--- DSV-1.4.0-orig/DSV/DSV.py 2003-01-22 16:50:40.000000000 -0600 ++++ DSV-1.4.0/DSV/DSV.py 2007-12-03 19:30:54.000000000 -0600 +@@ -124,6 +124,13 @@ + os.putenv('LANG', 'C') + + try: ++ import wxversion ++ wxversion.select("2.6") ++except Exception, e: ++ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e ++ sys.exit(1) ++ ++try: + from wxPython import wx, grid + except ImportError: + wx = None -- cgit v1.2.3-65-gdbad