BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-immutabledict4.3.1
OpenBSDdevel/py-immutabledict4.3.1
NetBSDdevel/py-immutabledict4.3.1
DragonFlydevel/py-immutabledict3.0.0
HardenedBSDdevel/py-immutabledict4.3.1
GhostBSDdevel/py-immutabledict4.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.3.14.3.1-3.0.04.3.1
FreeBSD:14:quarterly4.3.14.3.1n/a3.0.04.3.1
FreeBSD:15:latest4.3.14.3.1n/a3.0.03.0.0
FreeBSD:15:quarterly4.3.14.3.1n/an/an/a
FreeBSD:16:latest4.3.14.3.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.

Build dependencies 15
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
immutabledict-4.3.1.tar.gz7806f844a669106cfdc73f47b1a9da003782fb17dc955a54c80972e0d93d1c63c514
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
2632867c3c Li-Wen Hsu devel/py-immutabledict: Update to 4.3.1