[med-svn] [r-cran-progress] 01/07: Inject r-cran-progress as precondition to upgrade r-cran-rncl
Andreas Tille
tille at debian.org
Sat Sep 30 08:24:26 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-progress.
commit b70ac18c917a059f08a05412da461e00e37f804c
Author: Andreas Tille <tille at debian.org>
Date: Mon Dec 19 09:01:36 2016 +0000
Inject r-cran-progress as precondition to upgrade r-cran-rncl
---
debian/README.test | 8 ++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 27 +++++++++++++++++++++++++++
debian/copyright | 32 ++++++++++++++++++++++++++++++++
debian/docs | 3 +++
debian/files | 1 +
debian/rules | 5 +++++
debian/source/format | 1 +
debian/tests/control | 5 +++++
debian/tests/run-unit-test | 17 +++++++++++++++++
debian/watch | 2 ++
12 files changed, 107 insertions(+)
diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..53fb4d7
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh ./run-unit-test
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9fd6c7d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-progress (1.1.2-1) UNRELEASED; urgency=medium
+
+ * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org> Mon, 19 Dec 2016 09:29:25 +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..2457290
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: r-cran-progress
+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-r6
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/git/debian-med/r-cran-progress.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-progress.git
+Homepage: https://cran.r-project.org/package=progress
+
+Package: r-cran-progress
+Architecture: all
+Depends: ${R:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: Terminal Progress Bars
+ Configurable Progress bars, they may include percentage,
+ elapsed time, and/or the estimated completion time. They work in
+ terminals, in 'Emacs' 'ESS', 'RStudio', 'Windows' 'Rgui' and the
+ 'macOS' 'R.app'. The package also provides a 'C++' 'API', that works
+ with or without 'Rcpp'.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2959ed2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: progress
+Upstream-Contact: Gábor Csárdi <csardi.gabor at gmail.com>
+Source: https://cran.r-project.org/package=progress
+
+Files: *
+Copyright: 2015-2016 Gábor Csárdi, Rich FitzJohn
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+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/docs b/debian/docs
new file mode 100644
index 0000000..f185620
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+debian/tests/run-unit-test
+README.test
+tests
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..3a6e1a6
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+r-cran-progress_1.1.2-1_source.buildinfo gnu-r optional
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..b7beeee
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=progress
+debname=r-cran-progress
+
+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..a30a454
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/progress_([-\d.]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-progress.git
More information about the debian-med-commit
mailing list