devel/py-immutabledict 4.3.1 FreeBSD
Immutable wrapper around dictionaries for Python3
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2632867c3c- License
- MIT
- Categories
- devel, python
- Package size
- 9.0 KiB, 34.9 KiB installed
Description
A fork of the original frozendict, an immutable wrapper around dictionaries. This library is a pure Python, MIT-licensed alternative to the new LGPL-3.0 licensed frozendict.
It implements the complete mapping interface and can be used as a drop-in replacement for dictionaries where immutability is desired. The immutabledict constructor mimics dict, and all of the expected interfaces (iter, len, repr, hash, getitem) are provided. Note that an immutabledict does not guarantee the immutability of its values, so the utility of hash method is restricted by usage.
The only difference is that the copy() method of immutable takes variable keyword arguments, which will be present as key/value pairs in the new, immutable copy.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-immutabledict | 4.3.1 |
| OpenBSD | devel/py-immutabledict | 4.3.1 |
| NetBSD | devel/py-immutabledict | 4.3.1 |
| DragonFly | devel/py-immutabledict | 3.0.0 |
| HardenedBSD | devel/py-immutabledict | 4.3.1 |
| GhostBSD | devel/py-immutabledict | 4.3.1 |
Install
Binary package:
pkg install py312-immutabledict
From the ports tree:
cd /usr/ports/devel/py-immutabledict/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-immutabledict>0:devel/py-immutabledict
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 | 4.3.1 | 4.3.1 | - | 3.0.0 | 4.3.1 |
| FreeBSD:14:quarterly | 4.3.1 | 4.3.1 | n/a | 3.0.0 | 4.3.1 |
| FreeBSD:15:latest | 4.3.1 | 4.3.1 | n/a | 3.0.0 | 3.0.0 |
| FreeBSD:15:quarterly | 4.3.1 | 4.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.3.1 | 4.3.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}poetry-core>=2.0.0: devel/py-poetry-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| immutabledict-4.3.1.tar.gz | 7806 | f844a669106cfdc73f47b1a9da003782fb17dc955a54c80972e0d93d1c63c514 |
Master sites 1
- PYPI