[med-svn] [r-cran-data.table] 02/02: Initial debian/ packaging

Andreas Tille tille at debian.org
Wed Mar 23 09:15:30 UTC 2016


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

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

commit dcf0dc47c3fadd9dc022e849f77221259a114169
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 23 10:05:03 2016 +0100

    Initial debian/ packaging
---
 debian/README.test         |  9 +++++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 26 ++++++++++++++++++++++++++
 debian/copyright           | 31 +++++++++++++++++++++++++++++++
 debian/docs                |  3 +++
 debian/rules               |  3 +++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 12 ++++++++++++
 debian/watch               |  3 +++
 11 files changed, 97 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..4fe93f7
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+cd tests
+LC_ALL=C R --no-save < test-all.R
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..58819ab
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-data.table (1.9.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #796552)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 22 Mar 2016 21:32:09 +0100
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..291c9a4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: r-cran-data.table
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Alba Crespi <crespialba+debian at gmail.com>,
+           Andreas Tille <tille at debian.org>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev,
+               r-cran-chron
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-data.table.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-data.table.git
+Homepage: https://cran.r-project.org/web/packages/data.table/
+
+Package: r-cran-data.table
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${R:Depends},
+         r-cran-chron
+Description: GNU R extension of Data.frame
+ Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins,
+ fast add/modify/delete of columns by group using no copies at all, list
+ columns and a fast file reader (fread). Offers a natural and flexible
+ syntax, for faster development.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..187c507
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Matt Dowle <mattjdowle at gmail.com>
+Source: https://cran.r-project.org/web/packages/taxize/
+
+Files: *
+Copyright: 2013-2015 Matt Dowle <mdowle at mdowle.plus.com>,
+           T Short, S Lianoglou, A Srinivasan
+           with contributions from R Saporta, E Antonyan
+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 Street, 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..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..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..013d360
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+oname=data.table
+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
+LC_ALL=C R --no-save < test-all.R
+rm -fr $ADTTMP/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8b25598
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/data.table_([-0-9\.]*).tar.gz
+

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



More information about the debian-med-commit mailing list