FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.15.0_11.15.0_1-1.12.01.15.0_1
FreeBSD:14:quarterly1.15.0_11.15.0_1n/a1.91.15.0_1
FreeBSD:15:latest1.15.0_11.15.0_1n/a1.12.01.12.0
FreeBSD:15:quarterly1.15.0_11.15.0_1n/an/an/a
FreeBSD:16:latest1.15.0_11.15.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

All build dependencies 19
All run dependencies 7

Configuration

Options name: devel_array-api-compat

OptionDefaultDescription
DASKoffDask array support
NUMPYoffNumPy mathematical computing support
SPARSEoffSparse array support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
array_api_compat-1.15.0.tar.gz12930553c5f922491bf15f62847afafc4e39eedfae57d218988fefb8cce39c2a9b3dea
Master sites 2
  • PYPI
  • https://github.com/data-apis/array-api-compat/releases/download/1.15.0/

Commit history 2

DateCommitCreditsLog message
c035cb4f96 Po-Chuan Hsieh devel/py-array-api-compat: Remove pyproject.toml patch
- Bump PORTREVISION for package change
9ab513bf31 Po-Chuan Hsieh devel/py-array-api-compat: Update to 1.15.0
Changes: https://github.com/data-apis/array-api-compat/releases https://github.com/data-apis/array-api-compat/blob/main/docs/changelog.md https://data-apis.org/array-api-compat/changelog.html