public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/python-dsv/files: python-dsv-1.4.0-wxversion.patch digest-python-dsv-1.4.0-r1 digest-python-dsv-1.4.0
@ 2007-12-04  8:34 Ali Polatel (hawking)
  0 siblings, 0 replies; only message in thread
From: Ali Polatel (hawking) @ 2007-12-04  8:34 UTC (permalink / raw
  To: gentoo-commits

hawking     07/12/04 08:34:04

  Added:                python-dsv-1.4.0-wxversion.patch
                        digest-python-dsv-1.4.0-r1
  Removed:              digest-python-dsv-1.4.0
  Log:
  Revbump. Added patch to prevent running against other SLOTs of wxpython, #201165. Drop old.
  (Portage version: 2.1.4_rc4)

Revision  Changes    Path
1.1                  dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch?rev=1.1&content-type=text/plain

Index: python-dsv-1.4.0-wxversion.patch
===================================================================
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



1.1                  dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1?rev=1.1&content-type=text/plain

Index: digest-python-dsv-1.4.0-r1
===================================================================
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



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-04  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04  8:34 [gentoo-commits] gentoo-x86 commit in dev-python/python-dsv/files: python-dsv-1.4.0-wxversion.patch digest-python-dsv-1.4.0-r1 digest-python-dsv-1.4.0 Ali Polatel (hawking)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox