git: f087fd40ea66 - main - textproc/py-regex: Updat 2020.7.14 -> 2022.9.13; Add tests; Correct WWW

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 04 Oct 2022 23:26:35 UTC
The branch main has been updated by yuri:

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

commit f087fd40ea669cd2a7cce372667c70f6692605f5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-04 23:24:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-04 23:24:20 +0000

    textproc/py-regex: Updat 2020.7.14 -> 2022.9.13; Add tests; Correct WWW
    
    PR:             266822
    Approved by:    fax@nohik.ee (maintainer)
---
 textproc/py-regex/Makefile | 8 +++++---
 textproc/py-regex/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/textproc/py-regex/Makefile b/textproc/py-regex/Makefile
index 6e9c66ffdc38..8eb7fa42f4b8 100644
--- a/textproc/py-regex/Makefile
+++ b/textproc/py-regex/Makefile
@@ -1,17 +1,19 @@
 PORTNAME=	regex
-PORTVERSION=	2020.7.14
+DISTVERSION=	2022.9.13
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	fax@nohik.ee
 COMMENT=	Alternative regular expression module, to replace re
-WWW=		https://pypi.org/project/regex/
+WWW=		https://github.com/mrabarnett/mrab-regex
 
 LICENSE=	PSFL
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest # 1 test fails, see https://github.com/mrabarnett/mrab-regex/issues/482
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/regex/_regex*.so
diff --git a/textproc/py-regex/distinfo b/textproc/py-regex/distinfo
index 1024afb8e180..36a705ffcd73 100644
--- a/textproc/py-regex/distinfo
+++ b/textproc/py-regex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1598376127
-SHA256 (regex-2020.7.14.tar.gz) = 3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb
-SIZE (regex-2020.7.14.tar.gz) = 690069
+TIMESTAMP = 1664908066
+SHA256 (regex-2022.9.13.tar.gz) = f07373b6e56a6f3a0df3d75b651a278ca7bd357a796078a26a958ea1ce0588fd
+SIZE (regex-2022.9.13.tar.gz) = 391531