[med-svn] [r-cran-stringr] 04/09: Convert to dh-r

Andreas Tille tille at debian.org
Sat Nov 12 07:47:20 UTC 2016


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

tille pushed a commit to branch master
in repository r-cran-stringr.

commit f1875f756895c2500295b8a74868ec975aa5048f
Author: Andreas Tille <tille at debian.org>
Date:   Sat Nov 12 00:28:19 2016 +0100

    Convert to dh-r
---
 debian/changelog | 1 +
 debian/control   | 8 ++++----
 debian/rules     | 7 ++-----
 3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 385292d..c802bc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 r-cran-stringr (1.1.0-1) UNRELEASED; urgency=medium
 
   * New upstream version
+  * Convert to dh-r
 
  -- Andreas Tille <tille at debian.org>  Sat, 12 Nov 2016 00:26:27 +0100
 
diff --git a/debian/control b/debian/control
index e6e5c58..0b3fda1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Uploaders: Carlos Borroto <carlos.borroto at gmail.com>,
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev,
                r-cran-magrittr,
                r-cran-stringi
@@ -18,9 +18,9 @@ Package: r-cran-stringr
 Architecture: all
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${R:Depends},
-         r-cran-magrittr,
-         r-cran-stringi
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Make it easier to work with strings
  stringr is a set of simple wrappers that make R's string functions more
  consistent, simpler and easier to use. It does this by ensuring that:
diff --git a/debian/rules b/debian/rules
index 63cc99b..68d9a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,4 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
-
-# Require a number equal or superior than the R version the package was built with.
-install/r-$(debRreposname)-$(cranName)::
-	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >> debian/r-$(debRreposname)-$(cranName).substvars
+%:
+	dh $@ --buildsystem R

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



More information about the debian-med-commit mailing list