[r-cran-rnetcdf] 02/08: Convert to dh-r

Andreas Tille tille at debian.org
Tue Nov 29 18:27:53 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-rnetcdf.

commit b38d8ebdc3e7c28bb7b0d134c60ca505f3e061e6
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 29 19:05:00 2016 +0100

    Convert to dh-r
---
 debian/changelog | 3 ++-
 debian/control   | 4 +++-
 debian/rules     | 9 +++++----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e4b95a4..e03d063 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,7 +12,8 @@ r-cran-rnetcdf (1.8-2-1) UNRELEASED; urgency=low
   * debian/patches: removed hardening patches.
 
   [ Andreas Tille ]
-  * cme fix dpkg-control 
+  * cme fix dpkg-control
+  * Convert to dh-r
 
  -- Andreas Tille <tille at debian.org>  Tue, 29 Nov 2016 19:00:24 +0100
 
diff --git a/debian/control b/debian/control
index 7f7b4b4..e4f4d44 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Filippo Rusconi <lopippo at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev,
                libnetcdf-dev,
                libudunits2-dev
@@ -18,6 +18,8 @@ Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package that provides an R interface to NetCDF datasets
  This package provides an R interface to Unidata's NetCDF library
  functions. NetCDF (network Common Data Form) is a set of interfaces
diff --git a/debian/rules b/debian/rules
index 0d617f9..b539316 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,12 @@
 # debian/rules file for the Debian/GNU Linux r-cran-rnetcdf package
 # Copyright 2014 by Sebastian Gibb <sgibb.debian at gmail.com>
 
-DEB_DH_ALWAYS_EXCLUDE := LICENSE
-DEB_DH_MD5SUMS_ARGS := --exclude=LICENSE
-DEB_INSTALL_DOCS_ALL :=
+%:
+	dh $@ --buildsystem R
 
-include /usr/share/R/debian/r-cran.mk
+override_dh_install:
+	dh_install
+	find debian -name LICENSE -delete
 
 get-orig-source:
 	## download newest version from CRAN

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



More information about the debian-science-commits mailing list