[med-svn] [r-cran-genetics] 03/08: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Thu Oct 19 16:20:37 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-genetics.

commit 8c5b59f97abae85fb04cba77f0e1364fd220014b
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 19 17:32:57 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 7baa5e4..3a91ee7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ r-cran-genetics (1.3.8.1-2) UNRELEASED; urgency=medium
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
   * debhelper 10
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Thu, 19 Oct 2017 17:27:56 +0200
 
diff --git a/debian/control b/debian/control
index 41ca0f7..f213d85 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,7 @@ Section: gnu-r
 Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               cdbs,
-               r-base-dev,
+               dh-r,
                r-cran-combinat,
                r-cran-mvtnorm,
                r-cran-gdata,
@@ -22,13 +21,9 @@ Homepage: http://cran.r-project.org/web/packages/genetics
 Package: r-cran-genetics
 Architecture: all
 Depends: ${R:Depends},
-         ${misc:Depends},
-         r-recommended,
-         r-cran-gtools,
-         r-cran-gdata,
-         r-cran-combinat,
-         r-cran-mvtnorm,
-         r-cran-mass
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package for population genetics
  Classes and methods for handling genetic data. Includes
  The package provides a library for the statistics environment R that
diff --git a/debian/rules b/debian/rules
index 88599ff..be50af1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+include /usr/share/dpkg/default.mk
 
-install/$(package)::
-	chmod 644 debian/$(package)/usr/lib/R/site-library/genetics/doc/*.pdf
+
+%:
+	dh $@ --buildsystem R
+
+override_dh_fixperms:
+	dh_fixperms
+	find debian -type f -name "*.pdf" -exec chmod -x \{\} \;

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



More information about the debian-med-commit mailing list