[med-svn] [r-cran-rhandsontable] 08/08: Get rid of two lintian errors which are false positives

Andreas Tille tille at debian.org
Fri Dec 1 12:27:45 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-rhandsontable.

commit 8f081ae7c01e8955c60e4ae5b8fadd8a69b261f7
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 1 13:27:10 2017 +0100

    Get rid of two lintian errors which are false positives
---
 debian/changelog                | 1 -
 debian/copyright                | 1 -
 debian/rules                    | 5 +++++
 debian/source/lintian-overrides | 5 +++++
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1c6cbfe..a8295f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,6 @@ r-cran-rhandsontable (0.3.4+dfsg-1) UNRELEASED; urgency=medium
 
   * Initial release (closes: #xxxxxx)
   TODO
-  E: r-cran-rhandsontable source: source-is-missing inst/htmlwidgets/lib/chroma/chroma.min.js
   E: r-cran-rhandsontable source: source-is-missing inst/htmlwidgets/lib/sparkline/jquery.sparkline.min.js
 
  -- Andreas Tille <tille at debian.org>  Tue, 10 Oct 2017 22:58:51 +0200
diff --git a/debian/copyright b/debian/copyright
index ad68758..afe8e0b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,7 +6,6 @@ Files-Excluded: */jquery.min.js
                 */handsontable.full.min*
 
 TODO
-E: r-cran-rhandsontable source: source-is-missing inst/htmlwidgets/lib/chroma/chroma.min.js
 E: r-cran-rhandsontable source: source-is-missing inst/htmlwidgets/lib/sparkline/jquery.sparkline.min.js
 
 Files: *
diff --git a/debian/rules b/debian/rules
index 867538f..c79f273 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ debRlib         := $(CURDIR)/debian/$(package)/$(debRdir)
 %:
 	dh $@ --buildsystem R
 
+override_dh_install:
+	dh_install
+	mkdir -p $(debRlib)/$(cranNameOrig)/htmlwidgets/lib/handsontable
+	cp -a debian/JS/handsontable/*.min.* $(debRlib)/$(cranNameOrig)/htmlwidgets/lib/handsontable
+
 override_dh_link:
 	dh_link
 	ln -s usr/share/javascript/jquery/jquery.min.js $(debRlib)/$(cranNameOrig)/htmlwidgets/lib/jquery/jquery.min.js
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..faa8f0e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# Source is downloaded from Upstream
+r-cran-rhandsontable source: source-is-missing debian/JS/handsontable/handsontable.full.js line length is *
+# False positive
+r-cran-rhandsontable source: source-is-missing inst/htmlwidgets/lib/chroma/chroma.min.js
+

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



More information about the debian-med-commit mailing list