Received: by mail.netbsd.org (Postfix, from userid 605) id 50CF284D7F; Sun, 30 May 2021 21:30:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8704E84D73 for ; Sun, 30 May 2021 21:30:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id jlCNsIVPeivE for ; Sun, 30 May 2021 21:30:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7F76784CFC for ; Sun, 30 May 2021 21:30:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7CDB6FA95; Sun, 30 May 2021 21:30:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1622410217125420" MIME-Version: 1.0 Date: Sun, 30 May 2021 21:30:17 +0000 From: "Pierre Pronchery" Subject: CVS commit: pkgsrc/devel/py-immutabledict To: pkgsrc-changes@NetBSD.org Reply-To: khorben@netbsd.org X-Mailer: log_accum Message-Id: <20210530213017.7CDB6FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1622410217125420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: khorben Date: Sun May 30 21:30:17 UTC 2021 Added Files: pkgsrc/devel/py-immutabledict: DESCR Makefile PLIST distinfo Log Message: py-immutabledict: import version 2.0.0 immutable is a fork of frozendict, an immutable wrapper around dictionaries. It implements the complete mapping interface. It 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. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-immutabledict/DESCR \ pkgsrc/devel/py-immutabledict/Makefile \ pkgsrc/devel/py-immutabledict/PLIST \ pkgsrc/devel/py-immutabledict/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1622410217125420 Content-Disposition: inline Content-Length: 2863 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-immutabledict/DESCR diff -u /dev/null pkgsrc/devel/py-immutabledict/DESCR:1.1 --- /dev/null Sun May 30 21:30:17 2021 +++ pkgsrc/devel/py-immutabledict/DESCR Sun May 30 21:30:17 2021 @@ -0,0 +1,12 @@ +immutable is a fork of frozendict, an immutable wrapper around dictionaries. + +It implements the complete mapping interface. It 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. Index: pkgsrc/devel/py-immutabledict/Makefile diff -u /dev/null pkgsrc/devel/py-immutabledict/Makefile:1.1 --- /dev/null Sun May 30 21:30:17 2021 +++ pkgsrc/devel/py-immutabledict/Makefile Sun May 30 21:30:17 2021 @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2021/05/30 21:30:17 khorben Exp $ + +DISTNAME= immutabledict-2.0.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=i/immutabledict/} + +MAINTAINER= khorben@defora.org +HOMEPAGE= https://github.com/corenting/immutabledict +COMMENT= Immutable wrapper around dictionaries for Python 3 +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-immutabledict/PLIST diff -u /dev/null pkgsrc/devel/py-immutabledict/PLIST:1.1 --- /dev/null Sun May 30 21:30:17 2021 +++ pkgsrc/devel/py-immutabledict/PLIST Sun May 30 21:30:17 2021 @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/30 21:30:17 khorben Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/immutabledict/__init__.py +${PYSITELIB}/immutabledict/__init__.pyc +${PYSITELIB}/immutabledict/__init__.pyo +${PYSITELIB}/immutabledict/py.typed Index: pkgsrc/devel/py-immutabledict/distinfo diff -u /dev/null pkgsrc/devel/py-immutabledict/distinfo:1.1 --- /dev/null Sun May 30 21:30:17 2021 +++ pkgsrc/devel/py-immutabledict/distinfo Sun May 30 21:30:17 2021 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/05/30 21:30:17 khorben Exp $ + +SHA1 (immutabledict-2.0.0.tar.gz) = 8f03b07d4064e86863a2e8a6e4661a3ddfc4b945 +RMD160 (immutabledict-2.0.0.tar.gz) = 933882be8ab29b6785590daef233eede4e919854 +SHA512 (immutabledict-2.0.0.tar.gz) = 9274f8cf561c3773e32f37d23791a19dbaee3c3d7cdf7589054dc773a0a14b5362c92dcf989530d85eb9410b013179b69a083eebde678dee22e284e610578621 +Size (immutabledict-2.0.0.tar.gz) = 3827 bytes --_----------=_1622410217125420--