git: e3dd3d52cacf - main - textproc/py-textual: Add py-textual 0.1.18

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:29 UTC
The branch main has been updated by sunpoet:

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

commit e3dd3d52cacf7f5ca11a56fcc0824a2279262e7e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:11 +0000

    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
---
 textproc/Makefile             |  1 +
 textproc/py-textual/Makefile  | 28 ++++++++++++++++++++++++++++
 textproc/py-textual/distinfo  |  3 +++
 textproc/py-textual/pkg-descr |  4 ++++
 4 files changed, 36 insertions(+)

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