[r-cran-markdown] 06/11: Convert packaging from cdbs to dh-r

Andreas Tille tille at debian.org
Tue Oct 24 09:15:00 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-markdown.

commit 0011b8967cde3c0034fbef67f41724a51a836c59
Author: Andreas Tille <tille at debian.org>
Date:   Tue Oct 24 10:20:09 2017 +0200

    Convert packaging from cdbs to dh-r
---
 debian/changelog |  1 +
 debian/control   |  9 +++++----
 debian/rules     | 12 ++----------
 3 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6621f28..fae5942 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ r-cran-markdown (0.8-1) UNRELEASED; urgency=medium
   * Secure URI in watch file
   * Add missing copyright statements
   * debhelper 10
+  * Convert packaging from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Tue, 24 Oct 2017 10:12:41 +0200
 
diff --git a/debian/control b/debian/control
index dfea859..22976a7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,8 @@ Uploaders: Joost van Baal-Ilić <joostvb at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               r-base-dev,
+               dh-r,
                r-cran-mime,
-               cdbs
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-markdown.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-markdown.git
@@ -16,8 +15,10 @@ Package: r-cran-markdown
 Architecture: any
 Depends: ${shlibs:Depends},
          ${R:Depends},
-         libjs-mathjax,
-         r-cran-mime,
+         ${misc:Depends},
+         libjs-mathjax
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package providing R bindings to the Sundown Markdown rendering library
  Provides R bindings to the Sundown Markdown rendering library by
  Vicent Marti
diff --git a/debian/rules b/debian/rules
index bc2a6f9..68d9a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,4 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-# export DH_VERBOSE=1
-
-# Use hardening flags for linking
-include /usr/share/dpkg/buildflags.mk
-
-include /usr/share/R/debian/r-cran.mk
-
-common-install-arch::
-	rm -vf $(debRlib)/$(cranNameOrig)/NEWS
+%:
+	dh $@ --buildsystem R

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



More information about the debian-science-commits mailing list