[med-svn] [r-bioc-limma] 04/06: Generic BioConductor homepage, Switch to dh-r

Andreas Tille tille at debian.org
Fri Oct 28 07:47:41 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-limma.

commit fb3a261c4e8a71f27c9c0ba49ddfead2ea66b296
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 28 09:38:16 2016 +0200

    Generic BioConductor homepage, Switch to dh-r
---
 debian/changelog |  2 ++
 debian/control   | 11 +++++------
 debian/copyright |  9 ++++-----
 debian/rules     | 24 +++++++++++++++---------
 4 files changed, 26 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 66b0489..a4922be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 r-bioc-limma (3.30.0+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream version
+  * Generic BioConductor homepage
+  * Switch to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 28 Oct 2016 09:25:52 +0200
 
diff --git a/debian/control b/debian/control
index a1194b4..403e14f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,23 +2,22 @@ Source: r-bioc-limma
 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
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-bioc-limma.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/r-bioc-limma.git
-Homepage: http://bioinf.wehi.edu.au/limma/
+Homepage: https://bioconductor.org/packages/limma/
 
 Package: r-bioc-limma
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${R:Depends},
-         r-cran-statmod
-Suggests: r-bioc-go.db
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: linear models for microarray data
  A Bioconductor package for the analysis of gene expression microarray data,
  especially the use of linear models for analysing designed experiments and the
diff --git a/debian/copyright b/debian/copyright
index 93afdba..96febe3 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,5 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Source: http://www.bioconductor.org/packages/release/bioc/src/contrib/limma_3.18.10.tar.gz
- inst/doc/usersguide.pdf is not accompanied by its source, and therefore removed in the “dfsg” version.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://bioconductor.org/packages/limma/
 Comment: licensing discussed on https://stat.ethz.ch/pipermail/bioc-devel/2011-May/002620.html
  LIMMA is LGPL-2+ code, and depends on R (GPL-2) and the GNU C
  library (LGPL-2.1+). Taken as a whole, its license is effectively GPL-2, plus
@@ -9,12 +8,12 @@ Comment: licensing discussed on https://stat.ethz.ch/pipermail/bioc-devel/2011-M
 Files-Excluded: inst/doc/usersguide.pdf
 
 Files: *
-Copyright: 2005-2014 Gordon Smyth <smyth at wehi.edu.au>
+Copyright: 2005-2016 Gordon Smyth <smyth at wehi.edu.au>
 License: LGPL-2+
 
 Files: debian/*
 Copyright: 2011-2014 Charles Plessy <plessy at debian.org>
-           2014 Andreas Tille <tille at debian.org>
+           2014-2016 Andreas Tille <tille at debian.org>
 License: LGPL-2+
 
 License: LGPL-2+
diff --git a/debian/rules b/debian/rules
index da49d75..68fbdc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,20 @@
 #!/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
-
-DEB_INSTALL_CHANGELOGS_ALL = inst/doc/changelog.txt
-
-install/$(package)::
-	chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranName)/CITATION
-	chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranName)/doc/*
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x $(debRlib)/$(cranNameOrig)/CITATION
+	chmod -x $(debRlib)/$(cranNameOrig)/doc/*
 
+override_dh_installchangelogs:
+	dh_installchangelogs inst/doc/changelog.txt

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



More information about the debian-med-commit mailing list