git: 84e8a4831351 - main - textproc/py-textual: Update to 0.52.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:02:00 UTC
The branch main has been updated by sunpoet:

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

commit 84e8a48313512e99ed4f832415a436a97e9d5904
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:22:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:34 +0000

    textproc/py-textual: Update to 0.52.1
    
    - Add SYNTAX option
    
    Changes:        https://github.com/Textualize/textual/releases
---
 textproc/py-textual/Makefile | 21 +++++++++++----------
 textproc/py-textual/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/textproc/py-textual/Makefile b/textproc/py-textual/Makefile
index 7b9a0a1b8818..d1e8b74077d5 100644
--- a/textproc/py-textual/Makefile
+++ b/textproc/py-textual/Makefile
@@ -1,29 +1,30 @@
 PORTNAME=	textual
-PORTVERSION=	0.1.18
-PORTREVISION=	2
+PORTVERSION=	0.52.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Text User Interface using Rich
+COMMENT=	Modern Text User Interface framework
 WWW=		https://github.com/Textualize/textual
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rich12>=12.3.0<13.0.0:textproc/py-rich12@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.2.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.1.0:textproc/py-markdown-it-py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=13.3.3:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0<5:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	SYNTAX
+SYNTAX_DESC=	Syntax support
 
-.if ${PYTHON_REL} < 30900
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0<5.0:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
+SYNTAX_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tree-sitter>=0.20.1<0.21:devel/py-tree-sitter@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}tree-sitter-languages>=1.7.0:devel/py-tree-sitter-languages@${PY_FLAVOR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/py-textual/distinfo b/textproc/py-textual/distinfo
index 60b9db0c3b0f..dc98ad3d689a 100644
--- a/textproc/py-textual/distinfo
+++ b/textproc/py-textual/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652122539
-SHA256 (textual-0.1.18.tar.gz) = b2883f8ed291de58b9aa73de6d24bbaae0174687487458a4eb2a7c188a2acf23
-SIZE (textual-0.1.18.tar.gz) = 76786
+TIMESTAMP = 1710712544
+SHA256 (textual-0.52.1.tar.gz) = 4232e5c2b423ed7c63baaeb6030355e14e1de1b9df096c9655b68a1e60e4de5f
+SIZE (textual-0.52.1.tar.gz) = 1151143