BSD Ports

math/py-numpy1 1.26.4_5 MidnightBSD

Fundamental package for array computing in Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
a7a718384e
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

SystemPortVersion
MidnightBSDmath/py-numpy11.26.4_5
FreeBSDmath/py-numpy11.26.4_4
HardenedBSDmath/py-numpy11.26.4_4
GhostBSDmath/py-numpy11.26.4_4

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}numpy1

From mports:

cd /usr/mports/math/py-numpy1 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>0:math/py-numpy1

Dependencies

As this port's Makefile names them.

Build 1

Test 2

Build dependencies 1

Configuration

Options name: math_numpy

OptionDefaultDescription
BLISoffBLIS BLAS-like implementation
DOCSoff
FLEXIBLASoffFlexiBLAS BLAS implementation
NETLIBoff
OPENBLASon
USES
compiler:c11 cpe fortran pkgconfig python shebangfix
Service scripts
none
Conflicts with
py*-numpy

Files

distinfo 2
FileSizeSHA256
numpy-1.26/numpy-1.26.4.tar.gz1.5786129e+072a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010
numpy-1.26/numpy-html.zip2.5538887e+071dc88fc45a7709143b7b917e8e807e4985c41fe3fb7ee5fc55c3aeec5f369fdd
Master sites 2
  • PYPI
  • https://numpy.org/doc/${DISTVERSION:R}/:doc

Commit history 1

DateCommitCreditsLog message
a7a718384e Lucas Holt math/py-numpy1: fix the staging path in the option install targets
The option helper targets (post-install-DOCS-on and friends) are entries in _FAKE_SEQ and run in the main make, not in the sub-make that fake-post-install starts with FAKE_SETUP. There PREFIX is not stage-prefixed and STAGEDIR is empty, so ${STAGEDIR}${DOCSDIR} resolved to the live /usr/local: the build wrote outside the stage directory and the file was then reported missing, e.g. install ... README.rst /usr/local/share/doc/py312-webcolors /usr/local/share/doc/py312-webcolors/README.rst not installed. Fake failed. Use ${FAKE_DESTDIR} in these targets, as x11-wm/icewm already does. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>