summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-04-24 22:02:20 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-04-24 22:02:20 +0000
commit5882bd3d462aea165136c8fe0e38229ac2d82587 (patch)
tree3c891b0cf25b4a4e62b258526e59c2f01febbb4f /dev-util/ninja-ide
parentversion bump wrt #466728 (diff)
downloadgentoo-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')
-rw-r--r--dev-util/ninja-ide/ChangeLog8
-rw-r--r--dev-util/ninja-ide/files/ninja-ide-2.2-python2_6.patch27
-rw-r--r--dev-util/ninja-ide/files/ninja-ide-2.2-syntax.patch9
-rw-r--r--dev-util/ninja-ide/ninja-ide-2.2.ebuild47
4 files changed, 90 insertions, 1 deletions
diff --git a/dev-util/ninja-ide/ChangeLog b/dev-util/ninja-ide/ChangeLog
index 1c023527074c..63be090e926c 100644
--- a/dev-util/ninja-ide/ChangeLog
+++ b/dev-util/ninja-ide/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/ninja-ide
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ChangeLog,v 1.12 2013/03/17 17:52:54 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ChangeLog,v 1.13 2013/04/24 22:02:20 hasufell Exp $
+
+*ninja-ide-2.2 (24 Apr 2013)
+
+ 24 Apr 2013; Julian Ospald <hasufell@gentoo.org> +ninja-ide-2.2.ebuild,
+ +files/ninja-ide-2.2-python2_6.patch, +files/ninja-ide-2.2-syntax.patch:
+ version bump
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy-maintainers to metadata.xml
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')
diff --git a/dev-util/ninja-ide/ninja-ide-2.2.ebuild b/dev-util/ninja-ide/ninja-ide-2.2.ebuild
new file mode 100644
index 000000000000..8061164d9b2d
--- /dev/null
+++ b/dev-util/ninja-ide/ninja-ide-2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ninja-ide-2.2.ebuild,v 1.1 2013/04/24 22:02:20 hasufell Exp $
+
+# XXX: tests
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_6 python2_7 python3_1 python3_2 python3_3 )
+
+inherit eutils gnome2-utils distutils-r1 vcs-snapshot
+
+DESCRIPTION="Ninja-IDE Is Not Just Another IDE"
+HOMEPAGE="http://www.ninja-ide.org"
+SRC_URI="https://github.com/ninja-ide/ninja-ide/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-python/PyQt4[webkit,${PYTHON_USEDEP}]
+ dev-python/pyinotify[${PYTHON_USEDEP}]
+ virtual/python-argparse[${PYTHON_USEDEP}]
+ virtual/python-json[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-syntax.patch "${FILESDIR}"/${P}-python2_6.patch )
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newicon -s 256 icon.png ${PN}.png
+ make_desktop_entry ${PN} "NINJA-IDE"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}