git: fb5c28a0aaef - main - devel/py-spyder-kernels: Update to 2.5.2

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 07:51:28 UTC
The branch main has been updated by rhurlin:

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

commit fb5c28a0aaefca2b1ddded9a9e719db8aeb8ad0e
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2024-06-16 07:45:51 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2024-06-16 07:45:51 +0000

    devel/py-spyder-kernels: Update to 2.5.2
    
    Fix detecting Matplotlib backend for its 3.9.0 version
    
    Changelog: https://github.com/spyder-ide/spyder-kernels/blob/master/CHANGELOG.md#version-252-2024-06-11
    
    Reported by:    Repology
---
 devel/py-spyder-kernels/Makefile | 6 +++---
 devel/py-spyder-kernels/distinfo | 6 +++---
 devel/spyder/Makefile            | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/py-spyder-kernels/Makefile b/devel/py-spyder-kernels/Makefile
index 95c2343a128d..612474b32382 100644
--- a/devel/py-spyder-kernels/Makefile
+++ b/devel/py-spyder-kernels/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	spyder-kernels
-PORTVERSION=	2.5.1
-PORTREVISION=	1
+DISTVERSION=	2.5.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	spyder_kernels-${DISTVERSION}
 
 MAINTAINER=	rhurlin@FreeBSD.org
 COMMENT=	Jupyter kernels for the Spyder console
@@ -20,7 +20,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}
-# 92 passed, 6 skipped, 5 warnings 
+# 92 passed, 6 skipped, 6 warnings 
 # test_django_settings fail if www/djangoXX not installed
 TEST_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
diff --git a/devel/py-spyder-kernels/distinfo b/devel/py-spyder-kernels/distinfo
index 0dcedb81c256..e0546a54f632 100644
--- a/devel/py-spyder-kernels/distinfo
+++ b/devel/py-spyder-kernels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710000126
-SHA256 (spyder-kernels-2.5.1.tar.gz) = 05042a3f97b25f17cdfa8d75011fd79aaf027523348a9dfff0f5a20bddb0b9b0
-SIZE (spyder-kernels-2.5.1.tar.gz) = 99906
+TIMESTAMP = 1718480400
+SHA256 (spyder_kernels-2.5.2.tar.gz) = 71f252900e02b0394820cc7049f89ed725243f6fccf640b76dd329203c413960
+SIZE (spyder_kernels-2.5.2.tar.gz) = 99972
diff --git a/devel/spyder/Makefile b/devel/spyder/Makefile
index a024e7940ef1..7e39a7dab526 100644
--- a/devel/spyder/Makefile
+++ b/devel/spyder/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	spyder
 DISTVERSIONPREFIX=	v
 DISTVERSION=	5.5.5
+PORTREVISION=	1
 CATEGORIES=	devel science python
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -63,8 +64,7 @@ DOCSDIR=	${PYTHON_SITELIBDIR}/spyder
 post-patch:
 	# the second regex is to downgrade spyder-kernels requirement to 2.5.1
 	${REINPLACE_CMD} \
-		-E 's|,<[0-9.=]+||; \
-		    s|2\.5\.2|2.5.1|' \
+		-E 's|,<[0-9.=]+||' \
 		${WRKSRC}/setup.py \
 		${WRKSRC}/binder/environment.yml \
 		${WRKSRC}/requirements/main.yml \