git: bca035500a19 - main - devel/ipython: Update to 9.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Jan 2026 11:59:55 UTC
The branch main has been updated by sunpoet:

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

commit bca035500a1906c5a9a46d10be4ac4b6ff797ba1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 11:38:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-01-15 11:53:54 +0000

    devel/ipython: Update to 9.8.0
    
    Changes:        https://github.com/ipython/ipython/blob/main/docs/source/whatsnew/version8.rst
                    https://ipython.readthedocs.io/en/stable/whatsnew/version8.html
---
 devel/ipython/Makefile                   | 20 ++++++++++----------
 devel/ipython/distinfo                   |  6 +++---
 devel/ipython/files/patch-pyproject.toml | 19 +++++++++++++++++++
 3 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/devel/ipython/Makefile b/devel/ipython/Makefile
index ba25f7747973..9ce5900d0c8b 100644
--- a/devel/ipython/Makefile
+++ b/devel/ipython/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ipython
-PORTVERSION=	8.37.0
+PORTVERSION=	9.8.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +13,20 @@ WWW=		https://ipython.org/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING.rst
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
-		${PY_EXCEPTIONGROUP} \
-		${PYTHON_PKGNAMEPREFIX}jedi>=0.16:devel/py-jedi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}matplotlib-inline>0:math/py-matplotlib-inline@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}decorator>=4.3.2:devel/py-decorator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ipython-pygments-lexers>=1.0.0:devel/py-ipython-pygments-lexers@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib-inline>=0.1.5:math/py-matplotlib-inline@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pexpect>=4.3:misc/py-pexpect@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.41<3.1.0:devel/py-prompt-toolkit@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=2.4.0:textproc/py-pygments@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>=2.11.0:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlite3>=2:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}stack-data>=0:devel/py-stack-data@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}traitlets>=5.13.0:devel/py-traitlets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}stack-data>=0.6.0:devel/py-stack-data@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}traitlets>=5.13.0:devel/py-traitlets@${PY_FLAVOR}
 
-USES=		cpe python
+USES=		cpe python:3.11+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/devel/ipython/distinfo b/devel/ipython/distinfo
index f0ea2c1948b8..59a003967feb 100644
--- a/devel/ipython/distinfo
+++ b/devel/ipython/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1766953608
-SHA256 (ipython-8.37.0.tar.gz) = ca815841e1a41a1e6b73a0b08f3038af9b2252564d01fc405356d34033012216
-SIZE (ipython-8.37.0.tar.gz) = 5606088
+TIMESTAMP = 1767157759
+SHA256 (ipython-9.8.0.tar.gz) = 8e4ce129a627eb9dd221c41b1d2cdaed4ef7c9da8c17c63f6f578fe231141f83
+SIZE (ipython-9.8.0.tar.gz) = 4424940
diff --git a/devel/ipython/files/patch-pyproject.toml b/devel/ipython/files/patch-pyproject.toml
new file mode 100644
index 000000000000..122b252c005d
--- /dev/null
+++ b/devel/ipython/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	2025-12-03 10:17:56 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=77.0"]
++requires = ["setuptools>=61.0"]
+ # We need access to the 'setupbase' module at build time.
+ # Hence we declare a custom build backend.
+ build-backend = "_build_meta"  # just re-exports setuptools.build_meta definitions
+@@ -19,8 +19,7 @@ classifiers = [
+     "Programming Language :: Python :: 3 :: Only",
+     "Topic :: System :: Shells",
+ ]
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE", "COPYING.rst"]
++license = {text = "BSD-3-Clause"}
+ requires-python = ">=3.11"
+ dependencies = [
+     'colorama>=0.4.4; sys_platform == "win32"',