[med-svn] r22872 - trunk/packages/R/r-bioc-biocparallel/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Tue Oct 25 20:46:10 UTC 2016


Author: tille
Date: 2016-10-25 20:46:09 +0000 (Tue, 25 Oct 2016)
New Revision: 22872

Modified:
   trunk/packages/R/r-bioc-biocparallel/trunk/debian/changelog
   trunk/packages/R/r-bioc-biocparallel/trunk/debian/control
   trunk/packages/R/r-bioc-biocparallel/trunk/debian/rules
Log:
Switch to dh-r, which was a bit clumsy due to missing variables (see #842092)


Modified: trunk/packages/R/r-bioc-biocparallel/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-biocparallel/trunk/debian/changelog	2016-10-25 20:13:35 UTC (rev 22871)
+++ trunk/packages/R/r-bioc-biocparallel/trunk/debian/changelog	2016-10-25 20:46:09 UTC (rev 22872)
@@ -1,9 +1,10 @@
-r-bioc-biocparallel (1.8.0-1) UNRELEASED; urgency=medium
+r-bioc-biocparallel (1.8.0-1) unstable; urgency=medium
 
   * New upstream version
   * Generic BioConductor homepage
+  * Switch to dh-r
 
- -- Andreas Tille <tille at debian.org>  Tue, 25 Oct 2016 22:11:02 +0200
+ -- Andreas Tille <tille at debian.org>  Tue, 25 Oct 2016 22:18:47 +0200
 
 r-bioc-biocparallel (1.6.0-1) unstable; urgency=medium
 

Modified: trunk/packages/R/r-bioc-biocparallel/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-biocparallel/trunk/debian/control	2016-10-25 20:13:35 UTC (rev 22871)
+++ trunk/packages/R/r-bioc-biocparallel/trunk/debian/control	2016-10-25 20:46:09 UTC (rev 22872)
@@ -5,13 +5,13 @@
 Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
                r-base-dev,
                r-cran-batchjobs (>= 1.6),
                r-cran-foreach,
                r-cran-futile.logger,
                r-cran-snow,
-               r-bioc-biocgenerics
+               r-bioc-biocgenerics,
+               dh-r
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-biocparallel/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-biocparallel/trunk/
@@ -21,14 +21,9 @@
 Architecture: all
 Depends: ${R:Depends},
          ${misc:Depends},
-         r-cran-batchjobs (>= 1.6),
-         r-cran-foreach,
-         r-cran-futile.logger,
-         r-cran-snow,
-         r-bioc-biocgenerics
-Recommends: r-cran-doparallel,
-            r-bioc-rsamtools
-Suggests: r-cran-mpi
+         ${shlibs:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: BioConductor facilities for parallel evaluation
  This BioConductor package provides modified versions and novel
  implementation of functions for parallel evaluation, tailored to use

Modified: trunk/packages/R/r-bioc-biocparallel/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-bioc-biocparallel/trunk/debian/rules	2016-10-25 20:13:35 UTC (rev 22871)
+++ trunk/packages/R/r-bioc-biocparallel/trunk/debian/rules	2016-10-25 20:46:09 UTC (rev 22872)
@@ -1,7 +1,16 @@
 #!/usr/bin/make -f
 
-debRreposname=bioc
-include /usr/share/R/debian/r-cran.mk
+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)
 
-install/$(package)::
-	chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranNameOrig)/snow/RMPInode.R
+%:
+	dh $@ --buildsystem R
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x $(debRlib)/$(cranNameOrig)/snow/RMPInode.R




More information about the debian-med-commit mailing list