git: f9aa5cdf7f96 - main - devel/py-spyder-kernels: Update to 2.5.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 17:24:20 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9aa5cdf7f96921d2951a9196e1e97df853a1217

commit f9aa5cdf7f96921d2951a9196e1e97df853a1217
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-12-12 17:10:20 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-12-12 17:24:00 +0000

    devel/py-spyder-kernels: Update to 2.5.0
    
    - Add support for chained exceptions to the debugger
    - Improve getting signatures from docstrings
    - Restore compatibility with Python 2
    
    Changelog: https://github.com/spyder-ide/spyder-kernels/blob/master/CHANGELOG.md#version-250-2023-11-06
---
 devel/py-spyder-kernels/Makefile             |  8 ++++----
 devel/py-spyder-kernels/distinfo             |  6 +++---
 devel/py-spyder-kernels/files/patch-setup.py | 20 ++++++++++++++------
 3 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/devel/py-spyder-kernels/Makefile b/devel/py-spyder-kernels/Makefile
index 7f78e32bd2cc..5ca25ca2d291 100644
--- a/devel/py-spyder-kernels/Makefile
+++ b/devel/py-spyder-kernels/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	spyder-kernels
-PORTVERSION=	2.4.4
+PORTVERSION=	2.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAV
 		${PYTHON_PKGNAMEPREFIX}pyzmq>=22.1.0:net/py-pyzmq@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wurlitzer>=1.0.3:misc/py-wurlitzer@${PY_FLAVOR}
-# 1 failed, 70 passed, 5 skipped, 5 warnings
+# 93 passed, 5 skipped, 5 warnings 
 # test_django_settings fail if www/djangoXX not installed
 TEST_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
@@ -40,8 +40,8 @@ TEST_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR}
 
-USES=		python pytest
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-spyder-kernels/distinfo b/devel/py-spyder-kernels/distinfo
index b1997bf41caf..fa5c77220cd5 100644
--- a/devel/py-spyder-kernels/distinfo
+++ b/devel/py-spyder-kernels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688409088
-SHA256 (spyder-kernels-2.4.4.tar.gz) = 363bb0a0e1594cb691637464192f4f19969095469252242b43c092bf305a25dd
-SIZE (spyder-kernels-2.4.4.tar.gz) = 98216
+TIMESTAMP = 1699362304
+SHA256 (spyder-kernels-2.5.0.tar.gz) = 3368426c04457e0211884e9274fa47eb556252ba4c073df275e83c65df7ba2a1
+SIZE (spyder-kernels-2.5.0.tar.gz) = 99908
diff --git a/devel/py-spyder-kernels/files/patch-setup.py b/devel/py-spyder-kernels/files/patch-setup.py
index ba81b5253242..28de1d939a18 100644
--- a/devel/py-spyder-kernels/files/patch-setup.py
+++ b/devel/py-spyder-kernels/files/patch-setup.py
@@ -1,11 +1,19 @@
---- setup.py.orig	2023-06-29 15:09:47 UTC
+--- setup.py.orig	2023-11-06 14:56:06 UTC
 +++ setup.py
-@@ -40,7 +40,7 @@ REQUIREMENTS = [
-     'backports.functools-lru-cache; python_version<"3"',
+@@ -41,13 +41,13 @@ REQUIREMENTS = [
      'cloudpickle',
      'ipykernel>=4.5,<5; python_version<"3"',
--    'ipykernel>=6.23.2,<7; python_version>="3"',
-+    'ipykernel>=6.23.1,<7; python_version>="3"',
+     'ipykernel>=6.16.1,<6.17; python_version<"3.8"',
+-    'ipykernel>=6.23.2,<7; python_version>="3.8"',
++    'ipykernel>=6.23.2; python_version>="3.8"',
      'ipython<6; python_version<"3"',
-     'ipython>=7.31.1,<9,!=8.8.0,!=8.9.0,!=8.10.0,!=8.11.0,!=8.12.0,!=8.12.1; python_version>="3"',
+     'ipython>=7.31.1,<8; python_version<"3.8"',
+     'ipython>=8.12.2,<8.13; python_version=="3.8"',
+-    'ipython>=8.13.0,<9,!=8.17.1; python_version>"3.8"',
++    'ipython>=8.13.0,!=8.17.1; python_version>"3.8"',
      'jupyter-client>=5.3.4,<6; python_version<"3"',
+-    'jupyter-client>=7.4.9,<9; python_version>="3"',
++    'jupyter-client>=7.4.9; python_version>="3"',
+     'pyzmq>=17,<20; python_version<"3"',
+     'pyzmq>=22.1.0; python_version>="3"',
+     'wurlitzer>=1.0.3;platform_system!="Windows"',