[med-svn] [r-cran-epicalc] 01/06: Convert cdbs to dh-r

Andreas Tille tille at debian.org
Sun Oct 1 18:26:08 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-epicalc.

commit c9970e4391349adb5763acbf24dfc9cb8375783b
Author: Andreas Tille <tille at debian.org>
Date:   Sun Oct 1 19:44:14 2017 +0200

    Convert cdbs to dh-r
---
 debian/changelog |  1 +
 debian/control   | 18 +++++-------------
 debian/rules     | 11 +++++------
 3 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 473fefa..95cd91b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 r-cran-epicalc (2.15.1.0-3) UNRELEASED; urgency=medium
 
   * Moved packaging from SVN to Git
+  * Convert cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Sun, 01 Oct 2017 19:39:57 +0200
 
diff --git a/debian/control b/debian/control
index 723807f..b17042b 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-foreign,
                r-cran-survival,
@@ -17,18 +17,10 @@ Homepage: http://cran.r-project.org/web/packages/epicalc
 
 Package: r-cran-epicalc
 Architecture: all
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${R:Depends},
-         r-cran-foreign,
-         r-cran-survival,
-         r-cran-mass,
-         r-cran-nnet
-Suggests: r-cran-surveillance,
-          r-cran-epi,
-          r-cran-epibasix,
-          r-cran-epitools,
-          r-cran-epir
+Depends: ${misc:Depends},
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R Epidemiological calculator
  Functions making R easy for epidemiological calculation.
  .
diff --git a/debian/rules b/debian/rules
index 716315e..ffc9253 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,8 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-epicalc package
-# Copyright 2008 by Andreas Tille <tille at debian.org>
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	chmod a-x debian/$(package)/usr/lib/R/site-library/epicalc/DESCRIPTION
\ No newline at end of file
+override_dh_install:
+	dh_install
+	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-epicalc.git



More information about the debian-med-commit mailing list