[r-cran-mnp] 05/08: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Fri Sep 8 14:34:03 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-mnp.

commit 403b1f88e2354356b56b7c88ddfe080b93983879
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 8 16:23:12 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 75d5ad5..6e9b85f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ r-cran-mnp (3.0-2-1) UNRELEASED; urgency=medium
   * Take over package into Debian Science team maintenance
   * cme fix dpkg-control
   * debhelper 10
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 08 Sep 2017 15:58:57 +0200
 
diff --git a/debian/control b/debian/control
index f8b6459..8456b77 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
                r-base-dev (>= 3.0),
-               cdbs,
+               dh-r,
                r-cran-mass,
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-mnp.git
@@ -14,11 +14,11 @@ Homepage: http://www.princeton.edu/~kimai/research/MNP.html
 
 Package: r-cran-mnp
 Architecture: any
-Depends: ${R:Depends},
-         r-cran-mass,
-         ${shlibs:Depends},
-         ${misc:Depends}
-Suggests: r-cran-mcmcpack
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Enhances: r-cran-mcmcpack
 Description: GNU R package for fitting multinomial probit (MNP) models
  MNP is an R package that fits Bayesian Multinomial Probit (MNP)
diff --git a/debian/rules b/debian/rules
index 2f15d2a..ae86733 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,8 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-car package
-# Copyright 2003 by Dirk Eddelbuettel <edd at debian.org>
 
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
+%:
+	dh $@ --buildsystem R
 
-include /usr/share/R/debian/r-cran.mk
-
-common-install-arch:: R_any_arch
-	rm -vf $(debRlib)/R.css $(debRlib)/$(cranName)/COPYING $(debRlib)/$(cranName)/LICENSE
+override_dh_install:
+	dh_install
+	find debian -name LICENSE -delete

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



More information about the debian-science-commits mailing list