[med-svn] [r-cran-bbmisc] 01/15: Add new pre-dependency for BioConductor packages

Andreas Tille tille at debian.org
Mon Oct 9 09:22:49 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-bbmisc.

commit 30a37b07e4da7695288e0cfdf3262bdf092422de
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jun 13 23:08:20 2014 +0000

    Add new pre-dependency for BioConductor packages
---
 debian/README.test         | 11 +++++++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 21 +++++++++++++++++++++
 debian/copyright           | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/docs                |  3 +++
 debian/rules               |  7 +++++++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 14 ++++++++++++++
 debian/watch               |  2 ++
 11 files changed, 110 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..81df283
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,11 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+library(testthat)
+test_check("BBmisc")
+EOT
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc107d4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-bbmisc (1.6-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Andreas Tille <tille at debian.org>  Fri, 13 Jun 2014 22:52:06 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6827808
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: r-cran-bbmisc
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: gnu-r
+Testsuite: autopkgtest
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev (>= 3.0.0)
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/packages/trunk/R/r-cran-bbmisc/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-bbmisc/trunk/
+Homepage: http://cran.r-project.org/web/packages/BBmisc/
+
+Package: r-cran-bbmisc
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${R:Depends}
+Description: GNU R Miscellaneous helper functions for B. Bischl
+ Miscellaneous helper functions for and from B. Bischl and some other
+ guys at TU Dortmund, mainly for package development.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4744d71
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: BBmisc
+Upstream-Contact: Bernd Bischl <bernd_bischl at gmx.net>
+Source: http://cran.r-project.org/web/packages/BBmisc/
+
+Files: *
+Copyright: 2012-2014 Bernd Bischl, Michel Lang, Olaf Mersmann
+License: BSD3clause
+
+Files: debian/*
+Copyright: 2014 Andreas Tille <tille at debian.org>
+License: BSD3clause
+
+License: BSD3clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+    Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+    Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.
+ .
+    Neither the name of the <ORGANIZATION> nor the names of its
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..960011c
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9c63da8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+
+include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
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..b044b0c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..0d3767b
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+pkg=r-bioc-bbmisc
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/r-cran-bbmisc/tests/* $ADTTMP
+gunzip -r *
+LC_ALL=C R --no-save <<EOT
+library(testthat)
+test_check("BBmisc")
+EOT
+rm -f $ADTTMP/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..488384a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/BBmisc_([-\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list