git: 1a0e93d5bdde - main - devel/py-rapidfuzz: Update 2.0.15 → 2.15.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 03:59:36 UTC
The branch main has been updated by yuri:

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

commit 1a0e93d5bdde1c3563e59242bcc576928ba8d21a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-10 02:50:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-10 03:59:30 +0000

    devel/py-rapidfuzz: Update 2.0.15 → 2.15.0
---
 devel/py-rapidfuzz/Makefile | 6 ++++--
 devel/py-rapidfuzz/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/py-rapidfuzz/Makefile b/devel/py-rapidfuzz/Makefile
index b3839edf4bdc..5a1bfe77c3ae 100644
--- a/devel/py-rapidfuzz/Makefile
+++ b/devel/py-rapidfuzz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rapidfuzz
-DISTVERSION=	2.0.15
+DISTVERSION=	2.15.0
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +23,9 @@ BUILD_DEPENDS=	cmake:devel/cmake-core \
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jarowinkler>=1.0.3:textproc/py-jarowinkler@${PY_FLAVOR}
 
 USES=		compiler:c++14-lang python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest # tests SEGV, see https://github.com/maxbachmann/RapidFuzz/issues/316
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@cd ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} && \
diff --git a/devel/py-rapidfuzz/distinfo b/devel/py-rapidfuzz/distinfo
index 84c62fe69507..a62815f7c329 100644
--- a/devel/py-rapidfuzz/distinfo
+++ b/devel/py-rapidfuzz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656202956
-SHA256 (rapidfuzz-2.0.15.tar.gz) = 1761c55109b91824c633eebe7b392eb097c9c7d44d04163708bfd59d3e275a35
-SIZE (rapidfuzz-2.0.15.tar.gz) = 1012915
+TIMESTAMP = 1681093537
+SHA256 (rapidfuzz-2.15.0.tar.gz) = 1c7e439d1428882d297bdd0db5626fc4626cdebe50d3fbbf4ed898f775ca56d5
+SIZE (rapidfuzz-2.15.0.tar.gz) = 998377