pkgsrc-WIP-changes archive

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

py-frozendict: imported 2.3.0 (devel/py-frozendict is not maintained any longer)



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Fri Mar 18 11:08:42 2022 +0100
Changeset:	5089aab706f02554f8400a985133178a46ec36f7

Added Files:
	py-frozendict/DESCR
	py-frozendict/Makefile
	py-frozendict/PLIST
	py-frozendict/distinfo

Log Message:
py-frozendict: imported 2.3.0 (devel/py-frozendict is not maintained any longer)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5089aab706f02554f8400a985133178a46ec36f7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-frozendict/DESCR    | 15 +++++++++++++++
 py-frozendict/Makefile | 16 ++++++++++++++++
 py-frozendict/PLIST    | 14 ++++++++++++++
 py-frozendict/distinfo |  5 +++++
 4 files changed, 50 insertions(+)

diffs:
diff --git a/py-frozendict/DESCR b/py-frozendict/DESCR
new file mode 100644
index 0000000000..c89388d581
--- /dev/null
+++ b/py-frozendict/DESCR
@@ -0,0 +1,15 @@
+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.
diff --git a/py-frozendict/Makefile b/py-frozendict/Makefile
new file mode 100644
index 0000000000..12e7f27f13
--- /dev/null
+++ b/py-frozendict/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.3 2020/04/18 15:26:06 js Exp $
+
+DISTNAME=	frozendict-2.3.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=f/frozendict/}
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	https://github.com/Marco-Sulla/python-frozendict
+COMMENT=	Simple immutable dictionary
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-frozendict/PLIST b/py-frozendict/PLIST
new file mode 100644
index 0000000000..372f6cbc91
--- /dev/null
+++ b/py-frozendict/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/frozendict/VERSION
+${PYSITELIB}/frozendict/__init__.py
+${PYSITELIB}/frozendict/__init__.pyc
+${PYSITELIB}/frozendict/__init__.pyo
+${PYSITELIB}/frozendict/_frozendict.so
+${PYSITELIB}/frozendict/core.py
+${PYSITELIB}/frozendict/core.pyc
+${PYSITELIB}/frozendict/core.pyo
+${PYSITELIB}/frozendict/py.typed
diff --git a/py-frozendict/distinfo b/py-frozendict/distinfo
new file mode 100644
index 0000000000..89aab39749
--- /dev/null
+++ b/py-frozendict/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.3 2021/10/26 10:18:28 nia Exp $
+
+BLAKE2s (frozendict-2.3.0.tar.gz) = 273b37502430804dc7b50ef794ddcc64b0a659763bdfa6b6d047c43cc277009f
+SHA512 (frozendict-2.3.0.tar.gz) = 1901c2c536bef401b61ab87bc104a94d2f21e7c42843036e8d721c3974efe84a1554ac54c8d10ae8925e07a0129a421fe8bc804ec1cf67a57cb56f01993ba162
+Size (frozendict-2.3.0.tar.gz) = 306830 bytes


Home | Main Index | Thread Index | Old Index