[med-svn] [r-cran-checkmate] 10/15: r-cran-backports now available, fix some packaging issues

Andreas Tille tille at debian.org
Mon Oct 9 09:34:23 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-checkmate.

commit e18bc065b444cfd6a45354080868d641882866fe
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 1 13:18:56 2016 +0000

    r-cran-backports now available, fix some packaging issues
---
 debian/changelog           | 5 ++---
 debian/control             | 5 +++--
 debian/rules               | 4 ++++
 debian/tests/run-unit-test | 4 ++--
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 39dc0aa..6ca77d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,11 @@
-r-cran-checkmate (1.8.1-1) UNRELEASED; urgency=medium
+r-cran-checkmate (1.8.1-1) unstable; urgency=medium
 
-  TODO: r-cran-backports
   * New upstream version
   * Convert to dh-r
   * Canonical homepage for CRAN
   * New Build-Depends: r-cran-backports
 
- -- Andreas Tille <tille at debian.org>  Sun, 30 Oct 2016 07:28:19 +0100
+ -- Andreas Tille <tille at debian.org>  Tue, 01 Nov 2016 10:59:40 +0100
 
 r-cran-checkmate (1.6.0-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 2e98009..ff52e39 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,18 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev (>= 3.0.0),
                r-cran-backports
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/packages/trunk/R/r-cran-checkmate/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-checkmate/trunk/
-Homepage:  https://cran.r-project.org/package=checkmate
+Homepage: https://cran.r-project.org/package=checkmate
 
 Package: r-cran-checkmate
 Architecture: any
 Depends: ${shlibs:Depends},
+         ${misc:Depends},
          ${R:Depends}
 Recommends: ${R:Recommends}
 Suggests: ${R:Suggests}
diff --git a/debian/rules b/debian/rules
index ae86733..64f3903 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,7 @@
 override_dh_install:
 	dh_install
 	find debian -name LICENSE -delete
+
+override_dh_fixperms:
+	dh_fixperms
+	find debian -name "*.md" -exec chmod -x \{\} \;
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index b8b6aac..2edc98f 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -3,9 +3,9 @@
 pkg=r-cran-checkmate
 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
 gunzip -r *
-LC_ALL=C R --no-save < test-all.r
-rm -fr $ADTTMP/*
+cat test-all.[Rr] | LC_ALL=C R --no-save

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



More information about the debian-med-commit mailing list