[med-svn] r22765 - in trunk/packages/R: . r-cran-testit r-cran-testit/trunk r-cran-testit/trunk/debian r-cran-testit/trunk/debian/source r-cran-testit/trunk/debian/tests
Andreas Tille
tille at moszumanska.debian.org
Sat Sep 10 18:52:40 UTC 2016
Author: tille
Date: 2016-09-10 18:52:39 +0000 (Sat, 10 Sep 2016)
New Revision: 22765
Added:
trunk/packages/R/r-cran-testit/
trunk/packages/R/r-cran-testit/trunk/
trunk/packages/R/r-cran-testit/trunk/debian/
trunk/packages/R/r-cran-testit/trunk/debian/README.test
trunk/packages/R/r-cran-testit/trunk/debian/changelog
trunk/packages/R/r-cran-testit/trunk/debian/compat
trunk/packages/R/r-cran-testit/trunk/debian/control
trunk/packages/R/r-cran-testit/trunk/debian/copyright
trunk/packages/R/r-cran-testit/trunk/debian/docs
trunk/packages/R/r-cran-testit/trunk/debian/rules
trunk/packages/R/r-cran-testit/trunk/debian/source/
trunk/packages/R/r-cran-testit/trunk/debian/source/format
trunk/packages/R/r-cran-testit/trunk/debian/tests/
trunk/packages/R/r-cran-testit/trunk/debian/tests/control
trunk/packages/R/r-cran-testit/trunk/debian/tests/run-unit-test
trunk/packages/R/r-cran-testit/trunk/debian/watch
Log:
Inject r-cran-testit
Added: trunk/packages/R/r-cran-testit/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/README.test (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/README.test 2016-09-10 18:52:39 UTC (rev 22765)
@@ -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.
+
+
Added: trunk/packages/R/r-cran-testit/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/changelog (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/changelog 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,5 @@
+r-cran-testit (0.5-1) unstable; urgency=low
+
+ * Initial release (closes: #837342)
+
+ -- Andreas Tille <tille at debian.org> Sat, 10 Sep 2016 20:51:36 +0200
Added: trunk/packages/R/r-cran-testit/trunk/debian/compat
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/compat (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/compat 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1 @@
+9
Added: trunk/packages/R/r-cran-testit/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/control (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/control 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,20 @@
+Source: r-cran-testit
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ cdbs,
+ r-base-dev
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-testit/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-testit/trunk/
+Homepage: http://cran.r-project.org/web/packages/testit
+
+Package: r-cran-testit
+Architecture: all
+Depends: ${R:Depends},
+ ${misc:Depends}
+Description: simple package for testing GNU R packages
+ This GNU R package provides two convenience functions assert() and
+ test_pkg() to facilitate testing R packages.
Added: trunk/packages/R/r-cran-testit/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/copyright (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/copyright 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Yihui Xie <xie at yihui.name>
+Source: http://cran.r-project.org/web/packages/testit
+
+Files: *
+Copyright: 2014-2016 Yihui Xie <xie at yihui.name>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+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
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL-2'.
Added: trunk/packages/R/r-cran-testit/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/docs (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/docs 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-cran-testit/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/rules (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/rules 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+ rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+
+# if I would only know how to hook in after dh_installdocs - forget this magic
+# cdbs thingy and remove the file rather in the test sccript ...
+ # Delete tests depending from devtools since this is not (yet) packaged
+# cd debian/$(package)/usr/share/doc/$(package)/tests/ ; \
+# if grep -qR devtools * ; then \
+# rm -f `grep -lR devtools *` ; \
+# fi
+
Property changes on: trunk/packages/R/r-cran-testit/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/R/r-cran-testit/trunk/debian/source/format
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/source/format (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/source/format 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/R/r-cran-testit/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/tests/control 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
Added: trunk/packages/R/r-cran-testit/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/tests/run-unit-test 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+pkg=r-cran-testit
+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/* .
+
+LC_ALL=C R --no-save < test-all.R
Added: trunk/packages/R/r-cran-testit/trunk/debian/watch
===================================================================
--- trunk/packages/R/r-cran-testit/trunk/debian/watch (rev 0)
+++ trunk/packages/R/r-cran-testit/trunk/debian/watch 2016-09-10 18:52:39 UTC (rev 22765)
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/testit_([-\d.]*)\.tar\.gz
More information about the debian-med-commit
mailing list