[med-svn] [r-bioc-edger] 04/07: Switch to dh-r

Andreas Tille tille at debian.org
Fri Oct 28 08:36:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-bioc-edger.

commit a67fc8ab1ce3b264810556f5608e0c683e06251d
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 28 10:00:21 2016 +0200

    Switch to dh-r
---
 debian/changelog |  1 +
 debian/control   |  9 ++++-----
 debian/rules     | 18 ++++++++++++------
 3 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a1e92e2..26e1d78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 r-bioc-edger (3.16.1+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream version
+  * Switch to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 28 Oct 2016 09:49:31 +0200
 
diff --git a/debian/control b/debian/control
index a2aad8c..43f15e6 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,9 @@ Source: r-bioc-edger
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev,
                r-bioc-limma (>= 3.26)
 Standards-Version: 3.9.8
@@ -17,9 +16,9 @@ Package: r-bioc-edger
 Architecture: any
 Depends: ${R:Depends},
          ${misc:Depends},
-         ${shlibs:Depends},
-         r-bioc-limma (>= 3.26)
-Suggests: r-cran-mass
+         ${shlibs:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Empirical analysis of digital gene expression data in R
  Bioconductor package for differential expression analysis of whole
  transcriptome sequencing (RNA-seq) and digital gene expression
diff --git a/debian/rules b/debian/rules
index cb8bb34..d7c8e85 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,16 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
+debRreposname   := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}' | sed 's/r-\([a-z]\+\)-.*/\1/')
+awkString       := "'/^(Package|Bundle):/ {print $$2 }'"
+cranNameOrig    := $(shell awk "$(awkString)" DESCRIPTION)
+cranName        := $(shell echo "$(cranNameOrig)" | tr A-Z a-z)
+package         := r-$(debRreposname)-$(cranName)
+debRdir         := usr/lib/R/site-library
+debRlib         := $(CURDIR)/debian/$(package)/$(debRdir)
 
-debRreposname = bioc
+%:
+	dh $@ --buildsystem R
 
-include /usr/share/R/debian/r-cran.mk
-
-install/$(package)::
-	chmod 644 debian/$(package)/usr/lib/R/site-library/edgeR/doc/*
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x $(debRlib)/$(cranNameOrig)/doc/*

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



More information about the debian-med-commit mailing list