git: 18ac8be53bef - main - devel/py-spyder-kernels: Allow py-ipykernel 6.16.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Thu, 03 Nov 2022 21:09:32 UTC
The branch main has been updated by rhurlin:

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

commit 18ac8be53bef5758ea07c5d7490bc9ae808e6079
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-11-03 21:06:34 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-11-03 21:09:22 +0000

    devel/py-spyder-kernels: Allow py-ipykernel 6.16.0
---
 devel/py-spyder-kernels/Makefile             |  1 +
 devel/py-spyder-kernels/files/patch-setup.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/py-spyder-kernels/Makefile b/devel/py-spyder-kernels/Makefile
index df98be346ce7..bfab1d982d7f 100644
--- a/devel/py-spyder-kernels/Makefile
+++ b/devel/py-spyder-kernels/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spyder-kernels
 PORTVERSION=	2.4.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-spyder-kernels/files/patch-setup.py b/devel/py-spyder-kernels/files/patch-setup.py
new file mode 100644
index 000000000000..559ae98e15a8
--- /dev/null
+++ b/devel/py-spyder-kernels/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2022-11-02 23:49:28 UTC
++++ setup.py
+@@ -40,7 +40,7 @@ REQUIREMENTS = [
+     'backports.functools-lru-cache; python_version<"3"',
+     'cloudpickle',
+     'ipykernel<5; python_version<"3"',
+-    'ipykernel>=6.16.1,<7; python_version>="3"',
++    'ipykernel>=6.16.0,<7; python_version>="3"',
+     'ipython<6; python_version<"3"',
+     'ipython>=7.31.1,<8; python_version>="3"',
+     'jupyter-client>=5.3.4,<6; python_version<"3"',