[med-svn] [r-cran-hexbin] 01/08: Inject r-cran-hexbin as a precondition for testing r-bioc-snpstats

Andreas Tille tille at debian.org
Thu Oct 19 16:40:16 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-hexbin.

commit 37ace8113d4bc52e9f9463a5f1eb2b8b88bf0797
Author: Andreas Tille <tille at debian.org>
Date:   Sat May 9 07:08:21 2015 +0000

    Inject r-cran-hexbin as a precondition for testing r-bioc-snpstats
---
 debian/README.test         |  8 ++++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 24 ++++++++++++++++++++++++
 debian/copyright           | 31 +++++++++++++++++++++++++++++++
 debian/docs                |  1 +
 debian/examples            |  1 +
 debian/rules               |  6 ++++++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 18 ++++++++++++++++++
 debian/watch               |  2 ++
 12 files changed, 101 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..7188d19
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-hexbin (1.27.0-1) UNRELEASED; urgency=medium
+
+  * Initial upload (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Sat, 09 May 2015 08:52:18 +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..559f9a3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: r-cran-hexbin
+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),
+               r-base-dev,
+               r-cran-lattice,
+               cdbs
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-hexbin/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-hexbin/
+Homepage: http://cran.r-project.org/web/packages/hexbin
+
+Package: r-cran-hexbin
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${R:Depends},
+         r-cran-lattice
+Description: GNU R hexagonal binning routines
+ This GNU R package contains binning and plotting functions for hexagonal
+ bins. Now uses and relies on grid graphics and formal (S4) classes and
+ methods.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d343128
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Edzer Pebesma <edzer.pebesma at uni-muenster.de>
+Upstream-Name: hexbin
+Source: http://cran.r-project.org/web/packages/hexbin/
+
+Files: *
+Copyright: 2012-2014 Edzer Pebesma <edzer.pebesma at uni-muenster.de>
+License: GPL-2+
+
+Files: src/*.f
+Copyright: 1991-1994 Dan Carr
+           2004 Nicholas Lewin-Koh and Martin Maechler
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2015 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.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50f6656
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+debian/README.test
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..18244c8
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+vignettes
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04a2c2a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	find debian/$(package)/ -type f -exec chmod 644 {} +
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..a0a0edc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-survival
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..abf88ff
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+oname=hexbin
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
+gunzip *.gz
+for rnw in `ls *.[rR]nw` ; do
+rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'`
+R --no-save <<EOT
+  Stangle("$rnw")
+  source("$rfile", echo=TRUE)
+EOT
+done
+rm -rf *
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b6c573a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/hexbin_([\d.-]*)\.tar.gz

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



More information about the debian-med-commit mailing list