[med-svn] [r-cran-rmarkdown] 02/02: Initial packaging

Andreas Tille tille at debian.org
Mon Dec 11 15:41:22 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-rmarkdown.

commit 859a809d2dcd33208829bb67b5d616fb93668da8
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 11 16:41:01 2017 +0100

    Initial packaging
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 34 ++++++++++++++++++++++++++++++++++
 debian/copyright           | 29 +++++++++++++++++++++++++++++
 debian/docs                |  2 ++
 debian/rules               |  5 +++++
 debian/source/format       |  1 +
 debian/tests/control       |  5 +++++
 debian/tests/run-unit-test | 17 +++++++++++++++++
 debian/watch               |  2 ++
 10 files changed, 101 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6acce74
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-rmarkdown (1.8-1) unstable; urgency=medium
+
+  * Initial release (closes: #884115)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 11 Dec 2017 16:40:56 +0100
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..58adbc1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: r-cran-rmarkdown
+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-knitr,
+               r-cran-yaml,
+               r-cran-htmltools,
+               r-cran-evaluate (>= 0.8),
+               r-cran-base64enc,
+               r-cran-jsonlite,
+               r-cran-rprojroot,
+               r-cran-mime,
+               r-cran-stringr (>= 1.2.0)
+Standards-Version: 4.1.2
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-rmarkdown.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-rmarkdown.git
+Homepage: https://cran.r-project.org/package=rmarkdown
+
+Package: r-cran-rmarkdown
+Architecture: all
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: convert R markdown documents into a variety of formats.
+ R Markdown is a framework for creating documents that mix R code with
+ markdown to produce visually pleasing, high quality and reproducible
+ reports. It supports various output formats, including HTML, PDF,
+ Microsoft Word and Beamer.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..68cbdc8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rmarkdown
+Upstream-Contact: Yihui Xie <xie at yihui.name>
+Source: https://cran.r-project.org/package=rmarkdown
+
+Files: *
+Copyright: 2014-2017 JJ Allaire, Yihui Xie, Jonathan McPherson, Javier Luraschi,
+                     Kevin Ushey, Aron Atkins, Hadley Wickham, Joe Cheng,
+                     Winston Chang, Jeff Allen, Roy Storey, Rob Hyndman,
+                     Ruben Arslan, RStudio, Inc.,
+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, either version 3 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 you find a copy of the full text of the GNU General Public
+ License at /usr/share/common-licenses/GPL-.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..67ce40b
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+debian/tests/run-unit-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..a62fb6e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+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..a478756
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=rmarkdown
+debname=r-cran-rmarkdown
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+    AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
+    trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $AUTOPKGTEST_TMP
+cp -a /usr/share/doc/$debname/tests/* $AUTOPKGTEST_TMP
+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..cc92254
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/rmarkdown_([-\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list