git: 9f458e112d7a - main - devel/py-recordclass: Adding a new port required by Mathics3

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 07 Aug 2022 09:25:13 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f458e112d7a9e8e90f8856c4202a293553b45a2

commit 9f458e112d7a9e8e90f8856c4202a293553b45a2
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-08-06 18:10:27 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
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 <bsd.port.mk>
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