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 11, 2023
2 parents 49e37a3 + 76278ef commit 2027d56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=0842a677c09b550b0c091037c63d141cf709595b
md5=615976ca4d2fcbf9b0559b809e5bf645
cksum=792467397
sha1=ffe6a29226d8d228c72b33127e5d4cc10f7c7569
md5=ae95b37bd75883c16675619552b09c9f
cksum=2910180227
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f9609a075a93ad4c6d270f129c6c33f4945e4bdc
a47bb20b731d02de83b56fac90e5a05ea790dd21
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 2027d56

Please sign in to comment.