pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-lap



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 24 11:05:38 UTC 2026

Modified Files:
        pkgsrc/math/py-lap: Makefile distinfo
Added Files:
        pkgsrc/math/py-lap/patches: patch-__lapjv__cpp___lapjv.pyx

Log Message:
py-lap: work around breakage with cython 3.3.0

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/py-lap/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-lap/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/py-lap/patches/patch-__lapjv__cpp___lapjv.pyx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-lap/Makefile
diff -u pkgsrc/math/py-lap/Makefile:1.5 pkgsrc/math/py-lap/Makefile:1.6
--- pkgsrc/math/py-lap/Makefile:1.5     Sun Jun 28 15:41:29 2026
+++ pkgsrc/math/py-lap/Makefile Mon Aug 24 11:05:37 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2026/06/28 15:41:29 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2026/08/24 11:05:37 wiz Exp $
 
 DISTNAME=      lap-0.5.13
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lap/}
 

Index: pkgsrc/math/py-lap/distinfo
diff -u pkgsrc/math/py-lap/distinfo:1.2 pkgsrc/math/py-lap/distinfo:1.3
--- pkgsrc/math/py-lap/distinfo:1.2     Wed Feb 25 15:10:52 2026
+++ pkgsrc/math/py-lap/distinfo Mon Aug 24 11:05:37 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2026/02/25 15:10:52 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/08/24 11:05:37 wiz Exp $
 
 BLAKE2s (lap-0.5.13.tar.gz) = 5d9da67d1b199ffdabd0dfcf477cf691c849fdfb3efee679f69224a4be0c8b33
 SHA512 (lap-0.5.13.tar.gz) = 66c45a6802a6edcbb7f5bf25f7ee5030acc0d5eab706666fb4ebaff3f8578af5bfc951296138ab22cf8d18d74cb0712433feca5c43c3a97cd5e8eed2abdbaee5
 Size (lap-0.5.13.tar.gz) = 1537351 bytes
+SHA1 (patch-__lapjv__cpp___lapjv.pyx) = 50926592f750c1031e48660963b70e9c9b3728f5

Added files:

Index: pkgsrc/math/py-lap/patches/patch-__lapjv__cpp___lapjv.pyx
diff -u /dev/null pkgsrc/math/py-lap/patches/patch-__lapjv__cpp___lapjv.pyx:1.1
--- /dev/null   Mon Aug 24 11:05:38 2026
+++ pkgsrc/math/py-lap/patches/patch-__lapjv__cpp___lapjv.pyx   Mon Aug 24 11:05:38 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-__lapjv__cpp___lapjv.pyx,v 1.1 2026/08/24 11:05:38 wiz Exp $
+
+Work around breakage with cpython 3.3.0.
+https://github.com/cython/cython/issues/7915
+
+--- _lapjv_cpp/_lapjv.pyx.orig 2026-08-24 11:00:49.361196480 +0000
++++ _lapjv_cpp/_lapjv.pyx
+@@ -7,6 +7,12 @@ from libc.stdlib cimport malloc, free
+ from libc.stdlib cimport malloc, free
+ 
+ 
++cdef extern from * nogil:
++    """
++    #include <cmath>
++    using std::isfinite;
++    """
++
+ cdef extern from "lapjv.h" nogil:
+     ctypedef signed int int_t
+     ctypedef unsigned int uint_t



Home | Main Index | Thread Index | Old Index