From 744e4b7cefb668941bef2a37c100d24bc14ae444 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 27 Nov 2023 08:59:26 -0800 Subject: [PATCH] build/pkgs/exceptiongroup: New (ipython dependency for python < 3.11) --- build/pkgs/exceptiongroup/SPKG.rst | 16 ++++++++++++++++ build/pkgs/exceptiongroup/checksums.ini | 5 +++++ build/pkgs/exceptiongroup/dependencies | 4 ++++ build/pkgs/exceptiongroup/install-requires.txt | 1 + build/pkgs/exceptiongroup/package-version.txt | 1 + build/pkgs/exceptiongroup/type | 1 + build/pkgs/ipython/dependencies | 2 +- configure.ac | 2 +- 8 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 build/pkgs/exceptiongroup/SPKG.rst create mode 100644 build/pkgs/exceptiongroup/checksums.ini create mode 100644 build/pkgs/exceptiongroup/dependencies create mode 100644 build/pkgs/exceptiongroup/install-requires.txt create mode 100644 build/pkgs/exceptiongroup/package-version.txt create mode 100644 build/pkgs/exceptiongroup/type diff --git a/build/pkgs/exceptiongroup/SPKG.rst b/build/pkgs/exceptiongroup/SPKG.rst new file mode 100644 index 00000000000..4fe6e94f57e --- /dev/null +++ b/build/pkgs/exceptiongroup/SPKG.rst @@ -0,0 +1,16 @@ +exceptiongroup: Backport of PEP 654 (exception groups) +====================================================== + +Description +----------- + +Backport of PEP 654 (exception groups) + +License +------- + +Upstream Contact +---------------- + +https://pypi.org/project/exceptiongroup/ + diff --git a/build/pkgs/exceptiongroup/checksums.ini b/build/pkgs/exceptiongroup/checksums.ini new file mode 100644 index 00000000000..1ca0c50d46d --- /dev/null +++ b/build/pkgs/exceptiongroup/checksums.ini @@ -0,0 +1,5 @@ +tarball=exceptiongroup-VERSION-py3-none-any.whl +sha1=e69c438e6d15111c4f7cc18224b31a42a58663da +md5=d252c64173c449dc34654e7be8211744 +cksum=527795480 +upstream_url=https://pypi.io/packages/py3/e/exceptiongroup/exceptiongroup-VERSION-py3-none-any.whl diff --git a/build/pkgs/exceptiongroup/dependencies b/build/pkgs/exceptiongroup/dependencies new file mode 100644 index 00000000000..47296a7bace --- /dev/null +++ b/build/pkgs/exceptiongroup/dependencies @@ -0,0 +1,4 @@ + | $(PYTHON_TOOLCHAIN) $(PYTHON) + +---------- +All lines of this file are ignored except the first. diff --git a/build/pkgs/exceptiongroup/install-requires.txt b/build/pkgs/exceptiongroup/install-requires.txt new file mode 100644 index 00000000000..341183a94c9 --- /dev/null +++ b/build/pkgs/exceptiongroup/install-requires.txt @@ -0,0 +1 @@ +exceptiongroup diff --git a/build/pkgs/exceptiongroup/package-version.txt b/build/pkgs/exceptiongroup/package-version.txt new file mode 100644 index 00000000000..26aaba0e866 --- /dev/null +++ b/build/pkgs/exceptiongroup/package-version.txt @@ -0,0 +1 @@ +1.2.0 diff --git a/build/pkgs/exceptiongroup/type b/build/pkgs/exceptiongroup/type new file mode 100644 index 00000000000..a6a7b9cd726 --- /dev/null +++ b/build/pkgs/exceptiongroup/type @@ -0,0 +1 @@ +standard diff --git a/build/pkgs/ipython/dependencies b/build/pkgs/ipython/dependencies index cc719ef4ea5..b00056b1a63 100644 --- a/build/pkgs/ipython/dependencies +++ b/build/pkgs/ipython/dependencies @@ -1,4 +1,4 @@ -tornado pyzmq pickleshare traitlets decorator wcwidth prompt_toolkit pygments pexpect appnope backcall jedi stack_data | $(PYTHON_TOOLCHAIN) $(PYTHON) +tornado pyzmq pickleshare traitlets decorator wcwidth prompt_toolkit pygments pexpect appnope backcall jedi stack_data exceptiongroup | $(PYTHON_TOOLCHAIN) $(PYTHON) ---------- All lines of this file are ignored except the first. diff --git a/configure.ac b/configure.ac index a4e34fadcd6..d1c2aceb413 100644 --- a/configure.ac +++ b/configure.ac @@ -544,7 +544,7 @@ AC_ARG_ENABLE([sagelib], dnl Handle combinations of --disable-foo flags that may enable us to dnl prune even more dependencies. AS_IF([test "$SAGE_ENABLE_notebook" = no -a "$SAGE_ENABLE_sagelib" = no], [ - for pkg in jupyter_client ipykernel ipython zeromq pyzmq; do + for pkg in jupyter_client ipykernel ipython zeromq pyzmq exceptiongroup; do AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval]) done ])