[med-svn] [r-cran-data.table] 07/07: d/watch: version=4, fix autopkgtest
Andreas Tille
tille at debian.org
Sun Dec 4 16:23:41 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 71f93651daabee41f30aa9781ae5a41df205ea4a
Author: Andreas Tille <tille at debian.org>
Date: Sun Dec 4 16:48:45 2016 +0100
d/watch: version=4, fix autopkgtest
---
debian/changelog | 6 ++++--
debian/control | 2 +-
debian/tests/run-unit-test | 7 ++++---
debian/watch | 2 +-
4 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3cd1d87..1e3e319 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,14 @@
-r-cran-data.table (1.10.0-1) UNRELEASED; urgency=medium
+r-cran-data.table (1.10.0-1) unstable; urgency=medium
* New upstream version
* cme fix dpkg-control
* Convert to dh-r
* Canonical homepage for CRAN
* debhelper 10
+ * d/watch: version=4
+ * Fix autopkgtest
- -- Andreas Tille <tille at debian.org> Sun, 04 Dec 2016 16:44:21 +0100
+ -- Andreas Tille <tille at debian.org> Sun, 04 Dec 2016 16:49:01 +0100
r-cran-data.table (1.9.6-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index a7c9e37..60e9b89 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Alba Crespi <crespialba+debian at gmail.com>,
Andreas Tille <tille at debian.org>
Section: gnu-r
Priority: optional
-Build-Depends: debhelper (>= 10)
+Build-Depends: debhelper (>= 10),
dh-r,
r-base-dev,
r-cran-chron
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 013d360..75d76e0 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -1,12 +1,13 @@
#!/bin/sh -e
oname=data.table
-pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+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/* $ADTTMP
-LC_ALL=C R --no-save < test-all.R
-rm -fr $ADTTMP/*
+find . -name "*.gz" -exec gunzip \{\} \;
+LC_ALL=C R --no-save < testthat.R
diff --git a/debian/watch b/debian/watch
index 8b25598..ba00172 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-version=3
+version=4
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