Bug#902479: [skimage] python-skimage-doc: 35 lintian Errors

Lumin cdluminate at gmail.com
Wed Jun 27 04:38:05 BST 2018


Package: python-skimage-doc
Version: 0.14.0-1
Severity: normal

E: python-skimage-doc: privacy-breach-uses-embedded-file usr/share/doc/python-skimage-doc/html/cell_profiler.html You may use the libjs-mathjax package. (https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/mathjax.js?config=tex-ams-mml_htmlormml)

Patch

```
diff --git a/debian/rules b/debian/rules
index 82c3ed98..784c3e19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,6 +83,9 @@ ifneq (,$(findstring -a,$(DH_INTERNAL_OPTIONS)))
        : # no documentation in -a -- surprised that sphinxdoc doesn't know that
 else
        dh_sphinxdoc -ppython-skimage-doc
+       find debian -type f -exec sed -i -e \
+               's at https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js at file:///usr/share/javascript/mathjax/MathJax.js at g' \
+               '{}' +
 endif
 endif
```

And the doc package should depend on libjs-mathjax.



More information about the debian-science-maintainers mailing list