[r-cran-irdisplay] 01/01: Add debian/
Gordon Ball
chronitis-guest at moszumanska.debian.org
Tue Aug 2 17:54:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository r-cran-irdisplay.
commit fca5164bafdd31c772e27c9638818275aa5b5810
Author: Gordon Ball <gordon at chronitis.net>
Date: Tue Aug 2 19:42:17 2016 +0200
Add debian/
---
debian/README.Debian | 3 +++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++++++++++++++
debian/r-cran-irdisplay.docs | 2 ++
debian/rules | 3 +++
debian/source/format | 1 +
debian/tests/control | 5 +++++
debian/tests/require | 3 +++
debian/tests/run-unit-test | 13 +++++++++++++
debian/watch | 3 +++
12 files changed, 95 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..cfaf2d0
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,3 @@
+The package declares a breaks/replaces relationship to a previous equivalent
+package (r-irkernel-irdisplay) which was never available in debian but was
+published in an Ubuntu PPA.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f210e60
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-irdisplay (0.4.4-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #814741)
+
+ -- Gordon Ball <gordon at chronitis.net> Thu, 28 Jul 2016 17:06:38 +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..4d7ed3a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: r-cran-irdisplay
+Section: gnu-r
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Gordon Ball <gordon at chronitis.net>
+Build-Depends: debhelper (>= 9),
+ r-base-dev (>= 3.0.1),
+ cdbs,
+ r-cran-repr,
+ r-cran-base64enc
+Standards-Version: 3.9.8
+Homepage: https://cran.r-project.org/web/packages/IRdisplay/
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-irdisplay.git/
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-irdisplay.git
+
+Package: r-cran-irdisplay
+Architecture: all
+Depends: ${R:Depends},
+ ${misc:Depends},
+ r-cran-repr,
+ r-cran-base64enc
+Replaces: r-irkernel-irdisplay
+Breaks: r-irkernel-irdisplay
+Suggests: r-cran-testthat
+Description: Rich display library for the Jupyter R kernel.
+ GNU R library providing rich display capabilities for the Jupyter R kernel.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c8fb485
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: IRdisplay
+
+Files: *
+Copyright: 2014-2016 Thomas Kluyver <thomas at kluyver.me.uk>
+ 2014-2016 Philipp Angerer <phil.angerer at gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Gordon Ball <gordon at chronitis.net>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
diff --git a/debian/r-cran-irdisplay.docs b/debian/r-cran-irdisplay.docs
new file mode 100644
index 0000000..e341712
--- /dev/null
+++ b/debian/r-cran-irdisplay.docs
@@ -0,0 +1,2 @@
+tests
+debian/tests/run-unit-test
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2fbba2d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
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..f237d54
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat, r-cran-withr
+
+Tests: require
+Depends: @
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..eea6b87
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+R -e 'if (!require("IRdisplay")) quit(status=127)'
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..5b55711
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+oname=IRdisplay
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip -r *
+LC_ALL=C R --no-save < testthat.R
+rm -fr $ADTTMP/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e29ff18
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+ds[\d]*$// \
+https://cran.r-project.org/src/contrib/IRdisplay_([-\d.]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-irdisplay.git
More information about the debian-science-commits
mailing list