Port details |
- py-optree Optimized PyTree utilities
- 0.14.0 devel
=2 0.13.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-12-25 09:09:12
- Last Update: 2025-02-03 15:51:12
- Commit Hash: e5a8a9a
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://optree.readthedocs.io/en/latest/
- https://github.com/metaopt/optree
- 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.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}optree>0:devel/py-optree@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-optree/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-optree
- pkg install py311-optree
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-optree listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-optree
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1738089002
SHA256 (optree-0.14.0.tar.gz) = d2b4b8784f5c7651a899997c9d6d4cd814c4222cd450c76d1fa386b8f5728d61
SIZE (optree-0.14.0.tar.gz) = 158834
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-pybind11>=2.12 : devel/py-pybind11@py311
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- cmake : devel/cmake-core
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-typing-extensions>=4.5.0 : devel/py-typing-extensions@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-optree
- USES:
- cmake:indirect compiler:c++20-lang python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|