[med-svn] [r-cran-worrms] 01/06: Add r-cran-worrms

Andreas Tille tille at debian.org
Mon Oct 2 10:57:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-worrms.

commit 98a99cab15cecc83477462b9a489ef41e1bcbb0d
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 20 11:50:54 2017 +0000

    Add r-cran-worrms
---
 debian/README.test         |  8 ++++++++
 debian/changelog           | 17 +++++++++++++++++
 debian/compat              |  1 +
 debian/control             | 23 +++++++++++++++++++++++
 debian/copyright           | 29 +++++++++++++++++++++++++++++
 debian/docs                |  3 +++
 debian/rules               |  4 ++++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 15 +++++++++++++++
 debian/watch               |  2 ++
 11 files changed, 106 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..55a9142
--- /dev/null
+++ b/debian/README.test
@@ -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.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9009e45
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+r-cran-truncnorm (1.0-7-2) unstable; urgency=medium
+
+  * Fix license
+    Closes: #815687
+  * Canonical homepage for CRAN
+  * cme fix dpkg-control
+  * Convert to dh-r
+  * debhelper 10
+  * d/watch: version=4
+
+ -- Andreas Tille <tille at debian.org>  Mon, 12 Dec 2016 11:16:51 +0100
+
+r-cran-truncnorm (1.0-7-1) unstable; urgency=low
+
+  * Initial release (closes: #752164)
+
+ -- Andreas Tille <tille at debian.org>  Fri, 20 Jun 2014 11:47:43 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..223ee53
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: r-cran-truncnorm
+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-truncnorm/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-truncnorm/trunk/
+Homepage: https://cran.r-project.org/package=truncnorm
+
+Package: r-cran-truncnorm
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: GNU R truncated normal distribution
+ This GNU R package provides r/d/p/q functions for the truncated normal
+ distribution.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dc58101
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: truncnorm
+Upstream-Contact: Olaf Mersmann <olafm at statistik.uni-dortmund.de>
+Source: https://cran.r-project.org/package=truncnorm
+
+Files: *
+Copyright: 2012-2014 Heike Trautmann, Detlef Steuer, Olaf Mersmann, Björn Bornkamp
+License: GPL-2
+
+Files: debian/*
+Copyright: 2014-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.
+ .
+ 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, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Public
+ License can be found in `/usr/share/common-licenses/GPL-2'.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3adf0d6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..68d9a36
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem R
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..25377fc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..92689b6
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+oname=truncnorm
+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 /usr/share/doc/${pkg}/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+for runtest in `ls *.R` ; do
+    R --no-save < $runtest
+done
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8c6226b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+http://cran.r-project.org/src/contrib/truncnorm_([-\d.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-worrms.git



More information about the debian-med-commit mailing list