pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-immutabledict



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.

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@localhost
+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



Home | Main Index | Thread Index | Old Index