[med-svn] r23236 - in trunk/packages/R: . r-cran-withr r-cran-withr/trunk r-cran-withr/trunk/debian r-cran-withr/trunk/debian/source r-cran-withr/trunk/debian/tests
Andreas Tille
tille at moszumanska.debian.org
Sun Dec 4 17:49:57 UTC 2016
Author: tille
Date: 2016-12-04 17:49:56 +0000 (Sun, 04 Dec 2016)
New Revision: 23236
Added:
trunk/packages/R/r-cran-withr/
trunk/packages/R/r-cran-withr/trunk/
trunk/packages/R/r-cran-withr/trunk/debian/
trunk/packages/R/r-cran-withr/trunk/debian/README.test
trunk/packages/R/r-cran-withr/trunk/debian/changelog
trunk/packages/R/r-cran-withr/trunk/debian/compat
trunk/packages/R/r-cran-withr/trunk/debian/control
trunk/packages/R/r-cran-withr/trunk/debian/copyright
trunk/packages/R/r-cran-withr/trunk/debian/docs
trunk/packages/R/r-cran-withr/trunk/debian/rules
trunk/packages/R/r-cran-withr/trunk/debian/source/
trunk/packages/R/r-cran-withr/trunk/debian/source/format
trunk/packages/R/r-cran-withr/trunk/debian/tests/
trunk/packages/R/r-cran-withr/trunk/debian/tests/control
trunk/packages/R/r-cran-withr/trunk/debian/tests/run-unit-test
trunk/packages/R/r-cran-withr/trunk/debian/watch
Log:
Inject r-cran-withr
Added: trunk/packages/R/r-cran-withr/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/README.test (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/README.test 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh run-unit-test
+
+in order to confirm its integrity.
Added: trunk/packages/R/r-cran-withr/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/changelog (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/changelog 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,5 @@
+r-cran-withr (1.0.2-1) UNRELEASED; urgency=medium
+
+ * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org> Sun, 04 Dec 2016 18:36:51 +0100
Added: trunk/packages/R/r-cran-withr/trunk/debian/compat
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/compat (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/compat 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1 @@
+10
Added: trunk/packages/R/r-cran-withr/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/control (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/control 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,25 @@
+Source: r-cran-withr
+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 (>= 10),
+ dh-r,
+ r-base-dev
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-withr/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-withr/trunk/
+Homepage: https://cran.r-project.org/package=withr
+
+Package: r-cran-withr
+Architecture: all
+Depends: ${R:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: GNU R package to run code 'With' temporarily modified global state
+ A set of functions to run code 'with' safely and temporarily
+ modified global state. Many of these functions were originally a part of the
+ 'devtools' package, this provides a simple package with limited dependencies
+ to provide access to these functions.
Added: trunk/packages/R/r-cran-withr/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/copyright (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/copyright 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: withr
+Upstream-Contact: Jim Hester <james.f.hester at gmail.com>
+Source: https://cran.r-project.org/package=withr
+
+Files: *
+Copyright: 2015-29016 Jim Hester, Kirill Müller, Hadley Wickham,
+ Winston Chang, RStudio
+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-withr/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/docs (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/docs 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-cran-withr/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/rules (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/rules 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem R
+
Property changes on: trunk/packages/R/r-cran-withr/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/R/r-cran-withr/trunk/debian/source/format
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/source/format (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/source/format 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/R/r-cran-withr/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/tests/control 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
Added: trunk/packages/R/r-cran-withr/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/tests/run-unit-test 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+oname=withr
+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
Added: trunk/packages/R/r-cran-withr/trunk/debian/watch
===================================================================
--- trunk/packages/R/r-cran-withr/trunk/debian/watch (rev 0)
+++ trunk/packages/R/r-cran-withr/trunk/debian/watch 2016-12-04 17:49:56 UTC (rev 23236)
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/withr_([-\d.]*)\.tar\.gz
More information about the debian-med-commit
mailing list