[med-svn] [r-cran-googlevis] 02/09: For the moment fetch source from Github

Andreas Tille tille at debian.org
Fri Sep 29 19:19:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-googlevis.

commit 754a196ce72142216c7969063e11cb743287ac05
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jul 4 21:25:56 2016 +0000

    For the moment fetch source from Github
---
 debian/README.test         |  8 ++++++++
 debian/changelog           |  3 +--
 debian/control             |  9 ++++-----
 debian/docs                |  2 ++
 debian/examples            |  1 +
 debian/rules               |  3 +++
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 19 +++++++++++++++++++
 debian/watch               |  3 ++-
 9 files changed, 43 insertions(+), 8 deletions(-)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..55a9142
--- /dev/null
+++ b/debian/README.test
@@ -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.
diff --git a/debian/changelog b/debian/changelog
index e0c2797..8c14b81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/control b/debian/control
index f6d232e..7934e18 100644
--- a/debian/control
+++ b/debian/control
@@ -6,18 +6,17 @@ Priority: optional
 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
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..9a4f4f8
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..18244c8
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+vignettes
diff --git a/debian/rules b/debian/rules
index 2fbba2d..b3fee6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d2aa55a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..fd5c9ac
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -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
diff --git a/debian/watch b/debian/watch
index 504efae..01c2205 100644
--- a/debian/watch
+++ b/debian/watch
@@ -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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-googlevis.git



More information about the debian-med-commit mailing list