devel/py-array-api-compat 1.15.0_1
Array API compatibility library
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c035cb4f96- License
- MIT
- Categories
- devel, python
- Package size
- 143.1 KiB, 845.2 KiB installed
Description
This is a small wrapper around common array libraries that is compatible with the Array API standard. Currently, NumPy, CuPy, and PyTorch are supported.
Note that some of the functionality in this library is backwards incompatible with the corresponding wrapped libraries. The end-goal is to eventually make each array library itself fully compatible with the array API, but this requires making backwards incompatible changes in many cases, so this will take some time.
Currently all libraries here are implemented against the 2022.12 version of the standard.
Install
As a binary package — by origin, or by package name:
pkg install devel/py-array-api-compat
pkg install py312-array-api-compat
From the ports tree:
cd /usr/ports/devel/py-array-api-compat/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-array-api-compat>0:devel/py-array-api-compat
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 | 1.15.0_1 | 1.15.0_1 | - | 1.12.0 | 1.15.0_1 |
| FreeBSD:14:quarterly | 1.15.0_1 | 1.15.0_1 | n/a | 1.9 | 1.15.0_1 |
| FreeBSD:15:latest | 1.15.0_1 | 1.15.0_1 | n/a | 1.12.0 | 1.12.0 |
| FreeBSD:15:quarterly | 1.15.0_1 | 1.15.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.15.0_1 | 1.15.0_1 | 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 1
${PYTHON_PKGNAMEPREFIX}meson-python>=0,1: devel/meson-python
The full lists below include those, and their dependencies in turn.
All build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/meson
- devel/meson-python
- devel/ninja
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-pyproject-metadata
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- sysutils/patchelf
- textproc/expat2
All run dependencies 7
Configuration
Options name: devel_array-api-compat
| Option | Default | Description |
|---|---|---|
| DASK | off | Dask array support |
| NUMPY | off | NumPy mathematical computing support |
| SPARSE | off | Sparse array support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| array_api_compat-1.15.0.tar.gz | 129305 | 53c5f922491bf15f62847afafc4e39eedfae57d218988fefb8cce39c2a9b3dea |
Master sites 2
- PYPI
- https://github.com/data-apis/array-api-compat/releases/download/1.15.0/