[med-svn] [r-cran-doparallel] 02/07: Convert packaging from cdbs do dh-r

Andreas Tille tille at debian.org
Mon Oct 9 14:24:36 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-doparallel.

commit 4b21106f8753286d845d390c0d98ed17a6c7a530
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 9 16:16:25 2017 +0200

    Convert packaging from cdbs do dh-r
---
 debian/changelog | 1 +
 debian/control   | 8 ++++----
 debian/rules     | 8 +++++---
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fb509cd..6b34956 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-doparallel (1.0.10-4) UNRELEASED; urgency=medium
 
   * Moved packaging from SVN to Git
   * debhelper 10
+  * Convert packaging from cdbs do dh-r
 
  -- Andreas Tille <tille at debian.org>  Mon, 09 Oct 2017 16:02:43 +0200
 
diff --git a/debian/control b/debian/control
index 959298d..e432cf4 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               cdbs,
+               dh-r,
                r-base-dev,
                r-cran-iterators,
                r-cran-foreach
@@ -17,9 +17,9 @@ Package: r-cran-doparallel
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${R:Depends},
-         r-cran-iterators,
-         r-cran-foreach
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Suggests: r-cran-caret, r-cran-mlbench, r-cran-rpart
 Description: GNU R foreach parallel adaptor for the parallel package
  This GNU R package provides a parallel backend for the %dopar% function
diff --git a/debian/rules b/debian/rules
index a9fa538..1717894 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	chmod +x debian/$(package)/usr/lib/R/site-library/$(cranNameOrig)/unitTests/runTestSuite.sh
+override_dh_fixperms:
+	dh_fixperms
+	find debian -name runTestSuite.sh -exec chmod +x \{\} \;

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



More information about the debian-med-commit mailing list