Skip to content

Commit

Permalink
textproc/py-textual: Add py-textual 0.1.18
Browse files Browse the repository at this point in the history
Textual is a TUI (Text User Interface) framework for Python inspired by modern
web development.

WWW: https://github.com/Textualize/textual
  • Loading branch information
sunpoet committed May 13, 2022
1 parent a405939 commit e3dd3d5
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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

0 comments on commit e3dd3d5

Please sign in to comment.