[med-svn] [r-cran-genabel] 03/07: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Thu Oct 19 12:40: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-genabel.

commit 30072a6217ceacbfbe386f555228ca2fb0c79fed
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 19 14:30:37 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 241a478..c755958 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ r-cran-genabel (1.8-0-2) UNRELEASED; urgency=medium
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
   * debhelper 10
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Thu, 19 Oct 2017 14:25:37 +0200
 
diff --git a/debian/control b/debian/control
index b042998..dab4112 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,7 @@ Uploaders: Steffen Moeller <moeller at debian.org>,
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               cdbs,
-               r-base-dev,
+               dh-r,
                r-cran-mass,
                r-cran-genabel.data
 Standards-Version: 4.1.1
@@ -16,13 +15,11 @@ Homepage: http://www.genabel.org/
 
 Package: r-cran-genabel
 Architecture: any
-Depends: ${shlibs:Depends},
-         ${R:Depends},
-         r-cran-mass,
-         r-cran-genabel.data
-Suggests: r-cran-genetics,
-          r-cran-haplo.stats,
-          r-bioc-qvalue
+Depends: ${R:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package for genome-wide SNP association analysis
  The package offers the R library GenABEL for the hunt of genetic contributions
  to a disease (or any other pheonypical trait) by so called genome-wide
diff --git a/debian/rules b/debian/rules
index b980333..de2b921 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+include /usr/share/dpkg/default.mk
 
-install/$(package)::
-	find debian/$(package)/usr/lib/R/site-library/GenABEL/ -type f -exec chmod 644 \{\} \;
 
-DEB_INSTALL_CHANGELOGS_ALL = ChangeLog
+%:
+	dh $@ --buildsystem R
+
+override_dh_install:
+	dh_install
+	find debian/$(DEB_SOURCE)/usr/lib/R/site-library/GenABEL/ -type f -exec chmod -x \{\} \;

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



More information about the debian-med-commit mailing list