Created attachment 325496 [details] ninja-ide-9999.ebuild from fm-overlay The dev-util/ninja-ide ebuild (from the fm-overlay overlay) successfully builds, but fails upon program execution with the following error: ---- Traceback (most recent call last): File "/usr/bin/ninja-ide", line 9, in <module> load_entry_point('NINJA-IDE==2.1.1', 'gui_scripts', 'ninja-ide')() File "/usr/lib64/python2.7/site-packages/ninja_ide/__init__.py", line 51, in setup_and_run from ninja_ide import core File "/usr/lib64/python2.7/site-packages/ninja_ide/core/__init__.py", line 29, in <module> from ninja_ide.core.core import run_ninja File "/usr/lib64/python2.7/site-packages/ninja_ide/core/core.py", line 23, in <module> from ninja_ide import resources File "/usr/lib64/python2.7/site-packages/ninja_ide/resources.py", line 42, in <module> HOME_NINJA_PATH = os.path.join(HOME_PATH, ".ninja_ide") File "/usr/lib64/python2.7/posixpath.py", line 68, in join elif path == '' or path.endswith('/'): AttributeError: 'QString' object has no attribute 'endswith' ---- Ninja-ide should be using the API2 of PyQT4, in which QString should not exist, as is my understanding. Python: 2.7.3 PyQT4: 4.9.4
Created attachment 326024 [details] ninja-ide-2.1.1.ebuild
Created attachment 326026 [details] ninja-ide.desktop
I verified that the problem is upstream. They also decided to port the program to python 3, which means a working version for the ninja-ide-9999.ebuild may take some time. I have attached an ebuild for 2.1.1, which should work correctly. There was no PyQT4 API stuff in the 2.1.1 build. I also included the ninja-ide.desktop file (which should be placed in the subfolder "files") that is mostly from the original author, with a few minor changes. The 2.1.1 ebuild is also based on the original author's ebuild, with some changes. I don't suppose there is any chance this could be added to the main portage tree?
Created attachment 326040 [details] ninja-ide-2.1.1.ebuild Attatched is a revised version of the ninja-ide-2.1.1.ebuild with lots of help from #gentoo-sunrise and #gentoo-dev-help.
+*ninja-ide-2.1.1 (09 Oct 2012) + + 09 Oct 2012; Julian Ospald <hasufell@gentoo.org> +ninja-ide-2.1.1.ebuild, + +files/ninja-ide-2.1.1-lang.patch, +metadata.xml: + initial import with Aaron Burnett wrt #436834