git: b3b076cb3b79 - main - devel/spyder: update 5.5.5 → 6.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 16:55:32 UTC
The branch main has been updated by yuri:

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

commit b3b076cb3b79d98a982b22d099fd91a8b40023cc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-07 16:50:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-07 16:55:28 +0000

    devel/spyder: update 5.5.5 → 6.0.0
---
 devel/spyder/Makefile | 36 +++++++++++++++++++++++-------------
 devel/spyder/distinfo |  6 +++---
 2 files changed, 26 insertions(+), 16 deletions(-)

diff --git a/devel/spyder/Makefile b/devel/spyder/Makefile
index 7e39a7dab526..e48aee5d860e 100644
--- a/devel/spyder/Makefile
+++ b/devel/spyder/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	spyder
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.5.5
-PORTREVISION=	1
+DISTVERSION=	6.0.0
 CATEGORIES=	devel science python
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,11 +11,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	\
+		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.3:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asyncssh>=2.14.0:security/py-asyncssh@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.2.0:devel/py-atomicwrites@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}chardet>=2.0.0:textproc/py-chardet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cloudpickle>=0.5.0:devel/py-cloudpickle@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cookiecutter>=1.6.0:devel/py-cookiecutter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}diff-match-patch>=20181111:textproc/py-diff-match-patch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6.0:devel/py-importlib-metadata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}intervaltree>=3.0.2:devel/py-intervaltree@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ipython>=8.13.0:devel/ipython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jedi>=0.17.2:devel/py-jedi@${PY_FLAVOR} \
@@ -29,26 +31,31 @@ RUN_DEPENDS=	\
 		${PYTHON_PKGNAMEPREFIX}pexpect>=4.4.0:misc/py-pexpect@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pickleshare>=0.4:databases/py-pickleshare@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psutil>=5.3:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}PyGithub>0:devel/py-PyGithub@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pygments>=2.0:textproc/py-pygments@${PY_FLAVOR} \
 		pylint${PYTHON_PKGNAMESUFFIX}>=3.1.0:devel/pylint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pylint-venv>=3.0.2:devel/py-pylint-venv@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-lsp-black>=2.0.0:textproc/py-python-lsp-black@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyls-spyder>=0.4.0:textproc/py-pyls-spyder@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}qt5-webengine>=5.10:www/py-qt5-webengine@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-lsp-server>=1.11.0:textproc/py-python-lsp-server@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}xdg>=0.26:devel/py-xdg@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qt5-webengine>=5.15:www/py-qt5-webengine@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-lsp-black>=2.0.0:textproc/py-python-lsp-black@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-lsp-server>=1.12.0:textproc/py-python-lsp-server@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyuca>=1.2:devel/py-pyuca@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyzmq>=24.0.0:net/py-pyzmq@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}QDarkStyle>=3.2.0:textproc/py-QDarkStyle@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qstylizer>=0.2.2:devel/py-qstylizer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}QtAwesome>=1.3.1:x11-fonts/py-QtAwesome@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}qtconsole>=5.5.1:devel/py-qtconsole@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}QtPy>=2.1.0:devel/py-QtPy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qtconsole>0:devel/py-qtconsole@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}QtPy>=2.4.0:devel/py-QtPy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rtree>=0.9.7:devel/py-rtree@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=49.6.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sphinx>=0.6.6:textproc/py-sphinx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}spyder-kernels>=2.5.1:devel/py-spyder-kernels@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}spyder-kernels>=3.0.0:devel/py-spyder-kernels@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}superqt>=0.6.2:x11-toolkits/py-superqt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}textdistance>=4.2.0:textproc/py-textdistance@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}three-merge>=0.1.1:textproc/py-three-merge@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}watchdog>=0.10.3:devel/py-watchdog@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}watchdog>=0.10.3:devel/py-watchdog@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xdg>=0.26:devel/py-xdg@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yarl>=1.9.4:www/py-yarl@${PY_FLAVOR}
 
 USES=		desktop-file-utils python pyqt:5
 USE_PYTHON=	distutils autoplist noflavors
@@ -61,6 +68,12 @@ NO_ARCH=	yes
 
 DOCSDIR=	${PYTHON_SITELIBDIR}/spyder
 
+post-extract:
+	# remove bundled dependencies
+	@${RM} -r ${WRKSRC}/external-deps/*
+	# remove unnecessary files
+	@${RM} ${WRKSRC}/spyder/plugins/updatemanager/scripts/install.sh
+
 post-patch:
 	# the second regex is to downgrade spyder-kernels requirement to 2.5.1
 	${REINPLACE_CMD} \
@@ -70,7 +83,4 @@ post-patch:
 		${WRKSRC}/requirements/main.yml \
 		${WRKSRC}/spyder/dependencies.py
 
-post-extract: # remove bundled dependencies
-	@${RM} -r ${WRKSRC}/external-deps/*
-
 .include <bsd.port.mk>
diff --git a/devel/spyder/distinfo b/devel/spyder/distinfo
index eeb11ca57a06..93aa00cb3b5f 100644
--- a/devel/spyder/distinfo
+++ b/devel/spyder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718167837
-SHA256 (spyder-ide-spyder-v5.5.5_GH0.tar.gz) = c6aeb9fc0147a106de53da2ae7de951bffd6d5ca45f1543947a8d09a60db2145
-SIZE (spyder-ide-spyder-v5.5.5_GH0.tar.gz) = 16258487
+TIMESTAMP = 1725606483
+SHA256 (spyder-ide-spyder-v6.0.0_GH0.tar.gz) = 555ae82e11d9ec6965936e3c17514bb1bb02a9df132f3d5920ed4f97186accbf
+SIZE (spyder-ide-spyder-v6.0.0_GH0.tar.gz) = 15687128