git: b7b7bcabe82d - main - devel/py-monotable: New port: ASCII table with per column format specs and more

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 20 Dec 2024 06:06:05 UTC
The branch main has been updated by yuri:

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

commit b7b7bcabe82dc4685a303865a27954b409b1542d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-20 03:48:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-20 06:05:43 +0000

    devel/py-monotable: New port: ASCII table with per column format specs and more
---
 devel/Makefile               |  1 +
 devel/py-monotable/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-monotable/distinfo  |  3 +++
 devel/py-monotable/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9b21b1e447a2..7be30a509154 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5233,6 +5233,7 @@
     SUBDIR += py-mondrian
     SUBDIR += py-mongokit
     SUBDIR += py-monkeytype
+    SUBDIR += py-monotable
     SUBDIR += py-monotonic
     SUBDIR += py-monty
     SUBDIR += py-more-itertools
diff --git a/devel/py-monotable/Makefile b/devel/py-monotable/Makefile
new file mode 100644
index 000000000000..0eb296446065
--- /dev/null
+++ b/devel/py-monotable/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	monotable
+DISTVERSION=	3.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	ASCII table with per column format specs and more
+WWW=		https://github.com/tmarktaylor/monotable
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+NO_ARCH=	yes
+
+# tests as of 3.2.0: 3 failed, 297 passed in 1.66s (3 failures due tarball not being a git repository)
+
+.include <bsd.port.mk>
diff --git a/devel/py-monotable/distinfo b/devel/py-monotable/distinfo
new file mode 100644
index 000000000000..c1992bdc1100
--- /dev/null
+++ b/devel/py-monotable/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734665735
+SHA256 (monotable-3.2.0.tar.gz) = 3e215bdac7d0849d7e4f79c67790009f1ce63814a06403bef229c347cfbe3bc6
+SIZE (monotable-3.2.0.tar.gz) = 91356
diff --git a/devel/py-monotable/pkg-descr b/devel/py-monotable/pkg-descr
new file mode 100644
index 000000000000..1060edd0048d
--- /dev/null
+++ b/devel/py-monotable/pkg-descr
@@ -0,0 +1,3 @@
+monotable is a Python package that provides ASCII table generation with per
+column format specs, multi-line content, formatting directives, column
+width control.