r47167 - in /packages/R/r-cran-spdep/trunk/debian: README.test changelog control copyright docs examples patches/ patches/series patches/use_libjs_mathjax.patch tests/ tests/control tests/run-unit-test

tille at users.alioth.debian.org tille at users.alioth.debian.org
Tue Nov 10 13:33:13 UTC 2015


Author: tille
Date: Tue Nov 10 13:33:13 2015
New Revision: 47167

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47167
Log:
Upgrade packaging and add autopkgtest

Added:
    packages/R/r-cran-spdep/trunk/debian/README.test
    packages/R/r-cran-spdep/trunk/debian/docs
    packages/R/r-cran-spdep/trunk/debian/examples
    packages/R/r-cran-spdep/trunk/debian/patches/
    packages/R/r-cran-spdep/trunk/debian/patches/series
    packages/R/r-cran-spdep/trunk/debian/patches/use_libjs_mathjax.patch
    packages/R/r-cran-spdep/trunk/debian/tests/
    packages/R/r-cran-spdep/trunk/debian/tests/control
    packages/R/r-cran-spdep/trunk/debian/tests/run-unit-test
Modified:
    packages/R/r-cran-spdep/trunk/debian/changelog
    packages/R/r-cran-spdep/trunk/debian/control
    packages/R/r-cran-spdep/trunk/debian/copyright

Added: packages/R/r-cran-spdep/trunk/debian/README.test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/README.test?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/README.test	(added)
+++ packages/R/r-cran-spdep/trunk/debian/README.test	Tue Nov 10 13:33:13 2015
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you can do
+
+   sh  run-unit-test
+
+in this directory.

Modified: packages/R/r-cran-spdep/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/changelog?rev=47167&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/changelog	(original)
+++ packages/R/r-cran-spdep/trunk/debian/changelog	Tue Nov 10 13:33:13 2015
@@ -1,5 +1,5 @@
-r-cran-spdep (0.5-74-1) unstable; urgency=low
+r-cran-spdep (0.5-88-1) unstable; urgency=low
 
   * Initial release (Closes: #752876).
 
- -- Andreas Tille <tille at debian.org>  Mon, 23 Jun 2014 09:24:05 +0200
+ -- Andreas Tille <tille at debian.org>  Tue, 10 Nov 2015 14:04:08 +0100

Modified: packages/R/r-cran-spdep/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/control?rev=47167&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/control	(original)
+++ packages/R/r-cran-spdep/trunk/debian/control	Tue Nov 10 13:33:13 2015
@@ -1,8 +1,8 @@
 Source: r-cran-spdep
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
-Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 9.0),
                cdbs,
                r-base-dev,
@@ -14,7 +14,7 @@
                r-cran-nlme,
                r-cran-mass,
                r-cran-learnbayes
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/r-cran-spdep/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/r-cran-spdep/trunk/
 Homepage: http://cran.r-project.org/web/packages/spdep/

Modified: packages/R/r-cran-spdep/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/copyright?rev=47167&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/copyright	(original)
+++ packages/R/r-cran-spdep/trunk/debian/copyright	Tue Nov 10 13:33:13 2015
@@ -39,8 +39,7 @@
            2001-2003 Roger Bivand
 License: GPL-2+
 
-Files: src/dfs_comp.c
-       src/gabriel.c
+Files: src/gabriel.c
        src/relative.c
        R/components.R
        R/gabrielneigh.R
@@ -53,14 +52,6 @@
        man/nboperations.Rd
 Copyright: 2001 Nicholas Lewin-Koh
 License: GPL-2+
-
-Files: src/soigraph.c
-Copyright: 2001 Nicholas Lewin-Koh
-License: GPL-2+
-Remark: The subroutines TwoCirclesxx and SubVec are adapted for R and Double
- precision coordinates by Nicholas Lewin-Koh, from Computational Geometry in
- C, Joseph O.Rourke, Cambridge University Press (1998). Copyright for those
- subroutines remains his.
 
 Files: R/lag.spsarlm.R
 Copyright: 1998-2002 Roger Bivand and Andrew Bernat
@@ -94,7 +85,7 @@
 Copyright: 2005 Yongwan Chun, Michael Tiefelsdorf and Roger Bivand
 License: GPL-2+
 
-Files: src/soigraph.c
+Files: R/bptest.sarlm.R
 Copyright: 1998 Joseph O'Rourke <orourke at cs.smith.edu>
 License: freelyredistributable
  This code may be freely redistributed in its entirety provided that this

Added: packages/R/r-cran-spdep/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/docs?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/docs	(added)
+++ packages/R/r-cran-spdep/trunk/debian/docs	Tue Nov 10 13:33:13 2015
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test

Added: packages/R/r-cran-spdep/trunk/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/examples?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/examples	(added)
+++ packages/R/r-cran-spdep/trunk/debian/examples	Tue Nov 10 13:33:13 2015
@@ -0,0 +1 @@
+vignettes

Added: packages/R/r-cran-spdep/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/patches/series?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/patches/series	(added)
+++ packages/R/r-cran-spdep/trunk/debian/patches/series	Tue Nov 10 13:33:13 2015
@@ -0,0 +1 @@
+use_libjs_mathjax.patch

Added: packages/R/r-cran-spdep/trunk/debian/patches/use_libjs_mathjax.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/patches/use_libjs_mathjax.patch?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/patches/use_libjs_mathjax.patch	(added)
+++ packages/R/r-cran-spdep/trunk/debian/patches/use_libjs_mathjax.patch	Tue Nov 10 13:33:13 2015
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 10 Nov 2015 14:04:08 +0100
+Description: Avoid privacy breach by using local MathJax
+
+--- a/inst/doc/nb_igraph.html
++++ b/inst/doc/nb_igraph.html
+@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
+ </script>
+ 
+ <!-- MathJax scripts -->
+-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
++<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+ </script>
+ 
+ 

Added: packages/R/r-cran-spdep/trunk/debian/tests/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/tests/control?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/tests/control	(added)
+++ packages/R/r-cran-spdep/trunk/debian/tests/control	Tue Nov 10 13:33:13 2015
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr

Added: packages/R/r-cran-spdep/trunk/debian/tests/run-unit-test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/tests/run-unit-test?rev=47167&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/tests/run-unit-test	(added)
+++ packages/R/r-cran-spdep/trunk/debian/tests/run-unit-test	Tue Nov 10 13:33:13 2015
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+oname=LearnBayes
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
+gunzip *.gz
+for rnw in `ls *.[rR]nw` ; do
+rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'`
+R --no-save <<EOT
+  Stangle("$rnw")
+  source("$rfile", echo=TRUE)
+EOT
+done
+rm -rf *




More information about the debian-science-commits mailing list