aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:27:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:39:11 +0000
commite3dd3d52cacf7f5ca11a56fcc0824a2279262e7e (patch)
treebd204b7a272eb9ef63ee94c32810b490f5839bb4
parenta40593959f0231e84838ea0f7b3b43d8568122c7 (diff)
textproc/py-textual: Add py-textual 0.1.18
Textual is a TUI (Text User Interface) framework for Python inspired by modern web development. WWW: https://github.com/Textualize/textual
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-textual/Makefile28
-rw-r--r--textproc/py-textual/distinfo3
-rw-r--r--textproc/py-textual/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index dfe8cce0b9ec..b9d791c79126 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1522,6 +1522,7 @@
SUBDIR += py-textdistance
SUBDIR += py-textfsm
SUBDIR += py-texttable
+ SUBDIR += py-textual
SUBDIR += py-three-merge
SUBDIR += py-tinycss
SUBDIR += py-tinycss2
diff --git a/textproc/py-textual/Makefile b/textproc/py-textual/Makefile
new file mode 100644
index 000000000000..bfe78705b53d
--- /dev/null
+++ b/textproc/py-textual/Makefile
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= textual
+PORTVERSION= 0.1.18
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Text User Interface using Rich
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich>=12.3.0<13.0.0:textproc/py-rich@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0<5.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-textual/distinfo b/textproc/py-textual/distinfo
new file mode 100644
index 000000000000..60b9db0c3b0f
--- /dev/null
+++ b/textproc/py-textual/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652122539
+SHA256 (textual-0.1.18.tar.gz) = b2883f8ed291de58b9aa73de6d24bbaae0174687487458a4eb2a7c188a2acf23
+SIZE (textual-0.1.18.tar.gz) = 76786
diff --git a/textproc/py-textual/pkg-descr b/textproc/py-textual/pkg-descr
new file mode 100644
index 000000000000..e82b6bfeef7d
--- /dev/null
+++ b/textproc/py-textual/pkg-descr
@@ -0,0 +1,4 @@
+Textual is a TUI (Text User Interface) framework for Python inspired by modern
+web development.
+
+WWW: https://github.com/Textualize/textual