pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc py-immutables: added version 0.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08735381f77c
branches:  trunk
changeset: 347202:08735381f77c
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 08 20:01:40 2020 +0000

description:
py-immutables: added version 0.11

An immutable mapping type for Python.

The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in
Clojure, Scala, Haskell, and other functional languages. This implementation is
used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more
details).

Immutable mappings based on HAMT have O(log N) performance for both set() and
get() operations, which is essentially O(1) for relatively small mappings.

diffstat:

 misc/Makefile               |   3 ++-
 misc/py-immutables/DESCR    |   9 +++++++++
 misc/py-immutables/Makefile |  16 ++++++++++++++++
 misc/py-immutables/PLIST    |  16 ++++++++++++++++
 misc/py-immutables/distinfo |   6 ++++++
 5 files changed, 49 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r eeee166927d2 -r 08735381f77c misc/Makefile
--- a/misc/Makefile     Wed Jan 08 19:58:20 2020 +0000
+++ b/misc/Makefile     Wed Jan 08 20:01:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.527 2020/01/04 13:13:59 nia Exp $
+# $NetBSD: Makefile,v 1.528 2020/01/08 20:01:40 adam Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -246,6 +246,7 @@
 SUBDIR+=       py-ansi
 SUBDIR+=       py-asciinema
 SUBDIR+=       py-carddav
+SUBDIR+=       py-immutables
 SUBDIR+=       py-stdnum
 SUBDIR+=       py-tqdm
 SUBDIR+=       py-trytond-carrier
diff -r eeee166927d2 -r 08735381f77c misc/py-immutables/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-immutables/DESCR  Wed Jan 08 20:01:40 2020 +0000
@@ -0,0 +1,9 @@
+An immutable mapping type for Python.
+
+The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in
+Clojure, Scala, Haskell, and other functional languages. This implementation is
+used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more
+details).
+
+Immutable mappings based on HAMT have O(log N) performance for both set() and
+get() operations, which is essentially O(1) for relatively small mappings.
diff -r eeee166927d2 -r 08735381f77c misc/py-immutables/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-immutables/Makefile       Wed Jan 08 20:01:40 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/01/08 20:01:40 adam Exp $
+
+DISTNAME=      immutables-0.11
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    misc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=i/immutables/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/MagicStack/immutables
+COMMENT=       Immutable collections
+LICENSE=       apache-2.0
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eeee166927d2 -r 08735381f77c misc/py-immutables/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-immutables/PLIST  Wed Jan 08 20:01:40 2020 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/08 20:01:40 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/immutables/__init__.py
+${PYSITELIB}/immutables/__init__.pyc
+${PYSITELIB}/immutables/__init__.pyo
+${PYSITELIB}/immutables/_map.c
+${PYSITELIB}/immutables/_map.h
+${PYSITELIB}/immutables/_map.pyi
+${PYSITELIB}/immutables/_map.so
+${PYSITELIB}/immutables/map.py
+${PYSITELIB}/immutables/map.pyc
+${PYSITELIB}/immutables/map.pyo
+${PYSITELIB}/immutables/py.typed
diff -r eeee166927d2 -r 08735381f77c misc/py-immutables/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-immutables/distinfo       Wed Jan 08 20:01:40 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/08 20:01:40 adam Exp $
+
+SHA1 (immutables-0.11.tar.gz) = 070277bbe664474ff4e0eae4aad7e8f1d37c08f8
+RMD160 (immutables-0.11.tar.gz) = 51c8d43376eed5ca69001d2cf3100ab6c80fc8e6
+SHA512 (immutables-0.11.tar.gz) = 88d041ddb2df8489da8825713880015f6a5d534213cd43f0793a8a138a633c4c5d83b2cb03d11747dc96eb257382f3152c0584f1bfd1880dd5b0ec95211492e0
+Size (immutables-0.11.tar.gz) = 38557 bytes



Home | Main Index | Thread Index | Old Index