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

Andreas Tille tille at moszumanska.debian.org
Wed Sep 17 11:57:37 UTC 2014


Author: tille
Date: 2014-09-17 11:57:37 +0000 (Wed, 17 Sep 2014)
New Revision: 18057

Added:
   trunk/packages/R/r-cran-rcurl/trunk/debian/README.test
   trunk/packages/R/r-cran-rcurl/trunk/debian/tests/
   trunk/packages/R/r-cran-rcurl/trunk/debian/tests/control_unused
   trunk/packages/R/r-cran-rcurl/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-rcurl/trunk/debian/changelog
   trunk/packages/R/r-cran-rcurl/trunk/debian/control
   trunk/packages/R/r-cran-rcurl/trunk/debian/copyright
   trunk/packages/R/r-cran-rcurl/trunk/debian/docs
Log:
New upstream version; Provide some manual test script (requiring online access and thus can not tested in a minimal chroot); cme fix dpkg-control; revised d/copyright regarding lintian warnings



Added: trunk/packages/R/r-cran-rcurl/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/README.test	2014-09-17 11:57:37 UTC (rev 18057)
@@ -0,0 +1,10 @@
+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.  Since the script requires online access it can
+not be used in autopkgtest.
+

Modified: trunk/packages/R/r-cran-rcurl/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/changelog	2014-09-17 09:50:43 UTC (rev 18056)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/changelog	2014-09-17 11:57:37 UTC (rev 18057)
@@ -1,3 +1,13 @@
+r-cran-rcurl (1.95-4.3-1) unstable; urgency=medium
+
+  * New upstream version
+  * Provide some manual test script (requiring online access and thus
+    can not tested in a minimal chroot)
+  * cme fix dpkg-control
+  * revised d/copyright regarding lintian warnings
+
+ -- Andreas Tille <tille at debian.org>  Wed, 17 Sep 2014 12:19:23 +0200
+
 r-cran-rcurl (1.95-4.1-1) unstable; urgency=low
 
   * Initial release (Closes: #677846, #710005)

Modified: trunk/packages/R/r-cran-rcurl/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/control	2014-09-17 09:50:43 UTC (rev 18056)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/control	2014-09-17 11:57:37 UTC (rev 18057)
@@ -10,7 +10,7 @@
                r-base-dev,
                r-cran-bitops,
                libcurl4-nss-dev | libcurl-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-rcurl/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-rcurl/trunk/
 Homepage: http://cran.r-project.org/web/packages/RCurl/index.html
@@ -31,4 +31,3 @@
  robust and extensive, supporting FTP/FTPS/TFTP (uploads and downloads),
  SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects,
  authentication, etc.
-

Modified: trunk/packages/R/r-cran-rcurl/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/copyright	2014-09-17 09:50:43 UTC (rev 18056)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/copyright	2014-09-17 11:57:37 UTC (rev 18057)
@@ -7,7 +7,7 @@
 Copyright: 2001-2013 Duncan Temple Lang <duncan at wald.ucdavis.edu>
 License: BSD-3-Clause
 
-Files: RCurl/src/curl_base64.c
+Files: src/curl_base64.c
 Copyright: 1998 - 2005, Daniel Stenberg, <daniel at haxx.se>, et al.
 License: Curl
  Permission to use, copy, modify, and distribute this software for any purpose
@@ -33,15 +33,15 @@
  This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  KIND, either express or implied.
 
-Files: RCurl/cacert.pem
+Files: cacert.pem
 Copyright: 1994-2000 Netscape Communications Corporation.
-License: MPL1.1 or GPLv2
+License: MPL1.1 or GPL-2+
 Comment: Alternatively the code is also licensed under LGPL 2.1
  which you can find in `/usr/share/common-licenses/LGPL-2.1`
 
-Files: RCurl/src/json.c
+Files: src/json.c
 Copyright: Alex Couture-Beil <rjson_pkg at mofo.ca>
-License: GPLv2
+License: GPL-2+
 
 Files: debian/*
 Copyright: 2012 Steffen Moeller <moeller at debian.org>
@@ -73,7 +73,7 @@
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS.
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-License: GPLv2
+License: GPL-2+
     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 2 of the License, or

Modified: trunk/packages/R/r-cran-rcurl/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/docs	2014-09-17 09:50:43 UTC (rev 18056)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/docs	2014-09-17 11:57:37 UTC (rev 18057)
@@ -1,3 +1,3 @@
-FAQ.html
-README
-Todo.html
+debian/README.test
+debian/tests/run-unit-test
+tests

Added: trunk/packages/R/r-cran-rcurl/trunk/debian/tests/control_unused
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/tests/control_unused	                        (rev 0)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/tests/control_unused	2014-09-17 11:57:37 UTC (rev 18057)
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+# the tests are requiring online connection and thus testing is deactivated
+Depends: @
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-rcurl/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-rcurl/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-rcurl/trunk/debian/tests/run-unit-test	2014-09-17 11:57:37 UTC (rev 18057)
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+oname=RCurl
+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/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+for rfile in `ls *.[rR]` ; do
+  R CMD BATCH $rfile
+done
+rm -rf .[A-Za-z]*




More information about the debian-med-commit mailing list