Date: Sun, 22 Apr 2018 08:57:44 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468010 - head/devel/py-frozendict Message-ID: <201804220857.w3M8viXG036884@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804220857.w3M8viXG036884>