git: 21128115bf40 - main - textproc/py-terminaltables3: New port: Generate simple tables in terminals (fork of terminaltables)

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Mon, 09 Jun 2025 17:08:41 UTC
The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=21128115bf40bf4732b5427787748dea83b5c610

commit 21128115bf40bf4732b5427787748dea83b5c610
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-06-09 16:42:59 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-06-09 17:08:14 +0000

    textproc/py-terminaltables3: New port: Generate simple tables in terminals (fork of terminaltables)
    
    Easily draw tables in terminal/console applications from a list of
    lists of strings. Supports multi-line rows.
    
    This is a fork of the terminaltables project. Which is archived and
    unmaintained. This library is in a new namespace but should otherwise
    be a drop in replacement. Maintaining goals consist of maintaining
    ecosystem compatibility, type annotations and responding to community
    pull requests.
    
    Approved by:    acm (mentor)
---
 textproc/Makefile                     |  1 +
 textproc/py-terminaltables3/Makefile  | 21 +++++++++++++++++++++
 textproc/py-terminaltables3/distinfo  |  3 +++
 textproc/py-terminaltables3/pkg-descr |  8 ++++++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 6fff5e75a9e0..ca29266a3661 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1652,6 +1652,7 @@
     SUBDIR += py-tabletext
     SUBDIR += py-tablib
     SUBDIR += py-terminaltables
+    SUBDIR += py-terminaltables3
     SUBDIR += py-text2digits
     SUBDIR += py-textdistance
     SUBDIR += py-textfsm
diff --git a/textproc/py-terminaltables3/Makefile b/textproc/py-terminaltables3/Makefile
new file mode 100644
index 000000000000..51471c19e2fc
--- /dev/null
+++ b/textproc/py-terminaltables3/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	terminaltables3
+PORTVERSION=	4.0.0
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Generate simple tables in terminals (fork of terminaltables)
+WWW=		https://github.com/matthewdeanmartin/terminaltables
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-terminaltables3/distinfo b/textproc/py-terminaltables3/distinfo
new file mode 100644
index 000000000000..a09d794b0807
--- /dev/null
+++ b/textproc/py-terminaltables3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749485260
+SHA256 (terminaltables3-4.0.0.tar.gz) = 4e3eefe209aa89005a0a34d1525739424569729ee29b5e64a8dd51c5ebdab77f
+SIZE (terminaltables3-4.0.0.tar.gz) = 12777
diff --git a/textproc/py-terminaltables3/pkg-descr b/textproc/py-terminaltables3/pkg-descr
new file mode 100644
index 000000000000..86af9f488f7c
--- /dev/null
+++ b/textproc/py-terminaltables3/pkg-descr
@@ -0,0 +1,8 @@
+Easily draw tables in terminal/console applications from a list of
+lists of strings. Supports multi-line rows.
+
+This is a fork of the terminaltables project. Which is archived and
+unmaintained. This library is in a new namespace but should otherwise
+be a drop in replacement. Maintaining goals consist of maintaining
+ecosystem compatibility, type annotations and responding to community
+pull requests.