pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan  8 20:01:40 UTC 2020

Modified Files:
        pkgsrc/misc: Makefile
Added Files:
        pkgsrc/misc/py-immutables: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.527 -r1.528 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-immutables/DESCR \
    pkgsrc/misc/py-immutables/Makefile pkgsrc/misc/py-immutables/PLIST \
    pkgsrc/misc/py-immutables/distinfo

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

Modified files:

Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.527 pkgsrc/misc/Makefile:1.528
--- pkgsrc/misc/Makefile:1.527  Sat Jan  4 13:13:59 2020
+++ pkgsrc/misc/Makefile        Wed Jan  8 20:01:40 2020
@@ -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-anita
 SUBDIR+=       py-ansi
 SUBDIR+=       py-asciinema
 SUBDIR+=       py-carddav
+SUBDIR+=       py-immutables
 SUBDIR+=       py-stdnum
 SUBDIR+=       py-tqdm
 SUBDIR+=       py-trytond-carrier

Added files:

Index: pkgsrc/misc/py-immutables/DESCR
diff -u /dev/null pkgsrc/misc/py-immutables/DESCR:1.1
--- /dev/null   Wed Jan  8 20:01:41 2020
+++ pkgsrc/misc/py-immutables/DESCR     Wed Jan  8 20:01:40 2020
@@ -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.
Index: pkgsrc/misc/py-immutables/Makefile
diff -u /dev/null pkgsrc/misc/py-immutables/Makefile:1.1
--- /dev/null   Wed Jan  8 20:01:41 2020
+++ pkgsrc/misc/py-immutables/Makefile  Wed Jan  8 20:01:40 2020
@@ -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"
Index: pkgsrc/misc/py-immutables/PLIST
diff -u /dev/null pkgsrc/misc/py-immutables/PLIST:1.1
--- /dev/null   Wed Jan  8 20:01:41 2020
+++ pkgsrc/misc/py-immutables/PLIST     Wed Jan  8 20:01:40 2020
@@ -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
Index: pkgsrc/misc/py-immutables/distinfo
diff -u /dev/null pkgsrc/misc/py-immutables/distinfo:1.1
--- /dev/null   Wed Jan  8 20:01:41 2020
+++ pkgsrc/misc/py-immutables/distinfo  Wed Jan  8 20:01:40 2020
@@ -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