[med-svn] [r-cran-blob] 01/06: Inject r-cran-blob

Andreas Tille tille at debian.org
Wed Nov 29 13:55:09 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-blob.

commit 66b88720e9175e8a6b97a3bcdb11679bd291e8af
Author: Andreas Tille <tille at debian.org>
Date:   Fri Aug 25 22:20:36 2017 +0000

    Inject r-cran-blob
---
 debian/README.test         | 10 ++++++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 26 ++++++++++++++++++++++++++
 debian/copyright           | 26 ++++++++++++++++++++++++++
 debian/r-cran-blob.docs    |  3 +++
 debian/rules               |  5 +++++
 debian/source/format       |  1 +
 debian/tests/control       |  9 +++++++++
 debian/tests/generic       |  7 +++++++
 debian/tests/run-unit-test | 17 +++++++++++++++++
 debian/watch               |  2 ++
 12 files changed, 112 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..4dbc14d
--- /dev/null
+++ b/debian/README.test
@@ -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.
+
+ -- Andreas Tille <tille at debian.org>  Sat, 26 Aug 2017 00:10:39 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bf5a751
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-blob (1.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org>  Sat, 26 Aug 2017 00:10:39 +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..1a6e441
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: r-cran-blob
+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,
+               r-cran-tibble
+Standards-Version: 4.1.0
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-blob/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-blob/trunk/
+Homepage: https://cran.r-project.org/package=blob
+
+Package: r-cran-blob
+Architecture: all
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: GNU R S3 Class for Representing Vectors of Binary Data ('BLOBS')
+ R's raw vector is useful for storing a single binary object.
+ What if you want to put a vector of them in a data frame? The blob
+ package provides the blob object, a list of raw vectors, suitable for
+ use as a column in data frame.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bca8692
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: blob
+Upstream-Contact: Kirill Müller <krlmlr+r at mailbox.org>
+Source: https://cran.r-project.org/package=blob
+
+Files: *
+Copyright: Hadley Wickham, Kirill Müller, RStudio
+License: GPL-3
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: GPL-3
+
+License: GPL-3
+    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; version 3 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.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/r-cran-blob.docs b/debian/r-cran-blob.docs
new file mode 100644
index 0000000..6466d39
--- /dev/null
+++ b/debian/r-cran-blob.docs
@@ -0,0 +1,3 @@
+debian/tests/run-unit-test
+debian/README.test
+tests
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..529c38a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/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..0cef8c2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+Tests: generic
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/generic b/debian/tests/generic
new file mode 100644
index 0000000..eb39c8e
--- /dev/null
+++ b/debian/tests/generic
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for testfile in tests/*.R; do
+    echo "BEGIN TEST $testfile"
+    LC_ALL=C R --no-save < $testfile
+done
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..88f6f20
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=blob
+debname=r-cran-blob
+
+if [ "$ADTTMP" = "" ] ; then
+    ADTTMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
+    trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/$debname/tests/* $ADTTMP
+gunzip -r *
+for testfile in *.R; do
+    echo "BEGIN TEST $testfile"
+    LC_ALL=C R --no-save < $testfile
+done
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1cf54a8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/blob_([-\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list