[r-cran-jsonlite] 03/07: Convert to dh-r

Andreas Tille tille at debian.org
Wed Nov 16 09:16:46 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-jsonlite.

commit 7adc771aaa47a42b7b4142434af4051e198260d3
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 16 10:03:24 2016 +0100

    Convert to dh-r
---
 debian/changelog |  1 +
 debian/control   |  4 +++-
 debian/rules     | 21 ++-------------------
 3 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2db8656..f6aaefd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ r-cran-jsonlite (1.1-1) UNRELEASED; urgency=medium
   * Import packaging into Debian Science git and maintain in Debian Science
     team
   * New upstream version
+  * Convert to dh-r
 
  -- Andreas Tille <tille at debian.org>  Wed, 16 Nov 2016 09:42:13 +0100
 
diff --git a/debian/control b/debian/control
index 7aa517e..781980d 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-jsonlite.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-jsonlite.git
@@ -16,6 +16,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: Robust, High Performance JSON Parser and Generator for R
  A fast JSON parser and generator optimized for statistical data and
  the web. Started out as a fork of 'RJSONIO', but has been completely
diff --git a/debian/rules b/debian/rules
index c74269c..68d9a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,4 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-jsonlite 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
-
-## Remove extra license file
-common-install-arch::
-	rm -vf debian/r-cran-jsonlite/usr/lib/R/site-library/jsonlite/LICENSE
+%:
+	dh $@ --buildsystem R

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



More information about the debian-science-commits mailing list