Control: tags +patch
Dear maintainer,
During the BSP-2021-szg, I checked this bug, and to me it seems that
just re-enabling the doc building leads to a buildable and usable -doc
package:
$ ls -l /usr/share/doc/python3-lmfit/html/
insgesamt 856
-rw-r--r-- 1 root root 11458 2. Mär 11:41 bounds.html
-rw-r--r-- 1 root root 144289 2. Mär 11:41 builtin_models.html
-rw-r--r-- 1 root root 31044 2. Mär 11:41 confidence.html
-rw-r--r-- 1 root root 25640 2. Mär 11:41 constraints.html
-rw-r--r-- 1 root root 26495 2. Mär 11:41 contents.html
drwxr-xr-x 34 root root 4096 25. Apr 13:55 _downloads
[...]
(Quick check on the contents also show
The python3-jupyter-sphinx dependency (that was removed from build-deps)
is still not needed, as its use was disabled in
debian/patches/no_jupyter_sphinx.execute.patch.
Therefore, I would propose to just re-enable the building in d/rules, as
shown in the patch and the MR !2. I don't want to do this myself (yet),
as I do not understand fully why the -doc build was disabled.
Could you have a look?
Best regards
Ole
From b00d720f36d10c6130332bb5aa49501e47d812b4 Mon Sep 17 00:00:00 2001
From: Ole Streicher <oleb...@debian.org>
Date: Sun, 25 Apr 2021 14:11:05 +0200
Subject: [PATCH] Re-enable documentation build
Closes: #987459
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 08ef8e4..0f462ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,6 @@ override_dh_auto_test:
dh_auto_test
override_dh_installdocs-indep:
- #PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml -D
mathjax_path="/usr/share/javascript/mathjax/MathJax.js" doc/ build/html
# HTML generator
+ PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml -D mathjax_path="/usr/share/javascript/mathjax/MathJax.js" doc/ build/html
# HTML generator
dh_installdocs -i
- #dh_installdocs build/html -p python-lmfit-doc --doc-main-package=python3-lmfit
+ dh_installdocs build/html -p python-lmfit-doc --doc-main-package=python3-lmfit
--
2.30.2