[med-svn] [r-cran-testit] 02/05: * New upstream version * Convert to dh-r * Canonical homepage for CRAN * d/watch: version=4

Andreas Tille tille at debian.org
Fri Sep 29 14:54:22 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-testit.

commit 3b8abcf48fe4dae13b8cbf331205f5550a300c6a
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 10 20:24:48 2016 +0000

      * New upstream version
      * Convert to dh-r
      * Canonical homepage for CRAN
      * d/watch: version=4
---
 debian/changelog |  9 +++++++++
 debian/control   |  6 ++++--
 debian/copyright |  3 ++-
 debian/rules     | 13 +++++++------
 debian/watch     |  2 +-
 5 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4518240..ef643ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+r-cran-testit (0.6-1) unstable; urgency=medium
+
+  * New upstream version
+  * Convert to dh-r
+  * Canonical homepage for CRAN
+  * d/watch: version=4
+
+ -- Andreas Tille <tille at debian.org>  Thu, 10 Nov 2016 21:20:46 +0100
+
 r-cran-testit (0.5-1) unstable; urgency=low
 
   * Initial release (closes: #837342)
diff --git a/debian/control b/debian/control
index 013a1ec..af956ce 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,19 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-testit/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-testit/trunk/
-Homepage: http://cran.r-project.org/web/packages/testit
+Homepage: https://cran.r-project.org/package=testit
 
 Package: r-cran-testit
 Architecture: all
 Depends: ${R:Depends},
          ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: simple package for testing GNU R packages
  This GNU R package provides two convenience functions assert() and
  test_pkg() to facilitate testing R packages.
diff --git a/debian/copyright b/debian/copyright
index 070c37d..121fe6c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: Yihui Xie <xie at yihui.name>
-Source: http://cran.r-project.org/web/packages/testit
+Upstream-Name: testit
+Source: https://cran.r-project.org/package=testit
 
 Files: *
 Copyright: 2014-2016 Yihui Xie <xie at yihui.name>
diff --git a/debian/rules b/debian/rules
index e2bc9e7..12f114f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,14 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+override_dh_install:
+	dh_install
+	find debian -name LICENSE -delete
 
-# if I would only know how to hook in after dh_installdocs - forget this magic
-# cdbs thingy and remove the file rather in the test sccript ...
-	# Delete tests depending from devtools since this is not (yet) packaged
+# needs checking idea whether this is needed any more
+    # Delete tests depending from devtools since this is not (yet) packaged
 #	cd debian/$(package)/usr/share/doc/$(package)/tests/ ; \
 #	if grep -qR devtools * ; then \
 #	    rm -f `grep -lR devtools *` ; \
diff --git a/debian/watch b/debian/watch
index dbe0ff2..dc9e63e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 http://cran.r-project.org/src/contrib/testit_([-\d.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-testit.git



More information about the debian-med-commit mailing list