| Port details |
- py-numpy1 Fundamental package for array computing in Python
- 1.26.4_3 math
=1 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: python@FreeBSD.org
 - Port Added: 2026-04-03 19:03:07
- Last Update: 2026-04-06 06:29:19
- Commit Hash: 65bb03e
- People watching this port, also watch:: py311-pycparser, p5-Net-HTTP, py311-pymilter, tmux, python
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://www.numpy.org/
- Description:
- NumPy is the fundamental package for scientific computing with Python. It
contains among other things:
- a powerful N-dimensional array object
- sophisticated (broadcasting) functions
- tools for integrating C/C++ and Fortran code
- useful linear algebra, Fourier transform, and random number capabilities
Besides its obvious scientific uses, NumPy can also be used as an efficient
multi-dimensional container of generic data. Arbitrary data-types can be
defined. This allows NumPy to seamlessly and speedily integrate with a wide
variety of databases.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}numpy1>0:math/py-numpy1@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/math/py-numpy1/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-numpy1
- pkg install py311-numpy1
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-numpy1 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-numpy1
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1718154974
SHA256 (numpy-1.26/numpy-1.26.4.tar.gz) = 2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010
SIZE (numpy-1.26/numpy-1.26.4.tar.gz) = 15786129
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-meson-python>=0.15.0 : devel/meson-python@py311
- gfortran14 : lang/gcc14
- pkgconf>=1.3.0_1 : devel/pkgconf
- py311-cython>=3.2.4 : lang/cython@py311
- python3.11 : lang/python311
- as : devel/binutils
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-hypothesis>=6.24.1 : devel/py-hypothesis@py311
- py311-typing-extensions>=4.2.0 : devel/py-typing-extensions@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- gfortran14 : lang/gcc14
- python3.11 : lang/python311
- Library dependencies:
-
- libopenblas.so : math/openblas
- This port is required by:
- for Build
-
- archivers/py-bitshuffle
- archivers/py-blosc2
- astro/astrometry
- astro/py-astropy
- astro/py-astropy-healpix
- astro/py-astropy-helpers
- astro/py-fitsio
- for Run
-
- archivers/py-bitshuffle
- archivers/py-blosc2
- astro/astrometry
- astro/py-astlib
- astro/py-astroML
- astro/py-astropy
- astro/py-astropy-healpix
Configuration Options:
- ===> The following configuration options are available for py311-numpy1-1.26.4_3:
DOCS=on: Build and/or install documentation
====> Options available for the single BLASLIB: you have to select exactly one of them
BLIS=off: BLIS BLAS-like implementation
FLEXIBLAS=off: FlexiBLAS BLAS implementation
NETLIB=off: BLAS implementation from Netlib
OPENBLAS=on: OpenBLAS BLAS implementation
===> Use 'make config' to modify these settings
- Options name:
- math_py-numpy1
- USES:
- compiler:c11 cpe fortran pkgconfig python shebangfix blaslapack:openblas
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 5
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.26.4_3 06 Apr 2026 06:29:19
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-numpy1: Strip shared library
- Bump PORTREVISION for package change |
1.26.4_2 05 Apr 2026 14:51:30
    |
Charlie Li (vishwin)  |
math/py-numpy1: restore mistakenly removed patch
Leads to breakages like math/py-nlopt:
[ 98%] Building CXX object
extern/nlopt/src/swig/CMakeFiles/nlopt_python.dir/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx.o
/wrkdirs/usr/ports/math/py-nlopt/work-py311/nlopt-python-2.9.1/build/temp.freebsd-14.3-RELEASE-p10-i386-cpython-311/extern/nlopt/src/swig/CMakeFiles/nlopt_python.dir/nloptPYTHON_wrap.cxx:15325:3:
error: cannot initialize return object of type 'int' with an rvalue of type
'std::nullptr_t'
15325 | import_array();
| ^~~~~~~~~~~~~~
/usr/local/lib/python3.11/site-packages/numpy/core/include/numpy/__multiarray_api.h:1558:151:
note: expanded from macro 'import_array'
1558 | #define import_array() {if (_import_array() < 0) {PyErr_Print();
PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import");
return NULL; } }
|
^~~~
/usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL'
35 | #define NULL nullptr
| ^~~~~~~
1 error generated.
Reported by: diizzy, fallout |
1.26.4_1 04 Apr 2026 06:19:02
    |
Antoine Brodin (antoine)  |
math/py-numpy*: unbreak the ports tree |
1.26.4_1 04 Apr 2026 01:47:26
    |
Charlie Li (vishwin)  |
math/py-numpy1: backport configtool/pkg-config file from numpy 2
Traditionally the way to query for the numpy C API has been through
distutils/setuptools, but the use of setuptools beyond a PEP-517
build backend is increasingly discouraged. numpy 2 introduced
numpy-config and a pkg-config file to allow consumer build systems
to better support the use of numpy as a dependency.
Based on:
https://github.com/numpy/numpy/commit/2634f803313f349170c09606d3cc619accd72247
Reported by: fluffy
PR: 281470 |
1.26.4 03 Apr 2026 18:52:16
    |
Charlie Li (vishwin)  |
math/py-numpy1: copy from math/py-numpy and rework
- rework and fix OPTIONS for meson-python
- fix build with free-threaded CPython
PR: 281470 |
Number of commits found: 5
|