[med-svn] [r-cran-seqinr] 09/15: Mass commit uncommited changes:

Andreas Tille tille at debian.org
Sat Sep 23 06:55:21 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-seqinr.

commit bc310350dab04db82b833cc969cfda539cd8dd82
Author: Andreas Tille <tille at debian.org>
Date:   Sat Sep 23 08:27:04 2017 +0200

    Mass commit uncommited changes:
    
      * New upstream version
      * Convert to dh-r
      * Canonical homepage for CRAN
---
 debian/changelog |  8 ++++++++
 debian/control   | 10 +++++-----
 debian/copyright |  8 ++++----
 debian/rules     | 18 ++++++++++++++----
 4 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d0b3cf4..ded31a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+r-cran-seqinr (3.3-3-1) unstable; urgency=medium
+
+  * New upstream version
+  * Convert to dh-r
+  * Canonical homepage for CRAN
+
+ -- Andreas Tille <tille at debian.org>  Fri, 28 Oct 2016 11:52:36 +0200
+
 r-cran-seqinr (3.3-0-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/control b/debian/control
index 7248b05..6a1abaa 100644
--- a/debian/control
+++ b/debian/control
@@ -4,22 +4,22 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev,
                r-cran-ade4,
                r-cran-segmented
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-seqinr/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-seqinr/
-Homepage: http://cran.r-project.org/web/packages/seqinr
+Homepage: https://cran.r-project.org/package=seqinr
 
 Package: r-cran-seqinr
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${R:Depends},
-         r-cran-ade4,
-         r-cran-segmented
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R biological sequences retrieval and analysis
  Exploratory data analysis and data visualization for biological sequence
  (DNA and protein) data. Includes also utilities for sequence data
diff --git a/debian/copyright b/debian/copyright
index 329a95b..e1fe388 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,15 +1,15 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: Simon Penel <simon.penel at univ-lyon1.fr>
 Upstream-Name: seqinr
-Source: http://cran.r-project.org/web/packages/seqinr/
+Source: https://cran.r-project.org/package=seqinr
 
 Files: *
-Copyright: 2007-2014 Delphine Charif, Jean R. Lobry, Anamaria Necsulea,
+Copyright: 2007-2016 Delphine Charif, Jean R. Lobry, Anamaria Necsulea,
                      Leonor Palmeira, Simon Penel, Guy Perriere
 License: GPL-2+
 
 Files: debian/*
-Copyright: 2015 Andreas Tille <tille at debian.org>
+Copyright: 2015-2016 Andreas Tille <tille at debian.org>
 License: GPL-2+
 
 License: GPL-2+
diff --git a/debian/rules b/debian/rules
index a65e05f..4d86852 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,17 @@
 #!/usr/bin/make -f
 
-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/$(cranName)/sequences/*
-	chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranName)/abif/*
+%:
+	dh $@ --buildsystem R
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x $(debRlib)/$(cranNameOrig)/sequences/*
+	chmod -x $(debRlib)/$(cranNameOrig)/abif/*

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



More information about the debian-med-commit mailing list