Index: head/devel/py-frozendict/Makefile =================================================================== --- head/devel/py-frozendict/Makefile (revision 468009) +++ head/devel/py-frozendict/Makefile (revision 468010) @@ -1,21 +1,21 @@ # Created by: Brendan Molloy # $FreeBSD$ PORTNAME= frozendict -PORTVERSION= 1.0 +PORTVERSION= 1.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Immutable dictionary implementation for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include Index: head/devel/py-frozendict/distinfo =================================================================== --- head/devel/py-frozendict/distinfo (revision 468009) +++ head/devel/py-frozendict/distinfo (revision 468010) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523908903 -SHA256 (frozendict-1.0.tar.gz) = 4852b8d74173f69bfaaca2dc77b69b0ae85ceddbead80d1954aa250d90e66f32 -SIZE (frozendict-1.0.tar.gz) = 2559 +TIMESTAMP = 1524259656 +SHA256 (frozendict-1.2.tar.gz) = 774179f22db2ef8a106e9c38d4d1f8503864603db08de2e33be5b778230f6e45 +SIZE (frozendict-1.2.tar.gz) = 2650 Index: head/devel/py-frozendict/pkg-descr =================================================================== --- head/devel/py-frozendict/pkg-descr (revision 468009) +++ head/devel/py-frozendict/pkg-descr (revision 468010) @@ -1,5 +1,17 @@ frozendict is an immutable wrapper around dictionaries that implements the complete mapping interface. It can be used as a drop-in replacement for dictionaries where immutability is desired. +Of course, this is python, and you can still poke around the object's internals +if you want. + +The frozendict constructor mimics dict, and all of the expected interfaces +(iter, len, repr, hash, getitem) are provided. Note that a frozendict 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 frozendict takes variable +keyword arguments, which will be present as key/value pairs in the new, +immutable copy. + WWW: https://github.com/slezica/python-frozendict