aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-09 16:42:59 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-09 17:08:14 +0000
commit21128115bf40bf4732b5427787748dea83b5c610 (patch)
treed011a2aacbbf50128248322c664a744f91566942
parent66078cb0f041ae6a0627b7744b256f795a929188 (diff)
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)
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-terminaltables3/Makefile21
-rw-r--r--textproc/py-terminaltables3/distinfo3
-rw-r--r--textproc/py-terminaltables3/pkg-descr8
4 files changed, 33 insertions, 0 deletions
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.