[SCM] grass branch, master, updated. upstream/6.4.1-94-g1b4bb00

M. Hamish Bowman hamish_b at yahoo.com
Wed Feb 29 19:38:30 UTC 2012


The following commit has been merged in the master branch:
commit 1b4bb00a3c002866bb610f95a486baa6adc1721a
Author: M. Hamish Bowman <hamish_b at 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 at 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 at 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



More information about the Pkg-grass-devel mailing list