diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-04-24 22:02:20 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-04-24 22:02:20 +0000 |
commit | 5882bd3d462aea165136c8fe0e38229ac2d82587 (patch) | |
tree | 3c891b0cf25b4a4e62b258526e59c2f01febbb4f /dev-util/ninja-ide/files | |
parent | version bump wrt #466728 (diff) | |
download | gentoo-2-5882bd3d462aea165136c8fe0e38229ac2d82587.tar.gz gentoo-2-5882bd3d462aea165136c8fe0e38229ac2d82587.tar.bz2 gentoo-2-5882bd3d462aea165136c8fe0e38229ac2d82587.zip |
version bump
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-util/ninja-ide/files')
-rw-r--r-- | dev-util/ninja-ide/files/ninja-ide-2.2-python2_6.patch | 27 | ||||
-rw-r--r-- | dev-util/ninja-ide/files/ninja-ide-2.2-syntax.patch | 9 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/ninja-ide/files/ninja-ide-2.2-python2_6.patch b/dev-util/ninja-ide/files/ninja-ide-2.2-python2_6.patch new file mode 100644 index 000000000000..c01465dd9140 --- /dev/null +++ b/dev-util/ninja-ide/files/ninja-ide-2.2-python2_6.patch @@ -0,0 +1,27 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Apr 24 21:05:44 UTC 2013 +Subject: fix compatibility with python:2.6 + +--- ninja_ide/core/file_manager.py ++++ ninja_ide/core/file_manager.py +@@ -26,7 +26,7 @@ + + from ninja_ide.core import settings + +-if sys.version_info.major == 3: ++if sys.version_info[0] == 3: + python3 = True + else: + python3 = False + +--- ninja_ide/gui/editor/editor.py ++++ ninja_ide/gui/editor/editor.py +@@ -68,7 +68,7 @@ + logger = NinjaLogger('ninja_ide.gui.editor.editor') + + +-if sys.version_info.major == 3: ++if sys.version_info[0] == 3: + python3 = True + else: + python3 = False diff --git a/dev-util/ninja-ide/files/ninja-ide-2.2-syntax.patch b/dev-util/ninja-ide/files/ninja-ide-2.2-syntax.patch new file mode 100644 index 000000000000..0430b6448983 --- /dev/null +++ b/dev-util/ninja-ide/files/ninja-ide-2.2-syntax.patch @@ -0,0 +1,9 @@ +--- ninja_tests/core/examples/file_for_tests.py ++++ ninja_tests/core/examples/file_for_tests.py +@@ -1,4 +1,4 @@ + # -*- coding: utf-8 -*- + +-print 'testing' +-print 'ñandú testing' ++print('testing') ++print('ñandú testing') |