From owner-svn-ports-all@freebsd.org Mon Jan 20 20:08:34 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 770B42251C8; Mon, 20 Jan 2020 20:08:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jR62cFfz4vjH; Mon, 20 Jan 2020 20:08:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 53388EB8; Mon, 20 Jan 2020 20:08:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KK8YEm091120; Mon, 20 Jan 2020 20:08:34 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00KK8XO6091116; Mon, 20 Jan 2020 20:08:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001202008.00KK8XO6091116@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 20 Jan 2020 20:08:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r523645 - in head/devel: . py-immutables X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-immutables X-SVN-Commit-Revision: 523645 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 20:08:34 -0000 Author: sunpoet Date: Mon Jan 20 20:08:33 2020 New Revision: 523645 URL: https://svnweb.freebsd.org/changeset/ports/523645 Log: Add py-immutables 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. WWW: https://github.com/MagicStack/immutables Added: head/devel/py-immutables/ head/devel/py-immutables/Makefile (contents, props changed) head/devel/py-immutables/distinfo (contents, props changed) head/devel/py-immutables/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 20 20:08:27 2020 (r523644) +++ head/devel/Makefile Mon Jan 20 20:08:33 2020 (r523645) @@ -4518,6 +4518,7 @@ SUBDIR += py-identify SUBDIR += py-ijson SUBDIR += py-imgkit + SUBDIR += py-immutables SUBDIR += py-importlab SUBDIR += py-importlib-metadata SUBDIR += py-importlib-resources Added: head/devel/py-immutables/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-immutables/Makefile Mon Jan 20 20:08:33 2020 (r523645) @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= immutables +PORTVERSION= 0.11 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Immutable collections + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/immutables/_map.so + +.include Added: head/devel/py-immutables/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-immutables/distinfo Mon Jan 20 20:08:33 2020 (r523645) @@ -0,0 +1,3 @@ +TIMESTAMP = 1579531330 +SHA256 (immutables-0.11.tar.gz) = d6850578a0dc6530ac19113cfe4ddc13903df635212d498f176fe601a8a5a4a3 +SIZE (immutables-0.11.tar.gz) = 38557 Added: head/devel/py-immutables/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-immutables/pkg-descr Mon Jan 20 20:08:33 2020 (r523645) @@ -0,0 +1,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. + +WWW: https://github.com/MagicStack/immutables