Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2024 13:22:02 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3b4f33ab03ee - main - devel/py-pymtbl: fix build with python3.11
Message-ID:  <202406041322.454DM2nM095289@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rm:

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

commit 3b4f33ab03eea6820d1e650503e025a9a065bf57
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-06-04 13:21:13 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-06-04 13:21:13 +0000

    devel/py-pymtbl: fix build with python3.11
    
    make it recreate the source with newer cython
    
    PR:             275494
    Approved by:    portmgr (blanket approval)
---
 devel/py-pymtbl/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/py-pymtbl/Makefile b/devel/py-pymtbl/Makefile
index e7ef4c936d0a..392e6810b820 100644
--- a/devel/py-pymtbl/Makefile
+++ b/devel/py-pymtbl/Makefile
@@ -25,6 +25,9 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 
 OPTIONS_DEFINE=	EXAMPLES
 
+post-patch:
+	cython-${PYTHON_VER} ${WRKSRC}/mtbl.pyx
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mtbl*.so
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406041322.454DM2nM095289>