svn commit: r468010 - head/devel/py-frozendict
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 22 08:57:52 UTC 2018
Author: sunpoet
Date: Sun Apr 22 08:57:44 2018
New Revision: 468010
URL: https://svnweb.freebsd.org/changeset/ports/468010
Log:
Update to 1.2
- Allow concurrent installation (USE_PYTHON=concurrent)
- Update pkg-descr
- Take maintainership
Changes: https://github.com/slezica/python-frozendict/commits/master
Modified:
head/devel/py-frozendict/Makefile
head/devel/py-frozendict/distinfo
head/devel/py-frozendict/pkg-descr
Modified: head/devel/py-frozendict/Makefile
==============================================================================
--- head/devel/py-frozendict/Makefile Sun Apr 22 08:57:39 2018 (r468009)
+++ head/devel/py-frozendict/Makefile Sun Apr 22 08:57:44 2018 (r468010)
@@ -2,19 +2,19 @@
# $FreeBSD$
PORTNAME= frozendict
-PORTVERSION= 1.0
+PORTVERSION= 1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at 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
Modified: head/devel/py-frozendict/distinfo
==============================================================================
--- head/devel/py-frozendict/distinfo Sun Apr 22 08:57:39 2018 (r468009)
+++ head/devel/py-frozendict/distinfo Sun Apr 22 08:57:44 2018 (r468010)
@@ -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
Modified: head/devel/py-frozendict/pkg-descr
==============================================================================
--- head/devel/py-frozendict/pkg-descr Sun Apr 22 08:57:39 2018 (r468009)
+++ head/devel/py-frozendict/pkg-descr Sun Apr 22 08:57:44 2018 (r468010)
@@ -2,4 +2,16 @@ frozendict is an immutable wrapper around dictionaries
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
More information about the svn-ports-all
mailing list