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

Andreas Tille tille at moszumanska.debian.org
Wed Nov 30 09:29:27 UTC 2016


Author: tille
Date: 2016-11-30 09:29:26 +0000 (Wed, 30 Nov 2016)
New Revision: 23150

Added:
   trunk/packages/R/r-cran-memoise/trunk/debian/tests/
   trunk/packages/R/r-cran-memoise/trunk/debian/tests/control
   trunk/packages/R/r-cran-memoise/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-memoise/trunk/debian/README.test
   trunk/packages/R/r-cran-memoise/trunk/debian/changelog
   trunk/packages/R/r-cran-memoise/trunk/debian/compat
   trunk/packages/R/r-cran-memoise/trunk/debian/control
   trunk/packages/R/r-cran-memoise/trunk/debian/copyright
   trunk/packages/R/r-cran-memoise/trunk/debian/docs
   trunk/packages/R/r-cran-memoise/trunk/debian/rules
   trunk/packages/R/r-cran-memoise/trunk/debian/watch
Log:
  * New upstream version
  * Rename source package to the usual naming pattern
  * cme fix dpkg-control
  * Convert to dh-r
  * Canonical homepage for CRAN
  * Update copyright
  * Drop Ivo Maintz from Uploaders
  * debhelper 10
  * d/watch: version=4
  * Add autopkgtest



Modified: trunk/packages/R/r-cran-memoise/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/README.test	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/README.test	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,5 +1,8 @@
 Notes on how this package can be tested.
 ────────────────────────────────────────
 
-This package can be tested by loading it into R with the command
-‘library(memoise)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/changelog	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/changelog	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,3 +1,18 @@
+r-cran-memoise (1.0.0-1) unstable; urgency=medium
+
+  * New upstream version
+  * Rename source package to the usual naming pattern
+  * cme fix dpkg-control
+  * Convert to dh-r
+  * Canonical homepage for CRAN
+  * Update copyright
+  * Drop Ivo Maintz from Uploaders
+  * debhelper 10
+  * d/watch: version=4
+  * Add autopkgtest
+
+ -- Andreas Tille <tille at debian.org>  Wed, 30 Nov 2016 10:24:09 +0100
+
 memoise (0.2.1-1) unstable; urgency=medium
 
   * New upstream version

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/compat
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/compat	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/compat	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1 +1 @@
-9
+10

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/control	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/control	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,22 +1,23 @@
-Source: memoise
+Source: r-cran-memoise
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Ivo Maintz <ivo at maintz.de>,
-           Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 10),
                r-base-dev,
                r-cran-digest,
-               cdbs
-Standards-Version: 3.9.5
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-memoise/trunk/
+               dh-r
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-memoise/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-memoise/trunk/
-Homepage: http://cran.r-project.org/web/packages/memoise/index.html
+Homepage: https://cran.r-project.org/package=memoise
 
 Package: r-cran-memoise
 Architecture: all
-Depends: ${shlibs:Depends},
+Depends: ${R:Depends},
          ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Memoise functions
  Cache the results of a function so that when you call it again with the same
  arguments it returns the pre-computed value.

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/copyright	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/copyright	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,9 +1,11 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Jim Hester <jim.hester at rstudio.com>
 Upstream-Name: memoise
-Source: http://cran.r-project.org/web/packages/memoise/index.html
+Source: https://cran.r-project.org/package=memoise
 
 Files: *
-Copyright: 2012 Hadley Wickham <h.wickham at gmail.com>
+Copyright: 2012-2016 Hadley Wickham <h.wickham at gmail.com>
+                     Jim Hester, Kirill Müller
 License: MIT
  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/docs	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/docs	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1 +1,3 @@
+tests
 debian/README.test
+debian/tests/run-unit-test

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/rules	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/rules	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,9 +1,8 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
-
-get-orig-source:
-	uscan --force-download --verbose
+override_dh_install:
+	dh_install
+	find . -name LICENSE -delete

Added: trunk/packages/R/r-cran-memoise/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/tests/control	2016-11-30 09:29:26 UTC (rev 23150)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-memoise/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/tests/run-unit-test	2016-11-30 09:29:26 UTC (rev 23150)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+oname=memoise
+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 -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+LC_ALL=C R --no-save < testthat.R

Modified: trunk/packages/R/r-cran-memoise/trunk/debian/watch
===================================================================
--- trunk/packages/R/r-cran-memoise/trunk/debian/watch	2016-11-30 07:58:36 UTC (rev 23149)
+++ trunk/packages/R/r-cran-memoise/trunk/debian/watch	2016-11-30 09:29:26 UTC (rev 23150)
@@ -1,2 +1,2 @@
-version=3
+version=4
 http://cran.r-project.org/src/contrib/memoise_([\d.-]*)\.tar.gz




More information about the debian-med-commit mailing list