[r-cran-matchit] 40/45: Convert packaging from cdbs to dh-r

Andreas Tille tille at debian.org
Fri Oct 20 06:17:24 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-matchit.

commit 7550e028f2b5be84547546556baa1482e7be2b03
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 20 08:08:32 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index b9d3b3e..02045c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ matchit (2.4-21-2) UNRELEASED; urgency=medium
   * cme fix dpkg-control
   * Standards-Version: 4.1.1
   * debhelper 10
+  * Convert packaging from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 20 Oct 2017 07:58:43 +0200
 
diff --git a/debian/control b/debian/control
index b193e41..ac6bec7 100644
--- a/debian/control
+++ b/debian/control
@@ -18,12 +18,9 @@ Homepage: http://gking.harvard.edu/matchit/
 Package: r-cran-matchit
 Architecture: all
 Depends: ${R:Depends},
-         r-cran-rpart,
-         r-cran-mass,
-         r-cran-nnet,
-         r-cran-mgcv,
          ${misc:Depends}
-Suggests: r-cran-zelig
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package of nonparametric matching methods
  MatchIt implements the suggestions of Ho, Imai, King, and Stuart
  (2004) for improving parametric statistical models by preprocessing
diff --git a/debian/rules b/debian/rules
index 4f2290a..d11cbb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +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>
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-common-binary-post-install-indep::
-	rm -vf $(debRlib)/R.css $(debRlib)/$(cranNameLC)/COPYING
-	rm -vf $(debRlib)/MatchIt/doc/makematchH
-	rm -vf $(debRlib)/MatchIt/doc/Makefile
+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-matchit.git



More information about the debian-science-commits mailing list