hasufell    14/03/12 18:27:33

  Added:                freevo-1.9.0-distutils-r1.patch
  Log:
  fix program start when eselect points to python3
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.1                  media-tv/freevo/files/freevo-1.9.0-distutils-r1.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/freevo/files/freevo-1.9.0-distutils-r1.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/freevo/files/freevo-1.9.0-distutils-r1.patch?rev=1.1&content-type=text/plain

Index: freevo-1.9.0-distutils-r1.patch
===================================================================
--- a/freevo-1.9.0/freevo
+++ b/freevo-1.9.0/freevo
@@ -178,15 +178,8 @@
     get the newest version of python [ with freevo installed ]
     """
     _debug_('version=%r' % (sys.version))
-    if sys.hexversion >= 0x02040000:
-        # python seems to be ok
-        search = ('python', 'python2')
-    elif sys.hexversion >= 0x02030000:
-        # try python2.4, else take python
-        search = ('python2.4', 'python')
-    else:
-        # python is too old, try to find python2.4 or python2
-        search = ('python2.4', 'python2')
+
+    search = ('@EPYTHON@', 'python')
 
     for python in search:
         for path in os.environ['PATH'].split(':'):




Reply via email to