devel/py-sparse 0.19.2 FreeBSD
Sparse n-dimensional arrays
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
a201f72159- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 362.1 KiB, 2386.3 KiB installed
Description
This implements sparse arrays of arbitrary dimension on top of numpy and scipy.sparse. It generalizes the scipy.sparse.coo_matrix and scipy.sparse.dok_matrix layouts, but extends beyond just rows and columns to an arbitrary number of dimensions.
Additionally, this project maintains compatibility with the numpy.ndarray interface rather than the numpy.matrix interface used in scipy.sparse
These differences make this project useful in certain situations where scipy.sparse matrices are not well suited, but it should not be considered a full replacement. The data structures in pydata/sparse complement and can be used in conjunction with the fast linear algebra routines inside scipy.sparse. A format conversion or copy may be required.
Install
Binary package:
pkg install py312-sparse
From the ports tree:
cd /usr/ports/devel/py-sparse/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sparse>0:devel/py-sparse
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.19.2 | 0.19.2 | - | - | 0.19.2 |
| FreeBSD:14:quarterly | 0.19.2 | 0.19.2 | n/a | - | 0.19.2 |
| FreeBSD:15:latest | 0.19.2 | 0.19.2 | n/a | - | 0.17.0 |
| FreeBSD:15:quarterly | 0.19.2 | 0.19.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.19.2 | 0.19.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}numba>=0.49: devel/py-numba${PYTHON_PKGNAMEPREFIX}numpy>=1.17,1: math/py-numpy
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 25
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/hwloc2
- devel/level-zero
- devel/libffi
- devel/libpciaccess
- devel/llvm22
- devel/onetbb
- devel/py-llvmlite
- devel/py-numba
- devel/readline
- lang/gcc14
- lang/python312
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- print/indexinfo
- textproc/expat2
- textproc/libxml2
No port depends on this one.
Configuration
No options to configure.
- USES
- python:3.11+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sparse-0.19.2.tar.gz | 814045 | 0d41a7c3f477cb4265d7193bcf12b0146674d6533ff328afa1e1d0f2b8480f00 |
Master sites 1
- PYPI