[med-svn] [r-cran-filehash] 01/07: Convert packaging from cdbs do dh-r
Andreas Tille
tille at debian.org
Tue Oct 10 10:14:35 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-filehash.
commit ce576eddb3d66159dec1d4cefaf6fa61f1597bad
Author: Andreas Tille <tille at debian.org>
Date: Tue Oct 10 12:01:15 2017 +0200
Convert packaging from cdbs do dh-r
---
debian/changelog | 1 +
debian/control | 8 +++++---
debian/rules | 17 +++++------------
3 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 24a8a17..50bf2c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
r-cran-filehash (2.3-2) UNRELEASED; urgency=medium
* Moved packaging from SVN to Git
+ * Convert packaging from cdbs do dh-r
-- Andreas Tille <tille at debian.org> Tue, 10 Oct 2017 11:47:12 +0200
diff --git a/debian/control b/debian/control
index 5bb6ad3..e05d5da 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ 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/cgit/debian-med/r-cran-filehash.git
@@ -13,9 +13,11 @@ Homepage: http://cran.r-project.org/web/packages/filehash
Package: r-cran-filehash
Architecture: any
-Depends: ${R:Depends},
+Depends: ${shlibs:Depends},
${misc:Depends},
- ${shlibs:Depends}
+ ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
Description: GNU R simple key-value database
This GNU R package implements a simple key-value style database where
character string keys are associated with data values that are stored on
diff --git a/debian/rules b/debian/rules
index e2bc9e7..ae86733 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,8 @@
#!/usr/bin/make -f
-include /usr/share/R/debian/r-cran.mk
-
-install/$(package)::
- rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
-
-# 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
-# cd debian/$(package)/usr/share/doc/$(package)/tests/ ; \
-# if grep -qR devtools * ; then \
-# rm -f `grep -lR devtools *` ; \
-# fi
+%:
+ dh $@ --buildsystem R
+override_dh_install:
+ dh_install
+ find debian -name LICENSE -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-filehash.git
More information about the debian-med-commit
mailing list