CVS commit: pkgsrc/math/py-numpy

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Mon Aug 17 18:12:58 UTC 2026

Modified Files:
	pkgsrc/math/py-numpy: Makefile distinfo
Removed Files:
	pkgsrc/math/py-numpy/patches:
	    patch-numpy___core_src_multiarray_arrayobject.c
	    patch-numpy___core_src_umath_ufunc__object.c

Log Message:
py-numpy: stop forcing c99

This codebase actually wants c11; avoids the need for two patches.
Debugged with help from upstream.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.119 -r1.120 pkgsrc/math/py-numpy/distinfo
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/math/py-numpy/patches/patch-numpy___core_src_multiarray_arrayobject.c \
    pkgsrc/math/py-numpy/patches/patch-numpy___core_src_umath_ufunc__object.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 2.2 KB)
Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.156 pkgsrc/math/py-numpy/Makefile:1.157
--- pkgsrc/math/py-numpy/Makefile:1.156	Mon Aug 17 09:27:49 2026
+++ pkgsrc/math/py-numpy/Makefile	Mon Aug 17 18:12:57 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.156 2026/08/17 09:27:49 adam Exp $
+# $NetBSD: Makefile,v 1.157 2026/08/17 18:12:57 wiz Exp $
 
 DISTNAME=	numpy-2.5.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	${MASTER_SITE_PYPI:=n/numpy/}
 
@@ -16,11 +17,10 @@ TEST_DEPENDS+=	${PYPKGPREFIX}-hypothesis
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
 
+USE_CC_FEATURES=	c11
 USE_CXX_FEATURES=	c++17
 USE_LANGUAGES=		c c++ fortran
 USE_TOOLS+=		pkg-config
-# error: 'for' loop initial declarations are only allowed in C99 mode
-FORCE_C_STD=		c99
 # meson checks for gcc 10.3
 GCC_REQD+=		10
 

Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.119 pkgsrc/math/py-numpy/distinfo:1.120
--- pkgsrc/math/py-numpy/distinfo:1.119	Mon Aug 17 09:58:05 2026
+++ pkgsrc/math/py-numpy/distinfo	Mon Aug 17 18:12:57 2026
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.119 2026/08/17 09:58:05 wiz Exp $
+$NetBSD: distinfo,v 1.120 2026/08/17 18:12:57 wiz Exp $
 
 BLAKE2s (numpy-2.5.2.tar.gz) = 5d85089a4c6f2305bc7ccdcecf01b29ec11a485bb7d52f6f1a12974342619e2f
 SHA512 (numpy-2.5.2.tar.gz) = 30d0581b90a88f80de49202e9dace7605363e66d1141229cc85a4aef5aad185de4d24820cb7ec8e8860b1e2c593b7795649675ef850d35ef3883b386b5381231
 Size (numpy-2.5.2.tar.gz) = 20773161 bytes
 SHA1 (patch-numpy___core_feature__detection__misc.h) = c0f4d318c93fcd0e36c34c549c7778350b8a6ea5
 SHA1 (patch-numpy___core_include_numpy_npy__common.h) = 175cd8f64af681949c3e8bfde064c93908433ea2
-SHA1 (patch-numpy___core_src_multiarray_arrayobject.c) = 614fb12618267f261c8438c0f38bdb7228f42bd7
 SHA1 (patch-numpy___core_src_npymath_npy__math.c) = b28f1a9730d98a18b2f4f97c1c356ca8ad80903d
-SHA1 (patch-numpy___core_src_umath_ufunc__object.c) = 06cd442eea96773dce6c51c39dbf1b5c90861eaa
 SHA1 (patch-numpy_linalg_lapack__litemodule.c) = e97ec871c2f33c3121b3c8471a9e5a74c3c798c8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.