notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-numpy1 Fundamental package for array computing in Python
1.26.4_4 math on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
Port Added: 2026-04-03 19:03:07
Last Update: 2026-05-13 08:28:41
Commit Hash: 227859d
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  • py*-numpy
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>)
  • py311: py311-numpy1
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

Expand this list (2 items)

Collapse this list.

SHA256 (numpy-1.26/numpy-html.zip) = 1dc88fc45a7709143b7b917e8e807e4985c41fe3fb7ee5fc55c3aeec5f369fdd SIZE (numpy-1.26/numpy-html.zip) = 25538887

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-numpy1
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.26.4_31.26.4_3--1.26.4_3n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest1.26.4_31.26.4_3--1.26.4_3---
FreeBSD:14:quarterly--------
FreeBSD:15:latest1.26.4_31.26.4_3n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest1.26.4_31.26.4_3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-meson-python>=0.15.0 : devel/meson-python@py311
  2. gfortran14 : lang/gcc14
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. py311-cython>=3.2.4 : lang/cython@py311
  5. python3.11 : lang/python311
  6. as : devel/binutils
  7. py311-build>=0 : devel/py-build@py311
  8. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-hypothesis>=6.24.1 : devel/py-hypothesis@py311
  2. py311-typing-extensions>=4.2.0 : devel/py-typing-extensions@py311
  3. py311-pytest>=7,1 : devel/py-pytest@py311
  4. python3.11 : lang/python311
Runtime dependencies:
  1. gfortran14 : lang/gcc14
  2. python3.11 : lang/python311
Library dependencies:
  1. libopenblas.so : math/openblas
This port is required by:
for Build
  1. graphics/piglit
  2. math/py-fsph
  3. science/py-libgetar
for Run
  1. graphics/piglit
  2. math/py-fsph
  3. science/py-libgetar

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. misc/py-aider-chat*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for py311-numpy1-1.26.4_4: 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/n/numpy/
  2. https://pypi.org/packages/source/n/numpy/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.26.4_4
13 May 2026 08:28:41
commit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccf files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after the upgrade of OpenBLAS
1.26.4_3
06 Apr 2026 06:29:19
commit hash: 65bb03e945bc3bf13fa028b0a4e3f321f506f363commit hash: 65bb03e945bc3bf13fa028b0a4e3f321f506f363commit hash: 65bb03e945bc3bf13fa028b0a4e3f321f506f363commit hash: 65bb03e945bc3bf13fa028b0a4e3f321f506f363 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
math/py-numpy1: Strip shared library

- Bump PORTREVISION for package change
1.26.4_2
05 Apr 2026 14:51:30
commit hash: 634b014274a6dc38252bc1239007da72664307a5commit hash: 634b014274a6dc38252bc1239007da72664307a5commit hash: 634b014274a6dc38252bc1239007da72664307a5commit hash: 634b014274a6dc38252bc1239007da72664307a5 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 0d581662824e4641f23c38f8dd2eb24501ca0ec7commit hash: 0d581662824e4641f23c38f8dd2eb24501ca0ec7commit hash: 0d581662824e4641f23c38f8dd2eb24501ca0ec7commit hash: 0d581662824e4641f23c38f8dd2eb24501ca0ec7 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
math/py-numpy*: unbreak the ports tree
1.26.4_1
04 Apr 2026 01:47:26
commit hash: 28081ef83218b02fe882f736d7935ea05bb23d68commit hash: 28081ef83218b02fe882f736d7935ea05bb23d68commit hash: 28081ef83218b02fe882f736d7935ea05bb23d68commit hash: 28081ef83218b02fe882f736d7935ea05bb23d68 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 91ac7f85c1f9c223478dbeea3da2dd04cec8d849commit hash: 91ac7f85c1f9c223478dbeea3da2dd04cec8d849commit hash: 91ac7f85c1f9c223478dbeea3da2dd04cec8d849commit hash: 91ac7f85c1f9c223478dbeea3da2dd04cec8d849 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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: 6