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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.20.0 | 0.20.0 | - | 0.17.0 | 0.20.0 |
| FreeBSD:14:quarterly | 0.20.0 | 0.20.0 | n/a | 0.16.0 | 0.20.0 |
| FreeBSD:15:latest | 0.20.0 | 0.20.0 | n/a | 0.17.0 | 0.17.0 |
| FreeBSD:15:quarterly | 0.20.0 | 0.20.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.20.0 | 0.20.0 | 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}pybind11>=2.12: devel/py-pybind11${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 24
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pybind11
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- dns/libidn2
- lang/python312
- lang/python315
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 8
Required by 3
Configuration
Options name: devel_optree
| Option | Default | Description |
|---|---|---|
| ATTRS | off | Attrs integration |
| NUMPY | off | NumPy mathematical computing support |
- USES
- cmake:indirect compiler:c++20-lang python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| optree-0.20.0.tar.gz | 244699 | c7403eb0f2b2a060a97803a8f52904212df85ed6cff4b0eeed9cc6e38c2cf88d |
Master sites 1
- PYPI