[med-svn] [r-cran-tikzdevice] 01/09: Inject r-cran-tikzdevice

Andreas Tille tille at debian.org
Wed Nov 29 20:36:17 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-tikzdevice.

commit e1a668cfa18a63941c6ada408e0dd9e56b577ae0
Author: Andreas Tille <tille at debian.org>
Date:   Sat Sep 10 19:05:11 2016 +0000

    Inject r-cran-tikzdevice
---
 debian/README.test         | 10 ++++++++++
 debian/changelog           |  7 +++++++
 debian/compat              |  1 +
 debian/control             | 31 +++++++++++++++++++++++++++++++
 debian/copyright           | 29 +++++++++++++++++++++++++++++
 debian/docs                |  3 +++
 debian/rules               | 15 +++++++++++++++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 12 ++++++++++++
 debian/watch               |  2 ++
 11 files changed, 114 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..3d2b347
--- /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.
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fb74972
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+r-cran-tikzdevice (0.10-1-1) UNRELEASED; urgency=low
+
+  * Initial release (closes: #???)
+    TODO: r-cran-filehash
+          r-cran-png
+
+ -- Andreas Tille <tille at debian.org>  Sat, 10 Sep 2016 20:24:39 +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..aa9b1d3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: r-cran-tikzdevice
+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 (>= 9),
+               cdbs,
+               r-base-dev,
+               r-cran-filehash,
+               r-cran-png
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-tikzdevice/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-tikzdevice/trunk/
+Homepage: http://cran.r-project.org/web/packages/tikzDevice
+
+Package: r-cran-tikzdevice
+Architecture: any
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends},
+         r-cran-filehash,
+         r-cran-png
+Description: GNU R graphics output in LaTeX format
+ This GNU R package provides a graphics output device for R that records
+ plots in a LaTeX-friendly format. The device transforms plotting
+ commands issued by R functions into LaTeX code blocks. When included in
+ a LaTeX document, these blocks are interpreted with the help of 'TikZ'—a
+ graphics package for TeX and friends written by Till Tantau. Using the
+ 'tikzDevice', the text of R plots can contain LaTeX commands such as
+ mathematical formula. The device also allows arbitrary LaTeX code to be
+ inserted into the output stream.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f5537da
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Kirill Müller <krlmlr+r at mailbox.org>
+Source: http://cran.r-project.org/web/packages/tikzDevice
+
+Files: *
+Copyright: 2014-2016 Charlie Sharpsteen, Cameron Bracken, Kirill Müller, Yihui Xie 
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+License: GPL-2+
+    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 2 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.
+ .
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..960011c
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e2bc9e7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+
+# if I would only know how to hook in after dh_installdocs - forget this magic
+# cdbs thingy and remove the file rather in the test sccript ...
+	# Delete tests depending from devtools since this is not (yet) packaged
+#	cd debian/$(package)/usr/share/doc/$(package)/tests/ ; \
+#	if grep -qR devtools * ; then \
+#	    rm -f `grep -lR devtools *` ; \
+#	fi
+
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..b044b0c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+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..7a52816
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+oname=tikzDevice
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* .
+
+LC_ALL=C R --no-save < unit_tests.R
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..362e2e1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/tikzDevice_([-\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list