[med-svn] [r-cran-epir] 04/10: Convert packaging from cdbs to dh-r

Andreas Tille tille at debian.org
Mon Oct 2 19:18:05 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-epir.

commit 17f9050d884139a896470a352303c30530479637
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 2 20:48:29 2017 +0200

    Convert packaging from cdbs to dh-r
---
 debian/changelog |  1 +
 debian/control   | 13 ++++---------
 debian/rules     | 12 +++++-------
 3 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 894b6f8..4afbef4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-epir (0.9-87-1) UNRELEASED; urgency=medium
 
   * New upstream version
   * Moved packaging from SVN to Git
+  * Convert packaging from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Mon, 02 Oct 2017 20:40:13 +0200
 
diff --git a/debian/control b/debian/control
index b66f043..2beaaa8 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 (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev,
                r-cran-survival,
                r-cran-hmisc,
@@ -17,14 +17,9 @@ Homepage: http://cran.r-project.org/web/packages/epiR
 Package: r-cran-epir
 Architecture: all
 Depends: ${misc:Depends},
-         ${R:Depends},
-         r-cran-survival,
-         r-cran-hmisc,
-         r-cran-biasedurn
-Suggests: r-cran-surveillance,
-          r-cran-epi,
-          r-cran-epibasix,
-          r-cran-epitools
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R Functions for analysing epidemiological data
  A package for analysing epidemiological data. Contains functions for
  directly and indirectly adjusting measures of disease frequency,
diff --git a/debian/rules b/debian/rules
index 0d61f94..cb3c202 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,8 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-epir package
-# Copyright 2008 by Andreas Tille <tille at debian.org>
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-# Require a number equal or superior than the R version the package was built with.
-install/$(package)::
-	chmod a-x debian/$(package)/usr/lib/R/site-library/epiR/DESCRIPTION
+override_dh_fixperms:
+	dh_fixperms
+	find . -name DESCRIPTION -exec chmod a-x \{\} \;

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



More information about the debian-med-commit mailing list