pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-scipy
Module Name: pkgsrc
Committed By: tnn
Date: Mon May 8 20:39:18 UTC 2023
Modified Files:
pkgsrc/math/py-scipy: distinfo
Added Files:
pkgsrc/math/py-scipy/patches: patch-scipy_spatial___ckdtree.pyx
patch-scipy_special_Faddeeva.hh patch-scipy_special_wright.hh
Log Message:
py-scipy: fix missing isnan/isinf prototypes
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/math/py-scipy/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/py-scipy/patches/patch-scipy_spatial___ckdtree.pyx \
pkgsrc/math/py-scipy/patches/patch-scipy_special_Faddeeva.hh \
pkgsrc/math/py-scipy/patches/patch-scipy_special_wright.hh
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-scipy/distinfo
diff -u pkgsrc/math/py-scipy/distinfo:1.42 pkgsrc/math/py-scipy/distinfo:1.43
--- pkgsrc/math/py-scipy/distinfo:1.42 Fri May 5 14:59:25 2023
+++ pkgsrc/math/py-scipy/distinfo Mon May 8 20:39:18 2023
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.42 2023/05/05 14:59:25 adam Exp $
+$NetBSD: distinfo,v 1.43 2023/05/08 20:39:18 tnn Exp $
BLAKE2s (scipy-1.10.1.tar.gz) = 0ba22381e66ccc4017de0042a14410af34e44455f4c4a12b80ed3f670c0d2d72
SHA512 (scipy-1.10.1.tar.gz) = 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
Size (scipy-1.10.1.tar.gz) = 42407997 bytes
+SHA1 (patch-scipy_spatial___ckdtree.pyx) = 0739d06bc1d1cb75761dd0f43c47a76f2a90327b
SHA1 (patch-scipy_spatial_ckdtree_src_ckdtree__decl.h) = c5684427731eef00c012b1ebc7fba00da560f493
+SHA1 (patch-scipy_special_Faddeeva.hh) = 9f6c0bb808fc9be0a1c1b7e65395d29f13821233
SHA1 (patch-scipy_special_sf__error.c) = 416489193a6ff90caaa95f489a452f23f0a27bbe
+SHA1 (patch-scipy_special_wright.hh) = 56d65f9ed4bec96f0b927bbe42edd30fc6546454
SHA1 (patch-scipy_stats__unuran_setup.py) = ea6651d6e07781a5a600f33e5f0d251213e6c614
Added files:
Index: pkgsrc/math/py-scipy/patches/patch-scipy_spatial___ckdtree.pyx
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_spatial___ckdtree.pyx:1.1
--- /dev/null Mon May 8 20:39:18 2023
+++ pkgsrc/math/py-scipy/patches/patch-scipy_spatial___ckdtree.pyx Mon May 8 20:39:18 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-scipy_spatial___ckdtree.pyx,v 1.1 2023/05/08 20:39:18 tnn Exp $
+
+Fix missing isnan/isinf.
+
+--- scipy/spatial/_ckdtree.pyx.orig 1970-01-01 00:00:00.000000000 +0000
++++ scipy/spatial/_ckdtree.pyx
+@@ -15,7 +15,8 @@ from numpy.math cimport INFINITY
+ from cpython.mem cimport PyMem_Malloc, PyMem_Free
+ from libcpp.vector cimport vector
+ from libcpp cimport bool
+-from libc.math cimport isinf
++cdef extern from "<cmath>" namespace "std":
++ bool isinf(double)
+
+ cimport cython
+ import os
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_Faddeeva.hh
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_special_Faddeeva.hh:1.1
--- /dev/null Mon May 8 20:39:18 2023
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_Faddeeva.hh Mon May 8 20:39:18 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-scipy_special_Faddeeva.hh,v 1.1 2023/05/08 20:39:18 tnn Exp $
+
+Fix missing isnan/isinf.
+
+--- scipy/special/Faddeeva.hh.orig 1970-01-01 00:00:00.000000000 +0000
++++ scipy/special/Faddeeva.hh
+@@ -28,6 +28,8 @@
+ #define FADDEEVA_HH 1
+
+ #include <complex>
++using std::isinf;
++using std::isnan;
+
+ namespace Faddeeva {
+
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_wright.hh
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_special_wright.hh:1.1
--- /dev/null Mon May 8 20:39:18 2023
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_wright.hh Mon May 8 20:39:18 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-scipy_special_wright.hh,v 1.1 2023/05/08 20:39:18 tnn Exp $
+
+Fix missing isnan/isinf.
+
+--- scipy/special/wright.hh.orig 1970-01-01 00:00:00.000000000 +0000
++++ scipy/special/wright.hh
+@@ -2,6 +2,8 @@
+ #define WRIGHT_HH
+
+ #include <complex>
++using std::isinf;
++using std::isnan;
+
+ namespace wright {
+
Home |
Main Index |
Thread Index |
Old Index