[r-cran-msm] 10/31: New upstream version, Depend on a version equal or superior than the R version used to build the package

Sébastien Villemot sebastien at debian.org
Thu Nov 16 16:17:09 UTC 2017


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

sebastien pushed a commit to branch master
in repository r-cran-msm.

commit 32eada757a23959bb9a03820d306d584e50cb069
Author: Andreas Tille <tille at debian.org>
Date:   Tue Mar 9 21:56:00 2010 +0000

    New upstream version, Depend on a version equal or superior than the R version used to build the package
---
 debian/changelog | 10 ++++++++++
 debian/control   |  4 ++--
 debian/rules     |  7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cd6e05e..23164c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+r-cran-msm (0.9.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Incremented Standards-Version to reflect conformance with Policy 3.8.4
+    (debian/control, no changes needed).
+  * Depend on a version equal or superior than the R version used to build
+    the package, by adding a R:Depends substvar (debian/control, debian/rules).
+
+ -- Andreas Tille <tille at debian.org>  Tue, 09 Mar 2010 22:27:37 +0100
+
 r-cran-msm (0.9.5-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/control b/debian/control
index 1bbe060..5611a34 100644
--- a/debian/control
+++ b/debian/control
@@ -5,14 +5,14 @@ Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev, r-cran-mvtnorm, r-cran-survival
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: http://cran.r-project.org/web/packages/msm/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-msm/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-msm/trunk/
 
 Package: r-cran-msm
 Architecture: any
-Depends: ${shlibs:Depends}, r-base-core, r-cran-mvtnorm, r-cran-survival
+Depends: ${shlibs:Depends}, ${R:Depends}, r-cran-mvtnorm, r-cran-survival
 Description: GNU R Multi-state Markov and hidden Markov models in continuous time
  Functions for fitting general continuous-time Markov and hidden Markov
  multi-state models to longitudinal data. Both Markov transition rates and the
diff --git a/debian/rules b/debian/rules
index 79f2f83..aba3bcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,15 @@
 
 include /usr/share/R/debian/r-cran.mk
 
-pkg:=r-cran-msm
+pkg:=r-$(debRreposname)-$(cranName)
 
 clean::
+	echo "Clean up for package $(pkg)"
 	rm -f src/msm.so
 
 install/$(pkg)::
 	chmod 644 debian/$(pkg)/usr/lib/R/site-library/msm/NEWS
+
+	# Require a number equal or superior than the R version the package was built with.
+	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/'))" >> debian/$(pkg).substvars
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-msm.git



More information about the debian-science-commits mailing list