[r-cran-dt] 01/06: Replace jquery and datatables by Debian packaged versions

Andreas Tille tille at debian.org
Tue Jan 2 09:58:13 UTC 2018


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-dt.

commit 6665392af46e409e04a9b3f5331f16b2ee34bade
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 2 09:34:40 2018 +0100

    Replace jquery and datatables by Debian packaged versions
---
 debian/changelog | 2 +-
 debian/copyright | 2 ++
 debian/links     | 2 ++
 debian/watch     | 4 +++-
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6534d54..c66db3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-r-cran-dt (0.2-1) UNRELEASED; urgency=medium
+r-cran-dt (0.2+dfsg-1) UNRELEASED; urgency=medium
 
   * Initial release (closes: #xxxxxx)
 
diff --git a/debian/copyright b/debian/copyright
index d84d47b..5f5a7a5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,8 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: DT
 Upstream-Contact: Yihui Xie <xie at yihui.name>
 Source: https://cran.r-project.org/package=DT
+Files-Excluded: */datatables
+                */jquery
 
 Files: *
 Copyright: 2014-2016 Yihui Xie, Joe Cheng, JJ Allaire,
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..4656278
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery			usr/lib/R/site-library/DT/htmlwidgets/lib/jquery
+usr/share/javascript/jquery-datatables		usr/lib/R/site-library/DT/htmlwidgets/lib/datatables
diff --git a/debian/watch b/debian/watch
index da80d5c..6e8ad88 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
 version=4
-https://cran.r-project.org/src/contrib/DT_([-\d.]*)\.tar\.gz
+
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg[0-9]*//g,repack,compression=xz" \
+  https://cran.r-project.org/src/contrib/DT_([-\d.]*)\.tar\.gz

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



More information about the debian-science-commits mailing list