math/py-numpy 2.4.6,1 MidnightBSD
Fundamental package for array computing in Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
20c0595129- License
- bsd3
- Categories
- math, python
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | math/py-numpy | 2.4.6,1 |
| FreeBSD | math/py-numpy | 2.4.6_1,1 |
| OpenBSD | math/py-numpy | 2.5.4 |
| NetBSD | math/py-numpy | 2.5.3 |
| DragonFly | math/py-numpy | 1.26.4_6,1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}numpy
From mports:
cd /usr/mports/math/py-numpy && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}meson-python>=0.18.0,1: devel/meson-python
Build dependencies 1
Required by 42
- ai/py-accelerate
- ai/py-bitsandbytes
- ai/py-datasets
- ai/py-diffusers
- ai/py-evaluate
- ai/py-langchain-aws
- ai/py-langchain-community
- ai/py-langchain-google-community
- ai/py-langchain-tests
- ai/py-mistral-common
- ai/py-onnx
- ai/py-openai
- ai/py-optuna
- ai/py-safetensors
- ai/py-sagemaker-core
- ai/py-torchvision
- ai/py-transformers
- ai/py-tritonclient
- audio/py-SoundFile
- audio/py-librosa
- audio/py-resampy
- audio/py-samplerate
- audio/py-sounddevice
- audio/py-soxr
- databases/py-pyarrow
- devel/py-rapidfuzz
- graphics/inkscape
- graphics/py-imageio
- graphics/py-pycollada
- graphics/py-tifffile
- math/py-bottleneck
- math/py-cmaes
- math/py-faiss
- math/py-jax
- math/py-ml-dtypes
- math/py-numexpr
- math/py-pandas
- math/py-pandas-stubs
- misc/py-laspy
- print/py-glyphtools
- science/tfel-edf
- x11-toolkits/py-wxPython4
Configuration
Options name: math_numpy
| Option | Default | Description |
|---|---|---|
| ATLAS | off | |
| DOCS | off | |
| MIN | on | Minimum recommended CPU features ${MIN_DESC_${ARCH}} |
| NATIVE | off | |
| NETLIB | off | |
| NONE | off | Dispatched optimizations only (not recommended except old CPUs) |
| OPENBLAS | on |
- USES
- compiler:c++17-lang cpe fortran pkgconfig python:3.11+ shebangfix
- Service scripts
- none
- Conflicts with
- py*-numpy1
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| numpy-2.4/numpy-2.4.6.tar.gz | 2.0735807e+07 | f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda |
| numpy-2.4/numpy-html.zip | 3.4959264e+07 | 905f823345774ce868c33cb2ccfc0ef4ca3717df0ec45eb8c18429c8763eadb0 |
Master sites 2
- PYPI
- https://numpy.org/doc/${DISTVERSION:R}/:doc
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
20c0595129 |
Lucas Holt | math/py-numpy: update to 2.4.6 mports has carried math/py-numpy1 at 1.26.4 for a while, so the 1.x line is
already provided; math/py-numpy itself was simply never moved to 2.x. This
blocks consumers that require the new ABI, e.g. math/py-ml-dtypes:
py312-ml-dtypes-0.5.1_2 depends on package: py312-numpy>=2.0,1<3,1 - not found
None of the 56 ports depending on math/py-numpy pin an upper bound below 2, so
nothing needed relaxing.
numpy 2 removed numpy.distutils, so all twelve local patches and site.cfg are
gone along with the distutils-era configure plumbing; the build is meson via
PEP 517. FreeBSD carries no patches at this version either.
The BLAS choice keeps ATLAS, NETLIB and OPENBLAS: mports' blaslapack extension
knows atlas, gotoblas, netlib and openblas only, so FreeBSD's BLIS and
… |
|
9bf4dffc92 |
Lucas Holt | math/py-numpy: alias cython to the flavored binary lang/cython uses concurrent, so each flavor installs only bin/cython-3.XX and
the bare bin/cython exists only for PYTHON_DEFAULT. meson looks up plain
cython and fails with "Unknown compiler(s): [['cython'], ['cython3']]" on
every non-default flavor.
AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |