[med-svn] r17709 - in trunk/packages/R/r-cran-g.data/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Tue Aug 12 15:10:22 UTC 2014


Author: tille
Date: 2014-08-12 15:10:22 +0000 (Tue, 12 Aug 2014)
New Revision: 17709

Added:
   trunk/packages/R/r-cran-g.data/trunk/debian/README.test
   trunk/packages/R/r-cran-g.data/trunk/debian/docs
   trunk/packages/R/r-cran-g.data/trunk/debian/examples
   trunk/packages/R/r-cran-g.data/trunk/debian/tests/
   trunk/packages/R/r-cran-g.data/trunk/debian/tests/control
   trunk/packages/R/r-cran-g.data/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-g.data/trunk/debian/changelog
   trunk/packages/R/r-cran-g.data/trunk/debian/control
   trunk/packages/R/r-cran-g.data/trunk/debian/copyright
Log:
New upstream version, add autopkgtest


Added: trunk/packages/R/r-cran-g.data/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/README.test	2014-08-12 15:10:22 UTC (rev 17709)
@@ -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-g.data/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/changelog	2014-08-12 14:28:01 UTC (rev 17708)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/changelog	2014-08-12 15:10:22 UTC (rev 17709)
@@ -1,9 +1,16 @@
-r-cran-g.data (2.3-2) UNRELEASED; urgency=low
+r-cran-g.data (2.4-1) unstable; urgency=low
 
+  [ Charles Plessy ]
   * debian/control: removed myself from Uploaders. 
 
- -- Charles Plessy <plessy at debian.org>  Sat, 21 Sep 2013 16:10:44 +0900
+  [ Andreas Tille ]
+  * New upstream version
+  * cme fix dpkg-control
+  * add autopkgtest
+  * debian/copyright: fix copyright syntax
 
+ -- Andreas Tille <tille at debian.org>  Tue, 12 Aug 2014 16:57:21 +0200
+
 r-cran-g.data (2.3-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/packages/R/r-cran-g.data/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/control	2014-08-12 14:28:01 UTC (rev 17708)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/control	2014-08-12 15:10:22 UTC (rev 17709)
@@ -1,12 +1,14 @@
 Source: r-cran-g.data
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Steffen Moeller <moeller at debian.org>
+Uploaders: Steffen Moeller <moeller at debian.org>,
+           Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
+Testsuite: autopkgtest
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-g.data/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-g.data/trunk/
 Homepage: http://cran.r-project.org/web/packages/g.data
@@ -22,4 +24,3 @@
  until requested.  You attach a DDP with g.data.attach(), then read from
  it and assign to it in a manner similar to S-Plus, except that you must
  run g.data.save() to actually commit to disk.
-

Modified: trunk/packages/R/r-cran-g.data/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/copyright	2014-08-12 14:28:01 UTC (rev 17708)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/copyright	2014-08-12 15:10:22 UTC (rev 17709)
@@ -2,8 +2,10 @@
 Source: http://cran.r-project.org/src/contrib/g.data_2.3.tar.gz
 
 Files: *
-Copyright: David Brahm <brahm at alum.mit.edu>
+Copyright: 2008-2014 David Brahm <brahm at alum.mit.edu>
 License: GPL
+
+License: GPL
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
@@ -24,6 +26,7 @@
  the CRAN archive.
 
 Files: debian/*
-Copyright: Steffen Möller <moeller at debian.org>
-License: same
- Same as g.data
+Copyright: 2009-2011 Steffen Möller <moeller at debian.org>
+           2013 Charles Plessy <plessy at debian.org>
+           2014 Andreas Tille <tille at debian.org>
+License: GPL

Added: trunk/packages/R/r-cran-g.data/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/docs	2014-08-12 15:10:22 UTC (rev 17709)
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test

Added: trunk/packages/R/r-cran-g.data/trunk/debian/examples
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/examples	                        (rev 0)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/examples	2014-08-12 15:10:22 UTC (rev 17709)
@@ -0,0 +1 @@
+vignettes

Added: trunk/packages/R/r-cran-g.data/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/tests/control	2014-08-12 15:10:22 UTC (rev 17709)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-g.data/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-g.data/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-g.data/trunk/debian/tests/run-unit-test	2014-08-12 15:10:22 UTC (rev 17709)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+oname=g.data
+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
+find . -name "*.gz" -exec gunzip \{\} \;
+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-med-commit mailing list