[GRASS-SVN] r71527 - grass-addons/tools/addons

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 3 09:07:41 PDT 2017


Author: martinl
Date: 2017-10-03 09:07:41 -0700 (Tue, 03 Oct 2017)
New Revision: 71527

Modified:
   grass-addons/tools/addons/build-xml.py
   grass-addons/tools/addons/compile.sh
   grass-addons/tools/addons/crontab.build
   grass-addons/tools/addons/grass-addons-build.sh
   grass-addons/tools/addons/grass-addons.sh
Log:
addons build scripts: grass-addons renamed to grass_addons (see source code download page on Trac)

Modified: grass-addons/tools/addons/build-xml.py
===================================================================
--- grass-addons/tools/addons/build-xml.py	2017-10-02 22:41:40 UTC (rev 71526)
+++ grass-addons/tools/addons/build-xml.py	2017-10-03 16:07:41 UTC (rev 71527)
@@ -47,7 +47,7 @@
  
 def parse_modules(fd, mlist):
     indent = 4
-    blacklist = ['v.feature.algebra']
+    blacklist = ['v.feature.algebra', 'm.eigensystem']
     for m in mlist:
         if m in blacklist:
             continue # skip blacklisted modules

Modified: grass-addons/tools/addons/compile.sh
===================================================================
--- grass-addons/tools/addons/compile.sh	2017-10-02 22:41:40 UTC (rev 71526)
+++ grass-addons/tools/addons/compile.sh	2017-10-03 16:07:41 UTC (rev 71527)
@@ -96,7 +96,7 @@
 	make MODULE_TOPDIR="$TOPDIR" \
 	    BIN="$path/bin" \
 	    HTMLDIR="$path/docs/html" \
-	    MANDIR="$path/docs/man/man1" \
+	    MANBASEDIR="$path/docs/man/man1" \
 	    SCRIPTDIR="$path/scripts" \
 	    ETC="$path/etc" \
             SOURCE_URL="https://trac.osgeo.org/grass/browser/grass-addons/grass${GRASS_VERSION}/" > \

Modified: grass-addons/tools/addons/crontab.build
===================================================================
--- grass-addons/tools/addons/crontab.build	2017-10-02 22:41:40 UTC (rev 71526)
+++ grass-addons/tools/addons/crontab.build	2017-10-03 16:07:41 UTC (rev 71527)
@@ -2,6 +2,10 @@
 
 # add jobs here and then run:
 # crontab $HOME/src/grass-addons/tools/addons/crontab.build && crontab -l
+#
+# install dependencies
+# apt install grass-dev make bc
+# apt install python-gdal python-owslib python-psycopg2 python-matplotlib python-scipy
 
 ADDONS=${HOME}/src/grass-addons/tools/addons
 

Modified: grass-addons/tools/addons/grass-addons-build.sh
===================================================================
--- grass-addons/tools/addons/grass-addons-build.sh	2017-10-02 22:41:40 UTC (rev 71526)
+++ grass-addons/tools/addons/grass-addons-build.sh	2017-10-03 16:07:41 UTC (rev 71527)
@@ -12,13 +12,13 @@
 DIST=dist.x86_64-pc-linux-gnu
 SRC=${HOME}/src/
 
-run=`ps aux | grep "${HOME}/cronjobs/grass-addons.sh c" | wc -l`
+run=`ps aux | grep "grass-addons.sh c" | wc -l`
 if [ "$run" == "2" ]; then
     echo "stopped"
     exit 0
 fi
 
-${SRC}/grass-addons/tools/addons/grass-addons.sh "$1"
+${SRC}/grass_addons/tools/addons/grass-addons.sh "$1"
 
 if [ $? != 0 ] ; then
     exit 0
@@ -30,7 +30,7 @@
     for dir in `find . -maxdepth 1 -type d`; do
         if [ -d $dir/docs/html ] ; then
             for f in `pwd`/$dir/docs/html/*.html ; do 
-                ${SRC}grass-addons/tools/addons/update_manual.py $f http://grass.osgeo.org/grass${1}${2}/manuals `pwd`
+                ${SRC}/grass_addons/tools/addons/update_manual.py $f http://grass.osgeo.org/grass${1}${2}/manuals `pwd`
             done
             cp -r $dir/docs/html/* $HTMLDIR/ 2>/dev/null
         fi

Modified: grass-addons/tools/addons/grass-addons.sh
===================================================================
--- grass-addons/tools/addons/grass-addons.sh	2017-10-02 22:41:40 UTC (rev 71526)
+++ grass-addons/tools/addons/grass-addons.sh	2017-10-03 16:07:41 UTC (rev 71527)
@@ -75,7 +75,7 @@
     recompile_grass
 fi
 
-cd $DIR/grass-addons/ 
+cd $DIR/grass_addons/ 
 
 # update
 svn up -q || (svn cleanup && svn up)



More information about the grass-commit mailing list