BSD Ports

devel/py-optree 0.20.0 FreeBSD

Optimized PyTree utilities

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
43efb7dc1a
License
APACHE20
Categories
devel, python
Package size
411.2 KiB, 1965.9 KiB installed

Description

OpTree provides optimized PyTree utilities.

A PyTree is a recursive structure that can be an arbitrarily nested Python container (e.g., tuple, list, dict, OrderedDict, NamedTuple, etc.) or an opaque Python object. The key concepts of tree operations are tree flattening and its inverse (tree unflattening). Additional tree operations can be performed based on these two basic functions.

Install

Binary package:

pkg install py312-optree

From the ports tree:

cd /usr/ports/devel/py-optree/ && make install clean

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

RUN_DEPENDS=	py312-optree>0:devel/py-optree

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:latest0.20.00.20.0-0.17.00.20.0
FreeBSD:14:quarterly0.20.00.20.0n/a0.16.00.20.0
FreeBSD:15:latest0.20.00.20.0n/a0.17.00.17.0
FreeBSD:15:quarterly0.20.00.20.0n/an/an/a
FreeBSD:16:latest0.20.00.20.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

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

Build dependencies 24
Run dependencies 8

Configuration

Options name: devel_optree

OptionDefaultDescription
ATTRSoffAttrs integration
NUMPYoffNumPy mathematical computing support
USES
cmake:indirect compiler:c++20-lang python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
optree-0.20.0.tar.gz244699c7403eb0f2b2a060a97803a8f52904212df85ed6cff4b0eeed9cc6e38c2cf88d
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
43efb7dc1a Po-Chuan Hsieh devel/py-optree: Update to 0.20.0
Changes: https://github.com/metaopt/optree/releases