diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-07-08 18:10:57 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-07-08 18:10:57 +0000 |
commit | 8ab90046fa0f9c094b199b00449f5ba183f39657 (patch) | |
tree | 2cf510b74fcd63de4cd0ca8b7666051923c35f04 /dev-util/ninja-ide | |
parent | Version bump. (diff) | |
download | gentoo-2-8ab90046fa0f9c094b199b00449f5ba183f39657.tar.gz gentoo-2-8ab90046fa0f9c094b199b00449f5ba183f39657.tar.bz2 gentoo-2-8ab90046fa0f9c094b199b00449f5ba183f39657.zip |
version bump wrt #476176
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-util/ninja-ide')
-rw-r--r-- | dev-util/ninja-ide/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch | 27 | ||||
-rw-r--r-- | dev-util/ninja-ide/files/ninja-ide-2.3-syntax.patch | 9 | ||||
-rw-r--r-- | dev-util/ninja-ide/ninja-ide-2.3.ebuild | 50 |
4 files changed, 93 insertions, 1 deletions
diff --git a/dev-util/ninja-ide/ChangeLog b/dev-util/ninja-ide/ChangeLog index b1b675ef0179..6ba4c8a0520b 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.18 2013/07/04 09:13:22 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ChangeLog,v 1.19 2013/07/08 18:10:57 hasufell Exp $ + +*ninja-ide-2.3 (08 Jul 2013) + + 08 Jul 2013; Julian Ospald <hasufell@gentoo.org> +ninja-ide-2.3.ebuild, + +files/ninja-ide-2.3-python2_6.patch, +files/ninja-ide-2.3-syntax.patch: + version bump wrt #476176 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> ninja-ide-2.2.ebuild: Stable for x86, wrt bug #467132 diff --git a/dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch b/dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch new file mode 100644 index 000000000000..c01465dd9140 --- /dev/null +++ b/dev-util/ninja-ide/files/ninja-ide-2.3-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.3-syntax.patch b/dev-util/ninja-ide/files/ninja-ide-2.3-syntax.patch new file mode 100644 index 000000000000..0430b6448983 --- /dev/null +++ b/dev-util/ninja-ide/files/ninja-ide-2.3-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.3.ebuild b/dev-util/ninja-ide/ninja-ide-2.3.ebuild new file mode 100644 index 000000000000..3db2e33b2b6a --- /dev/null +++ b/dev-util/ninja-ide/ninja-ide-2.3.ebuild @@ -0,0 +1,50 @@ +# 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.3.ebuild,v 1.1 2013/07/08 18:10:57 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[X,declarative,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 +} |