All ROX applications have py files. When first run, python will attempt to byte compile them. However, since users don't have w permission in the ROX, they do not compile and are interpreted. While this does not seem to affect functionality, ROX ebuilds should provide users with byte compiled files at install time. The attached patch includes patches from bug #106253 and includes the python code from the python.eclass to create the pyc and pyo files. I mark this as a major bug since without these changes, ROX does not fully compile its packages.
Created attachment 68927 [details, diff] rox.eclass cumulative patch
*** Bug 106253 has been marked as a duplicate of this bug. ***
Just a note on the duplicate marking for bug #106253. That bug noted a different problem of the eclass NOT handling the chmod a+x for AppRun or AppletRun files in subdirectories under the main Application dir. That patch (included here) uses the find command to recurse through all subdirs. This occured with the Oroborox (see bug #106247) and MusicBox (see bug #100426)applications for example. These apps will fail if the AppRun files in subdirs are not changed as per this eclass patch.
Created attachment 68948 [details] rox.eclass file Full rox.eclass file with patch applied. Required for new rox ebuilds.
Created attachment 69059 [details, diff] rox.eclass.cumulative.patch Made some additional changes and cleanups (corrected spelling, changed chmod code to be consistent (i.e. 0755 -> a+x, 755 -> a+x). Added >/dev/null 2>&1 to python byte compile code to shush errors.
Created attachment 69060 [details] rox.eclass Updated rox.eclass file
in cvs. thak you for great job and valuable updates. P.S. I reverted back a+x -> 755 though ;)