Skip to content

Commit

Permalink
sagemathgh-36219: configure.ac: disable webencodings,tinycss2 with --…
Browse files Browse the repository at this point in the history
…disable-notebook

    
The `--disable-notebook` flag disables the bleach and nbconvert
packages, and the webencodings and tinycss2 packages are (solely)
dependencies of those. We can therefore disable webencodings and
tinycss2 whenever `--disable-notebook` is given.
    
URL: sagemath#36219
Reported by: Michael Orlitzky
Reviewer(s): Matthias Köppe
  • Loading branch information
Release Manager committed Sep 13, 2023
2 parents 7c5a6af + 76278ef commit 875d3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ AC_ARG_ENABLE([cvxopt],
AC_ARG_ENABLE([notebook],
AS_HELP_STRING([--disable-notebook],
[disable build of the Jupyter notebook and related packages]), [
for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi; do
for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi webencodings tinycss2; do
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
done
])
Expand Down

0 comments on commit 875d3e6

Please sign in to comment.