[med-svn] [r-cran-magrittr] 03/06: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Fri Oct 20 09:24:10 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-magrittr.

commit 862eab7c5393b6cfbbd234c636f8af1816966f52
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 20 11:11:38 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index c0755e1..ff9621f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-magrittr (1.5-4) UNRELEASED; urgency=medium
 
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 20 Oct 2017 11:09:29 +0200
 
diff --git a/debian/control b/debian/control
index 73bad51..49e63e0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,19 +4,18 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
-               r-base-dev
+               dh-r
 Standards-Version: 4.1.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-magrittr.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-magrittr.git
 Homepage: http://cran.r-project.org/web/packages/R.oo
 
 Package: r-cran-magrittr
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
+Architecture: all
+Depends: ${misc:Depends},
          ${R:Depends}
-Recommends: r-cran-crayon
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R forward-pipe operator
  Provides a mechanism for chaining commands with a new forward-pipe
  operator, %>%. This operator will forward a value, or the result of an
diff --git a/debian/rules b/debian/rules
index 5000db0..7106257 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+override_dh_install:
+	dh_install
+	find . -name LICENSE -delete

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



More information about the debian-med-commit mailing list