Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68927 Details for
Bug 106774
rox.eclass fails to byte compile all python modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rox.eclass cumulative patch
rox.eclass.cum.patch (text/plain), 1.13 KB, created by
Peter Hyman
on 2005-09-21 03:58:16 UTC
(
hide
)
Description:
rox.eclass cumulative patch
Filename:
MIME Type:
Creator:
Peter Hyman
Created:
2005-09-21 03:58:16 UTC
Size:
1.13 KB
patch
obsolete
>--- rox.eclass.orig 2005-09-21 06:44:57.000000000 -0400 >+++ rox.eclass 2005-09-21 06:42:42.000000000 -0400 >@@ -16,6 +16,9 @@ > > # For examples refer to ebuilds in rox-extra/ > >+# need python to byte compile modules, if any >+ >+inherit python > > if [ -z "$ROX_VER" ]; then > ROX_VER="2.1.0" >@@ -54,8 +57,9 @@ > insinto /usr/lib/rox > doins -r ${APPNAME} > #set correct permisions on files, in case they are wrong >- chmod 755 ${D}/usr/lib/rox/${APPNAME}/AppRun >- chmod 755 ${D}/usr/lib/rox/${APPNAME}/AppletRun >+ #include all subdirectories in search, just in case >+ find ${D}/usr/lib/rox/${APPNAME} -name 'AppRun' | xargs chmod 0755 >/dev/null 2>&1 >+ find ${D}/usr/lib/rox/${APPNAME} -name 'AppletRun' | xargs chmod 0755 >/dev/null 2>&1 > > # set permisions for programms where we have libdir script > if [ -f ${D}/usr/lib/rox/${APPNAME}/libdir ]; then >@@ -87,6 +91,10 @@ > echo "#!/bin/sh" > "${D}/usr/bin/${APPNAME}" > echo "exec /usr/lib/rox/${APPNAME}/AppRun \"\$@\"" >> "${D}/usr/bin/${APPNAME}" > chmod a+x ${D}/usr/bin/${APPNAME} >+ >+ #now compile any and all python files >+ python_mod_optimize $D/usr/lib/rox/${APPNAME} >+ > } > > rox_pkg_postinst() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106774
:
68927
|
68948
|
69059
|
69060