git: dcf820e2039d - main - textproc/py-rich: enable 'make test' by using sources from GitHub

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Tue, 28 Mar 2023 10:16:37 UTC
The branch main has been updated by matthew:

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

commit dcf820e2039dd759a3ac3156e4ffa3dfa4a9393c
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-03-28 10:14:24 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-03-28 10:14:24 +0000

    textproc/py-rich: enable 'make test' by using sources from GitHub
    
    The PyPI source bundles don't contain any of the test code.
---
 textproc/py-rich/Makefile | 9 ++++++++-
 textproc/py-rich/distinfo | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/textproc/py-rich/Makefile b/textproc/py-rich/Makefile
index ec2ef36111ea..e7f7de345a97 100644
--- a/textproc/py-rich/Makefile
+++ b/textproc/py-rich/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	rich
 PORTVERSION=	13.3.3
+PORTREVISION=	1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc python
-MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	matthew@FreeBSD.org
@@ -19,6 +20,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.1.0<3.0.0:textproc/py-mark
 NO_ARCH=	yes
 USES=		python:3.7+
 USE_PYTHON=	autoplist pep517 pytest
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	Textualize
+
+# poetry-core will process .gitignore when git is present, and fail to
+# create a wheel because the 'work' directory is listed there.
 
 BINARY_ALIAS=	git=false
 
diff --git a/textproc/py-rich/distinfo b/textproc/py-rich/distinfo
index de511856a448..19eb089d98e1 100644
--- a/textproc/py-rich/distinfo
+++ b/textproc/py-rich/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679937132
-SHA256 (rich-13.3.3.tar.gz) = dc84400a9d842b3a9c5ff74addd8eb798d155f36c1c91303888e0a66850d2a15
-SIZE (rich-13.3.3.tar.gz) = 219231
+TIMESTAMP = 1679997566
+SHA256 (Textualize-rich-v13.3.3_GH0.tar.gz) = 292990f15b174879ac56638e7e8d7cabb8ccdef8624db607cdfa94827ed23504
+SIZE (Textualize-rich-v13.3.3_GH0.tar.gz) = 15060927