git: d92c7f24bded - main - textproc/py-rich: update to 13.0.0

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Mon, 02 Jan 2023 01:05:01 UTC
The branch main has been updated by matthew:

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

commit d92c7f24bded2ee123ad39dbe983b86d0edfbe0d
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-01-01 22:17:55 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-01-02 01:04:57 +0000

    textproc/py-rich: update to 13.0.0
    
    Changes:        https://github.com/Textualize/rich/blob/master/CHANGELOG.md
---
 textproc/py-rich/Makefile | 18 +++++++++++-------
 textproc/py-rich/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/textproc/py-rich/Makefile b/textproc/py-rich/Makefile
index 20ade8747aa4..03a4adaf4880 100644
--- a/textproc/py-rich/Makefile
+++ b/textproc/py-rich/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rich
-PORTVERSION=	12.6.0
+PORTVERSION=	13.0.0
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,17 @@ WWW=		https://github.com/willmcgugan/rich
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.0:devel/py-colorama@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.0:textproc/py-CommonMark@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=2.6.0:textproc/py-pygments@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.0:textproc/py-CommonMark@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>=2.6.0:textproc/py-pygments@${PY_FLAVOR}
 
 NO_ARCH=	yes
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-rich/distinfo b/textproc/py-rich/distinfo
index 0093265df211..891ea5d5f337 100644
--- a/textproc/py-rich/distinfo
+++ b/textproc/py-rich/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665430659
-SHA256 (rich-12.6.0.tar.gz) = ba3a3775974105c221d31141f2c116f4fd65c5ceb0698657a11e9f295ec93fd0
-SIZE (rich-12.6.0.tar.gz) = 220114
+TIMESTAMP = 1672609161
+SHA256 (rich-13.0.0.tar.gz) = 3aa9eba7219b8c575c6494446a59f702552efe1aa261e7eeb95548fa586e1950
+SIZE (rich-13.0.0.tar.gz) = 219643