[r-cran-geepack] 10/17: Convert to dh-r

Andreas Tille tille at debian.org
Fri Dec 16 15:39:24 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-geepack.

commit 7a3b00ea7b892f7d9f66f3a2991433806f2e93d0
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 16 15:50:13 2016 +0100

    Convert to dh-r
---
 debian/changelog |  1 +
 debian/control   |  4 +++-
 debian/rules     | 24 +++++++-----------------
 3 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 117ef93..e810e8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ r-cran-geepack (1.2-1-1) UNRELEASED; urgency=medium
      - fix regexp
   * Take over packaging into Debian Science team
   * cme fix dpkg-control
+  * Convert to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 16 Dec 2016 15:32:58 +0100
 
diff --git a/debian/control b/debian/control
index de529d6..70e9d12 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
                r-base-dev,
-               cdbs
+               dh-r
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-geepack.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-geepack.git
@@ -16,6 +16,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Generalized Estimating Equation Package for R
  Generalized estimating equations solver for parameters in mean,
  scale, and correlation structures, through mean link, scale link, and
diff --git a/debian/rules b/debian/rules
index cb19a0c..27f467f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,11 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-geepack package
 
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-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
+%:
+	dh $@ --buildsystem R
 
 ## Fixup permissions
-common-install-arch::
-	chmod -x debian/r-cran-geepack/usr/lib/R/site-library/geepack/include/*.h debian/r-cran-geepack/usr/lib/R/site-library/geepack/include/tnt/*.h debian/r-cran-geepack/usr/lib/R/site-library/geepack/CITATION debian/r-cran-geepack/usr/lib/R/site-library/geepack/doc/geepack-manual.Rnw
+override_dh_fixperms:
+	dh_fixperms
+	find debian -name "*.h" -type f -exec chmod -x \{\} \;
+	find debian -name "CITATION" -type f -exec chmod -x \{\} \;
+	find debian -name "*.Rnw" -type f -exec chmod -x \{\} \;

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



More information about the debian-science-commits mailing list