Index | Thread | Search

From:
James Cook <falsifian@falsifian.org>
Subject:
[fixing scipy 2/2] pythran: allow gast > 0.5
To:
ports@openbsd.org
Cc:
daniel <daniel@openbsd.org>, sthen <sthen@openbsd.org>
Date:
Wed, 04 Dec 2024 01:58:18 +0000

Download raw body.

Thread
This is the second thing I needed to change before I could install
the scipy port.

I see some change was recently made to pythran's Makefile to allow
a more recent gast, but I wasn't able to install scipy until I also
updated pythran's requirements.txt. Patch below.

I don't know anything about pythran or gast but since this is in
the same spirit as the previous change, hopefully this is okay.

(ccing people who have touched these ports recently. I meant to
do that in my previous email too.)

-- 
James



diff /usr/ports
commit - d7c1d75e5fd33e47d5264aedbe792406a70d3bb6
path + /usr/ports
blob - 69e0cf448e660790fe826f76a0b9660fa5de50c4
file + lang/pythran/Makefile
--- lang/pythran/Makefile
+++ lang/pythran/Makefile
@@ -4,7 +4,7 @@ COMMENT =	ahead of time compiler for numeric kernels
 MODPY_EGG_VERSION =	0.15.0
 
 DISTNAME =	pythran-${MODPY_EGG_VERSION}
-REVISION =	1
+REVISION =	2
 
 CATEGORIES =	lang
 
blob - /dev/null
file + lang/pythran/patches/patch-requirements_txt (mode 644)
--- /dev/null
+++ lang/pythran/patches/patch-requirements_txt
@@ -0,0 +1,10 @@
+Index: requirements.txt
+--- requirements.txt.orig
++++ requirements.txt
+@@ -1,5 +1,5 @@
+ ply>=3.4
+ setuptools
+-gast~=0.5.0
++gast>=0.5.0
+ numpy
+ beniget~=0.4.0