From nobody Sun Aug 07 09:25:13 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0v7Y5S4Hz4YKKq; Sun, 7 Aug 2022 09:25:13 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0v7Y516hz46KH; Sun, 7 Aug 2022 09:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659864313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lJqCzECEMqDYdj5uGFuF+lPEAos3YZuFkhDOJFgj068=; b=b9MbMPp4HC4MTFFrtBl09wb7ckJdiEHKR81Ycg/gOF3v+7ZZIDJU4GhJfklp+ZZRo7/xgV /IlLx6+CbackqseRybp69uqJHZDB+mEx/oX8woh2POXQ5i4Td2Fp0kAUYOJwlGTZe25hzJ BhBhkQBxIPWd+4nErw3N2oeWg+/+ylkX/wopikKgXK8U208WM9rJ7FVdmpTi5LMTaJsHBW UwSwmoUVrMGGwaYvDJObwJhpUgJ2DnNoArU97CtBo1vn0h8AZZ31wWO0Pm7eWgbEsKcZkf xNXSdJ+dvw8Syc6FhYcQAUhgmtsSdZRKsmKyrUriBirFkBluHCFREEwQ4hxe7g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0v7Y3jbPz16jX; Sun, 7 Aug 2022 09:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2779PDUf053621; Sun, 7 Aug 2022 09:25:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2779PDGn053620; Sun, 7 Aug 2022 09:25:13 GMT (envelope-from git) Date: Sun, 7 Aug 2022 09:25:13 GMT Message-Id: <202208070925.2779PDGn053620@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 9f458e112d7a - main - devel/py-recordclass: Adding a new port required by Mathics3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9f458e112d7a9e8e90f8856c4202a293553b45a2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659864313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lJqCzECEMqDYdj5uGFuF+lPEAos3YZuFkhDOJFgj068=; b=jSDhp9t1/DRnPeu3wyo4rnZWvC8FzWCbkb88V183uPJ1RHu9NbKAWTzh1vwz+v/mtHCaSr G/HXN/iVeNzRxxkOigZePmAr+uxleAche84H81PM8jrFc4/yoUIokgUBz+5eqGt2itswZ3 Y8k1c9UjyfIR1NyhKhhNkwRVmOC8GzmtNSDoiK0qmbkhVFbs8Fp6GYqYbXR9cdMpBnt6Ib BY3hrQucCw0H3FyQgizulQf1L7YTIxBRj+M6+kURvIb0e55y06nUmqgY3naoWHe7VbXt7D 0jEtzPh0UarcyC3Bym9CNFn9fYLtKS1nryyW0dGq5/SYciohmzTjJD33N14vxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659864313; a=rsa-sha256; cv=none; b=ujbFVDbt+T6wFy4Yy08YYlmgPMVbzpaREDpmV9Jkk9jZbUsjMatDdSw9s+NJTbF69g2omE ZI+DNv78wWg3goB8n7e1wG2Rhs3IBOwCQdN8d6w47saGRf0ldSlLh6EyvlK2HnoqAUf9uE 49Pg94+acVgh+BzaUuEybs4W36NdEyeK/0x/3v0dYuMtwkCAvxn0JnA+Gh6HXFlNNMSXI3 11zqnxtEhepdnyfhu1l82bNp2JL+lh9BAoeXaXgeEwHfppPzci60AT5bQmr0ctaKSVeHEw Q/PeYGtylOMbs1nkxIAS1ebQ5yGeuIRcGoRLsucog5rQlYDCuBa0WsMnJ77LwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f458e112d7a9e8e90f8856c4202a293553b45a2 commit 9f458e112d7a9e8e90f8856c4202a293553b45a2 Author: Thierry Thomas AuthorDate: 2022-08-06 18:10:27 +0000 Commit: Thierry Thomas CommitDate: 2022-08-07 09:25:05 +0000 devel/py-recordclass: Adding a new port required by Mathics3 Python library dealing with mutable variants of tuple (mutabletuple) and collections.namedtuple (recordclass), which support assignments and more memory saving variants (dataobject, litelist, …). --- devel/Makefile | 1 + devel/py-recordclass/Makefile | 22 ++++++++++++++ devel/py-recordclass/distinfo | 3 ++ devel/py-recordclass/pkg-descr | 9 ++++++ devel/py-recordclass/pkg-plist | 67 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4153007f11c7..3815d5aceb5f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5188,6 +5188,7 @@ SUBDIR += py-rchitect SUBDIR += py-readme-renderer SUBDIR += py-rebulk + SUBDIR += py-recordclass SUBDIR += py-rednose SUBDIR += py-reedsolo SUBDIR += py-remote-pdb diff --git a/devel/py-recordclass/Makefile b/devel/py-recordclass/Makefile new file mode 100644 index 000000000000..308ec57794c2 --- /dev/null +++ b/devel/py-recordclass/Makefile @@ -0,0 +1,22 @@ +PORTNAME= recordclass +PORTVERSION= 0.17.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Mutable variants of tuple and collections.namedtuple + +LICENSE= MIT + +USES= python:3.9+ +USE_PYTHON= cython distutils + +.if ! defined(WITH_DEBUG) +LDFLAGS+= -s +.endif + +do-test: install + (cd ${WRKSRC} && ${PYTHON_CMD} ./test_all.py) + +.include diff --git a/devel/py-recordclass/distinfo b/devel/py-recordclass/distinfo new file mode 100644 index 000000000000..bda83a2239c5 --- /dev/null +++ b/devel/py-recordclass/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659808478 +SHA256 (recordclass-0.17.2.tar.gz) = 7a6bd410e29095f7f947a3106e10b6354945029309cc2c9f301f491a797293da +SIZE (recordclass-0.17.2.tar.gz) = 446086 diff --git a/devel/py-recordclass/pkg-descr b/devel/py-recordclass/pkg-descr new file mode 100644 index 000000000000..cf6b185b8b6b --- /dev/null +++ b/devel/py-recordclass/pkg-descr @@ -0,0 +1,9 @@ +Recordclass is MIT Licensed python library. It was started as a "proof of +concept" for the problem of fast "mutable" alternative of namedtuple. It +implements a factory function recordclass (a variant of collection.namedtuple) +in order to create record-like classes with the same API as +collection.namedtuple. It was evolved further in order to provide more memory +saving, fast and flexible types. + +WWW: https://bitbucket.org/intellimath/recordclass/ +WWW: https://pypi.org/project/recordclass/ diff --git a/devel/py-recordclass/pkg-plist b/devel/py-recordclass/pkg-plist new file mode 100644 index 000000000000..1784bb605421 --- /dev/null +++ b/devel/py-recordclass/pkg-plist @@ -0,0 +1,67 @@ +%%PYTHON_SITELIBDIR%%/recordclass/__init__.py +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/adapter.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/adapter.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/arrayclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/arrayclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/dataclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/dataclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/datatype.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/datatype.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/dictclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/dictclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/recordclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/recordclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/_dataobject%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/recordclass/_linkedlist%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/recordclass/_litelist%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/recordclass/_litetuple%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/recordclass/adapter.py +%%PYTHON_SITELIBDIR%%/recordclass/arrayclass.py +%%PYTHON_SITELIBDIR%%/recordclass/dataclass.py +%%PYTHON_SITELIBDIR%%/recordclass/datatype.py +%%PYTHON_SITELIBDIR%%/recordclass/dictclass.py +%%PYTHON_SITELIBDIR%%/recordclass/recordclass.py +%%PYTHON_SITELIBDIR%%/recordclass/test/__init__.py +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_arrayclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_arrayclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_dataobject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_dataobject.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_litelist.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_litelist.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_litetuple.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_litetuple.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_recordclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/__pycache__/test_recordclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/test_arrayclass.py +%%PYTHON_SITELIBDIR%%/recordclass/test/test_dataobject.py +%%PYTHON_SITELIBDIR%%/recordclass/test/test_litelist.py +%%PYTHON_SITELIBDIR%%/recordclass/test/test_litetuple.py +%%PYTHON_SITELIBDIR%%/recordclass/test/test_recordclass.py +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__init__.py +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/test_dataobject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/test_dataobject.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/test_recordclass.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/__pycache__/test_recordclass.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/test_dataobject.py +%%PYTHON_SITELIBDIR%%/recordclass/test/typing/test_recordclass.py +%%PYTHON_SITELIBDIR%%/recordclass/tools/__init__.py +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/csv_dataobject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/csv_dataobject.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/perfcounts.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/__pycache__/perfcounts.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/tools/csv_dataobject.py +%%PYTHON_SITELIBDIR%%/recordclass/tools/perfcounts.py +%%PYTHON_SITELIBDIR%%/recordclass/typing/__init__.py +%%PYTHON_SITELIBDIR%%/recordclass/typing/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/recordclass/typing/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/recordclass/utils.py