[med-svn] r22363 - in trunk/packages/R/r-cran-googlevis/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Mon Jul 4 21:25:57 UTC 2016


Author: tille
Date: 2016-07-04 21:25:56 +0000 (Mon, 04 Jul 2016)
New Revision: 22363

Added:
   trunk/packages/R/r-cran-googlevis/trunk/debian/README.test
   trunk/packages/R/r-cran-googlevis/trunk/debian/docs
   trunk/packages/R/r-cran-googlevis/trunk/debian/examples
   trunk/packages/R/r-cran-googlevis/trunk/debian/tests/
   trunk/packages/R/r-cran-googlevis/trunk/debian/tests/control
   trunk/packages/R/r-cran-googlevis/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-googlevis/trunk/debian/changelog
   trunk/packages/R/r-cran-googlevis/trunk/debian/control
   trunk/packages/R/r-cran-googlevis/trunk/debian/rules
   trunk/packages/R/r-cran-googlevis/trunk/debian/watch
Log:
For the moment fetch source from Github


Added: trunk/packages/R/r-cran-googlevis/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/README.test	2016-07-04 21:25:56 UTC (rev 22363)
@@ -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: trunk/packages/R/r-cran-googlevis/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/changelog	2016-07-04 21:10:56 UTC (rev 22362)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/changelog	2016-07-04 21:25:56 UTC (rev 22363)
@@ -1,6 +1,5 @@
-r-cran-googlevis (0.5.10-1) UNRELEASED; urgency=low
+r-cran-googlevis (0.6.0-1) UNRELEASED; urgency=low
 
   * Initial release (closes: #???)
-    Needs r-cran-rjsonio which is in non-free :-(
 
  -- Andreas Tille <tille at debian.org>  Tue, 28 Jun 2016 17:09:05 +0200

Modified: trunk/packages/R/r-cran-googlevis/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/control	2016-07-04 21:10:56 UTC (rev 22362)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/control	2016-07-04 21:25:56 UTC (rev 22363)
@@ -6,18 +6,17 @@
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev,
-               r-cran-rjsonio
+               r-cran-jsonlite
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-googlevis/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-googlevis/trunk/
 Homepage: https://cran.r-project.org/web/packages/googleVis
 
 Package: r-cran-googlevis
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
+Architecture: all
+Depends: ${misc:Depends},
          ${R:Depends},
-         r-cran-rjsonio
+         r-cran-jsonlite
 Description: GNU R Interface to Google Charts
  R interface to Google Charts API, allowing users to create interactive
  charts based on data frames. Charts are displayed locally via the R HTTP

Added: trunk/packages/R/r-cran-googlevis/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/docs	2016-07-04 21:25:56 UTC (rev 22363)
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test

Added: trunk/packages/R/r-cran-googlevis/trunk/debian/examples
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/examples	                        (rev 0)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/examples	2016-07-04 21:25:56 UTC (rev 22363)
@@ -0,0 +1 @@
+vignettes

Modified: trunk/packages/R/r-cran-googlevis/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/rules	2016-07-04 21:10:56 UTC (rev 22362)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/rules	2016-07-04 21:25:56 UTC (rev 22363)
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 
 include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	chmod -x $(debRlib)/$(cranNameOrig)/rsp/src/simple*.rsp

Added: trunk/packages/R/r-cran-googlevis/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/tests/control	2016-07-04 21:25:56 UTC (rev 22363)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-googlevis/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/tests/run-unit-test	2016-07-04 21:25:56 UTC (rev 22363)
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+oname=googleVis
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+#  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+for rnw in `ls *.[rRS]nw` ; do
+rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
+R --no-save <<EOT
+  Stangle("$rnw")
+  source("$rfile", echo=TRUE)
+EOT
+  echo "$rnw passed"
+done

Modified: trunk/packages/R/r-cran-googlevis/trunk/debian/watch
===================================================================
--- trunk/packages/R/r-cran-googlevis/trunk/debian/watch	2016-07-04 21:10:56 UTC (rev 22362)
+++ trunk/packages/R/r-cran-googlevis/trunk/debian/watch	2016-07-04 21:25:56 UTC (rev 22363)
@@ -1,2 +1,3 @@
 version=3
-http://cran.r-project.org/src/contrib/googleVis_([-\d.]*)\.tar\.gz
+# http://cran.r-project.org/src/contrib/googleVis_([-\d.]*)\.tar\.gz
+https://github.com/mages/googleVis/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)




More information about the debian-med-commit mailing list