Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit b8164c1

Browse files
author
Matthias Koeppe
committed
build/pkgs/notebook/spkg-configure.m4: New
1 parent 83caa4b commit b8164c1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

Comments
 (0)