pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-numpy
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jun 28 15:40:18 UTC 2026
Modified Files:
pkgsrc/math/py-numpy: Makefile PLIST distinfo
Removed Files:
pkgsrc/math/py-numpy: PLIST.distutils
pkgsrc/math/py-numpy/patches: patch-numpy_distutils_command_config.py
patch-numpy_distutils_fcompiler_____init____.py
patch-numpy_distutils_fcompiler_g95.py
patch-numpy_distutils_fcompiler_gnu.py patch-numpy_distutils_log.py
Log Message:
py-numpy: update to 2.5.0.
Numpy 2.5.0 is a transitional release. It drops support for Python 3.11,
marking the end of distutils, and expires a large number of deprecations made
in the 2.0.x release. It also improves free threading and brings sorting into
compliance with the array-api standard with the addition of descending sorts.
There is also a fair amount of preparation for Python 3.15, which will be
supported starting with the first rc.
Highlights
Distutils has been removed.
Many expired deprecations.
Many new deprecations.
Many static typing improvements.
Improved support for free threading.
Support for descending sorts.
To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.59 -r1.60 pkgsrc/math/py-numpy/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/math/py-numpy/PLIST.distutils
cvs rdiff -u -r1.115 -r1.116 pkgsrc/math/py-numpy/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_command_config.py \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py
cvs rdiff -u -r1.3 -r0 \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_g95.py
cvs rdiff -u -r1.18 -r0 \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py
cvs rdiff -u -r1.2 -r0 \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py
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-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.152 pkgsrc/math/py-numpy/Makefile:1.153
--- pkgsrc/math/py-numpy/Makefile:1.152 Tue May 19 07:34:21 2026
+++ pkgsrc/math/py-numpy/Makefile Sun Jun 28 15:40:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.152 2026/05/19 07:34:21 adam Exp $
+# $NetBSD: Makefile,v 1.153 2026/06/28 15:40:18 wiz Exp $
-DISTNAME= numpy-2.4.6
+DISTNAME= numpy-2.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/}
@@ -24,19 +24,13 @@ FORCE_C_STD= c99
# meson checks for gcc 9.3
GCC_REQD+= 9
-PYTHON_VERSIONS_INCOMPATIBLE= 310
+PYTHON_VERSIONS_INCOMPATIBLE= 310 311
.include "../../math/py-numpy/make_env.mk"
REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
-PLIST_SRC= PLIST
.include "../../lang/python/pyversion.mk"
-# Python 3.12 has no distutils anymore.
-.if ${PYTHON_VERSION} < 312
-PLIST_SRC+= PLIST.distutils
-.endif
-PRINT_PLIST_AWK+= /\/distutils\// { $$0 = "$${PLIST.distutils}" $$0 }
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
@@ -80,17 +74,7 @@ BUILDLINK_TRANSFORM.SunOS+= rm:-D__STDC_
pre-configure:
${LN} -sf ${PREFIX}/bin/cython-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/cython
-# Files don't exist with Python 3.12, so add '-f' to ${RM}
-# (Please check if this is still necessary after updates.)
-post-install:
- ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/numpy/distutils/command/config.py.orig
- ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/numpy/distutils/fcompiler/__init__.py.orig
- ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/numpy/distutils/fcompiler/g95.py.orig
- ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/numpy/distutils/fcompiler/gnu.py.orig
- ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/numpy/distutils/log.py.orig
-.for bin in f2py numpy-config
- cd ${DESTDIR}${PREFIX}/bin && ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES= f2py numpy-config
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
@@ -98,8 +82,8 @@ SUBST_MESSAGE.paths= Fixing path to nump
SUBST_FILES.paths= numpy/tests/test_configtool.py
SUBST_SED.paths= -e 's,'numpy-config','numpy-config-${PYVERSSUFFIX}',g'
-# as of 2.4.2
-# 35 failed, 47867 passed, 378 skipped, 2817 deselected, 33 xfailed, 1 xpassed, 14 warnings
+# as of 2.5.0
+# 35 failed, 47765 passed, 336 skipped, 3634 deselected, 33 xfailed, 1 xpassed, 14 warnings
do-test:
cd ${WRKDIR} && \
${SETENV} ${TEST_ENV} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} -c "import numpy; numpy.test()"
Index: pkgsrc/math/py-numpy/PLIST
diff -u pkgsrc/math/py-numpy/PLIST:1.59 pkgsrc/math/py-numpy/PLIST:1.60
--- pkgsrc/math/py-numpy/PLIST:1.59 Sun May 17 08:56:09 2026
+++ pkgsrc/math/py-numpy/PLIST Sun Jun 28 15:40:18 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.59 2026/05/17 08:56:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.60 2026/06/28 15:40:18 wiz Exp $
bin/f2py-${PYVERSSUFFIX}
bin/numpy-config-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -154,8 +154,6 @@ ${PYSITELIB}/numpy/_core/include/numpy/r
${PYSITELIB}/numpy/_core/include/numpy/ufuncobject.h
${PYSITELIB}/numpy/_core/include/numpy/utils.h
${PYSITELIB}/numpy/_core/lib/libnpymath.a
-${PYSITELIB}/numpy/_core/lib/npy-pkg-config/mlib.ini
-${PYSITELIB}/numpy/_core/lib/npy-pkg-config/npymath.ini
${PYSITELIB}/numpy/_core/lib/pkgconfig/numpy.pc
${PYSITELIB}/numpy/_core/memmap.py
${PYSITELIB}/numpy/_core/memmap.pyc
@@ -231,6 +229,7 @@ ${PYSITELIB}/numpy/_core/tests/examples/
${PYSITELIB}/numpy/_core/tests/examples/limited_api/limited_api1.c
${PYSITELIB}/numpy/_core/tests/examples/limited_api/limited_api2.pyx
${PYSITELIB}/numpy/_core/tests/examples/limited_api/limited_api_latest.c
+${PYSITELIB}/numpy/_core/tests/examples/limited_api/limited_api_opaque.c
${PYSITELIB}/numpy/_core/tests/examples/limited_api/meson.build
${PYSITELIB}/numpy/_core/tests/examples/limited_api/setup.py
${PYSITELIB}/numpy/_core/tests/examples/limited_api/setup.pyc
@@ -512,10 +511,10 @@ ${PYSITELIB}/numpy/_utils/__init__.py
${PYSITELIB}/numpy/_utils/__init__.pyc
${PYSITELIB}/numpy/_utils/__init__.pyi
${PYSITELIB}/numpy/_utils/__init__.pyo
-${PYSITELIB}/numpy/_utils/_convertions.py
-${PYSITELIB}/numpy/_utils/_convertions.pyc
-${PYSITELIB}/numpy/_utils/_convertions.pyi
-${PYSITELIB}/numpy/_utils/_convertions.pyo
+${PYSITELIB}/numpy/_utils/_conversions.py
+${PYSITELIB}/numpy/_utils/_conversions.pyc
+${PYSITELIB}/numpy/_utils/_conversions.pyi
+${PYSITELIB}/numpy/_utils/_conversions.pyo
${PYSITELIB}/numpy/_utils/_inspect.py
${PYSITELIB}/numpy/_utils/_inspect.pyc
${PYSITELIB}/numpy/_utils/_inspect.pyi
@@ -545,6 +544,7 @@ ${PYSITELIB}/numpy/core/_dtype_ctypes.py
${PYSITELIB}/numpy/core/_dtype_ctypes.pyo
${PYSITELIB}/numpy/core/_internal.py
${PYSITELIB}/numpy/core/_internal.pyc
+${PYSITELIB}/numpy/core/_internal.pyi
${PYSITELIB}/numpy/core/_internal.pyo
${PYSITELIB}/numpy/core/_multiarray_umath.py
${PYSITELIB}/numpy/core/_multiarray_umath.pyc
@@ -554,30 +554,39 @@ ${PYSITELIB}/numpy/core/_utils.pyc
${PYSITELIB}/numpy/core/_utils.pyo
${PYSITELIB}/numpy/core/arrayprint.py
${PYSITELIB}/numpy/core/arrayprint.pyc
+${PYSITELIB}/numpy/core/arrayprint.pyi
${PYSITELIB}/numpy/core/arrayprint.pyo
${PYSITELIB}/numpy/core/defchararray.py
${PYSITELIB}/numpy/core/defchararray.pyc
+${PYSITELIB}/numpy/core/defchararray.pyi
${PYSITELIB}/numpy/core/defchararray.pyo
${PYSITELIB}/numpy/core/einsumfunc.py
${PYSITELIB}/numpy/core/einsumfunc.pyc
+${PYSITELIB}/numpy/core/einsumfunc.pyi
${PYSITELIB}/numpy/core/einsumfunc.pyo
${PYSITELIB}/numpy/core/fromnumeric.py
${PYSITELIB}/numpy/core/fromnumeric.pyc
+${PYSITELIB}/numpy/core/fromnumeric.pyi
${PYSITELIB}/numpy/core/fromnumeric.pyo
${PYSITELIB}/numpy/core/function_base.py
${PYSITELIB}/numpy/core/function_base.pyc
+${PYSITELIB}/numpy/core/function_base.pyi
${PYSITELIB}/numpy/core/function_base.pyo
${PYSITELIB}/numpy/core/getlimits.py
${PYSITELIB}/numpy/core/getlimits.pyc
+${PYSITELIB}/numpy/core/getlimits.pyi
${PYSITELIB}/numpy/core/getlimits.pyo
${PYSITELIB}/numpy/core/multiarray.py
${PYSITELIB}/numpy/core/multiarray.pyc
+${PYSITELIB}/numpy/core/multiarray.pyi
${PYSITELIB}/numpy/core/multiarray.pyo
${PYSITELIB}/numpy/core/numeric.py
${PYSITELIB}/numpy/core/numeric.pyc
+${PYSITELIB}/numpy/core/numeric.pyi
${PYSITELIB}/numpy/core/numeric.pyo
${PYSITELIB}/numpy/core/numerictypes.py
${PYSITELIB}/numpy/core/numerictypes.pyc
+${PYSITELIB}/numpy/core/numerictypes.pyi
${PYSITELIB}/numpy/core/numerictypes.pyo
${PYSITELIB}/numpy/core/overrides.py
${PYSITELIB}/numpy/core/overrides.pyc
@@ -585,12 +594,15 @@ ${PYSITELIB}/numpy/core/overrides.pyi
${PYSITELIB}/numpy/core/overrides.pyo
${PYSITELIB}/numpy/core/records.py
${PYSITELIB}/numpy/core/records.pyc
+${PYSITELIB}/numpy/core/records.pyi
${PYSITELIB}/numpy/core/records.pyo
${PYSITELIB}/numpy/core/shape_base.py
${PYSITELIB}/numpy/core/shape_base.pyc
+${PYSITELIB}/numpy/core/shape_base.pyi
${PYSITELIB}/numpy/core/shape_base.pyo
${PYSITELIB}/numpy/core/umath.py
${PYSITELIB}/numpy/core/umath.pyc
+${PYSITELIB}/numpy/core/umath.pyi
${PYSITELIB}/numpy/core/umath.pyo
${PYSITELIB}/numpy/ctypeslib/__init__.py
${PYSITELIB}/numpy/ctypeslib/__init__.pyc
@@ -630,10 +642,6 @@ ${PYSITELIB}/numpy/f2py/_backends/_backe
${PYSITELIB}/numpy/f2py/_backends/_backend.pyc
${PYSITELIB}/numpy/f2py/_backends/_backend.pyi
${PYSITELIB}/numpy/f2py/_backends/_backend.pyo
-${PYSITELIB}/numpy/f2py/_backends/_distutils.py
-${PYSITELIB}/numpy/f2py/_backends/_distutils.pyc
-${PYSITELIB}/numpy/f2py/_backends/_distutils.pyi
-${PYSITELIB}/numpy/f2py/_backends/_distutils.pyo
${PYSITELIB}/numpy/f2py/_backends/_meson.py
${PYSITELIB}/numpy/f2py/_backends/_meson.pyc
${PYSITELIB}/numpy/f2py/_backends/_meson.pyi
@@ -744,6 +752,7 @@ ${PYSITELIB}/numpy/f2py/tests/src/crackf
${PYSITELIB}/numpy/f2py/tests/src/crackfortran/unicode_comment.f90
${PYSITELIB}/numpy/f2py/tests/src/f2cmap/.f2py_f2cmap
${PYSITELIB}/numpy/f2py/tests/src/f2cmap/isoFortranEnvMap.f90
+${PYSITELIB}/numpy/f2py/tests/src/inplace/foo.f
${PYSITELIB}/numpy/f2py/tests/src/isocintrin/isoCtests.f90
${PYSITELIB}/numpy/f2py/tests/src/kind/foo.f90
${PYSITELIB}/numpy/f2py/tests/src/mixed/foo.f
@@ -765,6 +774,8 @@ ${PYSITELIB}/numpy/f2py/tests/src/parame
${PYSITELIB}/numpy/f2py/tests/src/quoted_character/foo.f
${PYSITELIB}/numpy/f2py/tests/src/regression/AB.inc
${PYSITELIB}/numpy/f2py/tests/src/regression/assignOnlyModule.f90
+${PYSITELIB}/numpy/f2py/tests/src/regression/complex_struct_compat.f90
+${PYSITELIB}/numpy/f2py/tests/src/regression/complex_struct_compat.pyf
${PYSITELIB}/numpy/f2py/tests/src/regression/datonly.f90
${PYSITELIB}/numpy/f2py/tests/src/regression/f77comments.f
${PYSITELIB}/numpy/f2py/tests/src/regression/f77fixedform.f95
@@ -837,6 +848,9 @@ ${PYSITELIB}/numpy/f2py/tests/test_f2cma
${PYSITELIB}/numpy/f2py/tests/test_f2py2e.py
${PYSITELIB}/numpy/f2py/tests/test_f2py2e.pyc
${PYSITELIB}/numpy/f2py/tests/test_f2py2e.pyo
+${PYSITELIB}/numpy/f2py/tests/test_inplace.py
+${PYSITELIB}/numpy/f2py/tests/test_inplace.pyc
+${PYSITELIB}/numpy/f2py/tests/test_inplace.pyo
${PYSITELIB}/numpy/f2py/tests/test_isoc.py
${PYSITELIB}/numpy/f2py/tests/test_isoc.pyc
${PYSITELIB}/numpy/f2py/tests/test_isoc.pyo
Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.115 pkgsrc/math/py-numpy/distinfo:1.116
--- pkgsrc/math/py-numpy/distinfo:1.115 Tue May 19 07:34:21 2026
+++ pkgsrc/math/py-numpy/distinfo Sun Jun 28 15:40:18 2026
@@ -1,14 +1,9 @@
-$NetBSD: distinfo,v 1.115 2026/05/19 07:34:21 adam Exp $
+$NetBSD: distinfo,v 1.116 2026/06/28 15:40:18 wiz Exp $
-BLAKE2s (numpy-2.4.6.tar.gz) = 2f112c236e7b071f26a9c90b66891a34ca6595e428162ec5fb91adee8383278a
-SHA512 (numpy-2.4.6.tar.gz) = 6e78c61a54bb89e202b0365440cef8f5dc948ac94eb39dfcd5af56a1ddce96ba8c7b4cd9b9c474be5f7642e7ec56cdc8eb238eb1871238911b94f9a90e2720ca
-Size (numpy-2.4.6.tar.gz) = 20735807 bytes
+BLAKE2s (numpy-2.5.0.tar.gz) = ebe7457f022b4550d6df87c47f3b097af06a40d27fbfd12eba0a6f42a06f954b
+SHA512 (numpy-2.5.0.tar.gz) = 4d22d2eecd398dfaeaf105e1b20b83429ca261366613a3be4521859d702c6b703f826126ad854c567cca177c0fa86116cb626611d78f7b0c0a6bbeb388ea06f2
+Size (numpy-2.5.0.tar.gz) = 20652461 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_npymath_npy__math.c) = b28f1a9730d98a18b2f4f97c1c356ca8ad80903d
-SHA1 (patch-numpy_distutils_command_config.py) = eb37d28482689703e0c1a264f9768409cf8bb4b6
-SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53
-SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
-SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 1ab3fd7b3f42328f4094f1b21a65c05ae4d975b7
-SHA1 (patch-numpy_distutils_log.py) = f9bc3f03a5f9a56b9eb561f36467bae549500bc4
SHA1 (patch-numpy_linalg_lapack__litemodule.c) = e97ec871c2f33c3121b3c8471a9e5a74c3c798c8
Home |
Main Index |
Thread Index |
Old Index