The following commit has been merged in the master branch: commit 1b4bb00a3c002866bb610f95a486baa6adc1721a Author: M. Hamish Bowman <hamis...@yahoo.com> Date: Thu Mar 1 08:38:21 2012 +1300
prototype code for python-bytecode.prerm scripts (copied method from debian/rules) diff --git a/debian/TODO b/debian/TODO index 4e534e6..2e4106d 100644 --- a/debian/TODO +++ b/debian/TODO @@ -17,6 +17,34 @@ E: grass-core: package-installs-python-bytecode usr/lib/grass64/etc/.../*.pyc dh_python2 +grass-core.prerm[.in]: (adapted from debian/rules) +--------------------- +# delete python compiled bytecode files +for DIR in python/grass \ + python/grass/lib \ + python/grass/script \ + do + rm -f /usr/lib/grass@VERSION@/etc/$DIR/*.pyc +done + + +grass-gui.prerm[.in]: (adapted from debian/rules) +-------------------- +# delete python compiled bytecode files +for DIR in wxpython \ + wxpython/compat \ + wxpython/gui_modules \ + wxpython/icons ; \ + do + rm -f /usr/lib/grass@VERSION@/etc/$DIR/*.pyc +done + + +... but how to do *.postinst with update-python-modules or dh_python2? + + + + * put Tcl/Tk NVIZ back into grass-core so that qgis users can use it? (that seems to be a popular use of the qgis-grass toolbox) -- Geographic Resources Analysis Support System _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel