|
| 1 | +dnl We check for all Jupyter components in one spkg-configure file |
| 2 | +dnl and only accept system packages if ALL system packages are suitable. |
| 3 | + |
| 4 | +SAGE_SPKG_CONFIGURE([notebook], [ |
| 5 | + dnl SAGE_SPKG_DEPCHECK([], [ |
| 6 | + dnl 4.4.0 is the version in Sage 9.1, https://trac.sagemath.org/ticket/24168 |
| 7 | + m4_pushdef([JUPYTER_CORE_MIN_VERSION], [4.4.0]) |
| 8 | + m4_pushdef([JUPYTER_CORE_SUBCOMMAND], []) |
| 9 | + dnl 5.7.6 is the version in Sage 9.1, updated because |
| 10 | + dnl 5.7.4 was broken, according to the https://trac.sagemath.org/ticket/27463 |
| 11 | + m4_pushdef([NOTEBOOK_MIN_VERSION], [5.7.6]) |
| 12 | + m4_pushdef([NOTEBOOK_SUBCOMMAND], [notebook]) |
| 13 | + dnl 5.4.0 is the version in Sage 9.1, https://trac.sagemath.org/ticket/26969 |
| 14 | + m4_pushdef([NBCONVERT_MIN_VERSION], [5.4.0]) |
| 15 | + m4_pushdef([NBCONVERT_SUBCOMMAND], [nbconvert]) |
| 16 | + dnl 5.2.4 is the version in Sage 9.1, https://trac.sagemath.org/ticket/26969 |
| 17 | + m4_pushdef([JUPYTER_CLIENT_MIN_VERSION], [5.2.4]) |
| 18 | + m4_pushdef([JUPYTER_CLIENT_SUBCOMMAND], [kernelspec]) |
| 19 | +
|
| 20 | + AC_PATH_PROG([JUPYTER], [jupyter]) |
| 21 | +
|
| 22 | +
|
| 23 | +
|
| 24 | + dnl ]) |
| 25 | +]) |
0 commit comments