[med-svn] [r-cran-deal] 04/12: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Thu Oct 19 10:07:43 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-deal.

commit 182d6dec99a5b21bca6d6cfd1a67c1a8607b41aa
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 19 11:50:46 2017 +0200

    Convert from cdbs to dh-r
---
 debian/changelog |  1 +
 debian/control   |  5 +++--
 debian/rules     | 17 +++++------------
 3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 50c4648..7297976 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ r-cran-deal (1:1.2-37-3) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.1
   * debhelper 10
   * Remove Ivo Maintz from Uploaders
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Thu, 19 Oct 2017 11:46:13 +0200
 
diff --git a/debian/control b/debian/control
index a32683b..05812c5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               r-base-dev,
-               cdbs
+               dh-r
 Standards-Version: 4.1.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-deal.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-deal.git
@@ -16,6 +15,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Learning Bayesian Networks with Mixed Variables
  Bayesian networks with continuous and/or discrete variables
  can be learned and compared from data.
diff --git a/debian/rules b/debian/rules
index 9914980..5500dd0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,8 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-### unfortunately this does not enable hardening
-# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-# DPKG_EXPORT_BUILDFLAGS = 1
-# include /usr/share/dpkg/buildflags.mk
+%:
+	dh $@ --buildsystem R
 
-include /usr/share/R/debian/r-cran.mk
-
-install/$(package)::
-	chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranName)/INDEX
-
-get-orig-source:
-	uscan --verbose --force-download
+override_dh_fixperms:
+	dh_fixperms
+	find debian -name INDEX -exed chmod -x \{\} \;

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



More information about the debian-med-commit mailing list