git: 5c1857537d45 - main - devel/py-pymtbl: Fix build with cython3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Nov 2025 06:23:34 UTC
The branch main has been updated by truckman:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5c1857537d4517a230cf23680dfae345a0b93e66
commit 5c1857537d4517a230cf23680dfae345a0b93e66
Author: Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2025-11-06 05:37:29 +0000
Commit: Don Lewis <truckman@FreeBSD.org>
CommitDate: 2025-11-06 06:08:18 +0000
devel/py-pymtbl: Fix build with cython3
PR: 289075
Sponsored by: DomainTools LLC
---
devel/py-pymtbl/Makefile | 2 +-
devel/py-pymtbl/files/patch-mtbl.pxi | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/devel/py-pymtbl/Makefile b/devel/py-pymtbl/Makefile
index 95554b769c2e..eff9269776aa 100644
--- a/devel/py-pymtbl/Makefile
+++ b/devel/py-pymtbl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pymtbl
PORTVERSION= 0.6.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pymtbl/files/patch-mtbl.pxi b/devel/py-pymtbl/files/patch-mtbl.pxi
new file mode 100644
index 000000000000..3127dc8a5d51
--- /dev/null
+++ b/devel/py-pymtbl/files/patch-mtbl.pxi
@@ -0,0 +1,10 @@
+--- mtbl.pxi.orig 2024-03-21 21:11:47 UTC
++++ mtbl.pxi
+@@ -14,7 +14,6 @@ from cpython cimport bool
+ # limitations under the License.
+ cimport cython
+ from cpython cimport bool
+-from cpython.string cimport *
+ from libc.stddef cimport *
+ from libc.stdint cimport *
+ from libc.stdlib cimport *