[r-cran-dt] 02/02: Initial Debian packaging

Andreas Tille tille at debian.org
Tue Jan 2 08:10:55 UTC 2018


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

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

commit d460f256a1aaa2d6d64999012a48cd72788f1216
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 2 09:04:43 2018 +0100

    Initial Debian packaging
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 28 ++++++++++++++++++++++++++++
 debian/copyright      | 26 ++++++++++++++++++++++++++
 debian/docs           |  2 ++
 debian/rules          |  5 +++++
 debian/source/format  |  1 +
 debian/tests/control  |  5 +++++
 debian/tests/vignette |  7 +++++++
 debian/watch          |  2 ++
 10 files changed, 82 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6534d54
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-dt (0.2-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 19 Dec 2017 09:19:36 +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..1ec86ab
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: r-cran-dt
+Maintainer: Debian Science Maintainers <debian-science-maintainers 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-htmltools,
+               r-cran-htmlwidgets,
+               r-cran-magrittr
+Standards-Version: 4.1.3
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-dt.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-dt.git
+Homepage: https://cran.r-project.org/package=DT
+
+Package: r-cran-dt
+Architecture: all
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: A Wrapper of the JavaScript Library 'DataTables'
+ Data objects in R can be rendered as HTML tables using the
+ JavaScript library 'DataTables' (typically via R Markdown or Shiny). The
+ 'DataTables' library has been included in this R package. The package name
+ 'DT' is an abbreviation of 'DataTables'.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d84d47b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: DT
+Upstream-Contact: Yihui Xie <xie at yihui.name>
+Source: https://cran.r-project.org/package=DT
+
+Files: *
+Copyright: 2014-2016 Yihui Xie, Joe Cheng, JJ Allaire,
+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 you can find the full text of the GNU General Public
+ License version 3 at /usr/share/common-licenses/GPL-3.
+
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..792810e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: vignette
+Depends: @, r-cran-knitr
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/vignette b/debian/tests/vignette
new file mode 100644
index 0000000..fdf4c2b
--- /dev/null
+++ b/debian/tests/vignette
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for vignette in $(find vignettes -iname '*.rnw' -or -iname '*.rmd'); do
+    echo "BEGIN VIGNETTE $vignette"
+    LC_ALL=C R CMD Sweave $vignette
+done
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..da80d5c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/DT_([-\d.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-dt.git



More information about the debian-science-commits mailing list