[r-cran-mcmc] 10/11: convert from cdbs to dh-r

Andreas Tille tille at debian.org
Wed Sep 6 20:05:44 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-mcmc.

commit 77ce08c9c33bbf2fb78ef7a36470e46c994a7391
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 6 22:01:29 2017 +0200

    convert from cdbs to dh-r
---
 debian/changelog |  1 +
 debian/control   |  5 +++--
 debian/rules     | 23 +++++------------------
 3 files changed, 9 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e193a03..f2ef852 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ r-cran-mcmc (0.9-5-1) UNRELEASED; urgency=medium
   * Take over package into Debian Science team maintenance
   * Verified d/watch and express this by setting version=4
   * cme fix dpkg-control
+  * convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Wed, 06 Sep 2017 21:51:53 +0200
 
diff --git a/debian/control b/debian/control
index 8081713..f8a6708 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,7 @@ Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>> 9),
                r-base-dev (>= 3.0),
-               cdbs,
-               dpkg-dev
+               dh-r
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-aer.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-aer.git
@@ -17,6 +16,8 @@ Architecture: any
 Depends: ${R:Depends},
          ${shlibs:Depends},
          ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Enhances: r-cran-mcmcpack
 Description: GNU R package for Markov Chain Monte Carlo simulations
  Simulates continuous distributions of random vectors using Markov
diff --git a/debian/rules b/debian/rules
index 949863e..d11cbb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +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
 
-PKG_CFLAGS=$(CFLAGS)
-PKG_CXXFLAGS=$(CXXFLAGS)
-PKG_CPPFLAGS=$(CPPFLAGS)
-PKG_FFLAGS=$(FFLAGS)
-
-export PKG_CFLAGS PKG_CXXFLAGS PKG_CPPFLAGS PKG_FFLAGS
-
-makeFlags="LDFLAGS=$(LDFLAGS)"
-
-include /usr/share/R/debian/r-cran.mk
-
-common-install-arch::
-		rm -vf $(debRlib)/R.css $(debRlib)/$(cranName)/COPYING
+override_dh_install:
+	dh_install
+	find debian -name COPYING -delete

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



More information about the debian-science-commits mailing list