* [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.1.13-qt_requirements.patch spyder-2.1.2-disable_sphinx_dependency.patch
@ 2013-03-19 6:41 Andrey Grozin (grozin)
0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2013-03-19 6:41 UTC (permalink / raw
To: gentoo-commits
grozin 13/03/19 06:41:01
Added: spyder-2.1.13-qt_requirements.patch
Removed: spyder-2.1.2-disable_sphinx_dependency.patch
Log:
Qt version detection fixed, closing #461658; thanks to Reinis Danne <rei4dan@gmail.com> for the patch.
(Portage version: 2.2.0_alpha166/cvs/Linux i686, signed Manifest commit with key 00C6DAB1!)
Revision Changes Path
1.1 dev-python/spyder/files/spyder-2.1.13-qt_requirements.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.1.13-qt_requirements.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/spyder/files/spyder-2.1.13-qt_requirements.patch?rev=1.1&content-type=text/plain
Index: spyder-2.1.13-qt_requirements.patch
===================================================================
--- spyderlib/requirements.py 2013-03-13 18:55:51.363304516 +0200
+++ spyderlib/requirements.py 2013-03-13 18:58:07.200608283 +0200
@@ -14,6 +14,8 @@
"""Return True if actual_str version fit required_str requirement"""
actual = actual_str.split('.')
required = required_str.split('.')
+ actual = [int(i) for i in actual]
+ required = [int(i.strip('+')) for i in required]
return actual[0] < required[0] or \
(actual[0] == required[0] and actual[1] < required[1])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-19 6:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 6:41 [gentoo-commits] gentoo-x86 commit in dev-python/spyder/files: spyder-2.1.13-qt_requirements.patch spyder-2.1.2-disable_sphinx_dependency.patch Andrey Grozin (grozin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox