git: b61041bd87b8 - main - devel/py-pythran: Update to 0.18.1 and unbreak with gast-0.7.0

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Wed, 10 Dec 2025 10:21:12 UTC
The branch main has been updated by makc:

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

commit b61041bd87b8f5c82ca196364e9242a3955ef1fe
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-12-10 10:14:25 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-12-10 10:19:12 +0000

    devel/py-pythran: Update to 0.18.1 and unbreak with gast-0.7.0
    
    PR:             291531
    Approved by:    wen@
---
 devel/py-pythran/Makefile                     | 4 ++--
 devel/py-pythran/distinfo                     | 6 +++---
 devel/py-pythran/files/patch-requirements.txt | 9 +++++++++
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile
index 8f9399bcf8ac..0be38037c536 100644
--- a/devel/py-pythran/Makefile
+++ b/devel/py-pythran/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pythran
-PORTVERSION=	0.18.0
+PORTVERSION=	0.18.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}gast>=0.5.0:devel/py-gast@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}gast>=0.7.0<=0.8:devel/py-gast@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR}
 
 USES=		python
diff --git a/devel/py-pythran/distinfo b/devel/py-pythran/distinfo
index bc71cc7462bd..7d658ab2c3bb 100644
--- a/devel/py-pythran/distinfo
+++ b/devel/py-pythran/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761115962
-SHA256 (pythran-0.18.0.tar.gz) = 5c003e8cbedf6dbb68c2869c49fc110ce8b5e8982993078a4a819f1dadc4fc6a
-SIZE (pythran-0.18.0.tar.gz) = 2402895
+TIMESTAMP = 1765319466
+SHA256 (pythran-0.18.1.tar.gz) = 8803ed948bf841a11bbbb10472a8ff6ea24ebd70e67c3f77b77be3db900eccfe
+SIZE (pythran-0.18.1.tar.gz) = 2406997
diff --git a/devel/py-pythran/files/patch-requirements.txt b/devel/py-pythran/files/patch-requirements.txt
new file mode 100644
index 000000000000..2e1c72286569
--- /dev/null
+++ b/devel/py-pythran/files/patch-requirements.txt
@@ -0,0 +1,9 @@
+--- requirements.txt.orig	2025-02-04 14:55:34 UTC
++++ requirements.txt
+@@ -1,5 +1,5 @@ setuptools
+ ply>=3.4
+ setuptools
+-gast~=0.6.0
++gast~=0.7.0
+ numpy
+ beniget~=0.4.0