git: d7062608b450 - main - textproc/py-jarowinkler: update 1.2.3 → 2.0.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 27 Dec 2023 06:27:23 UTC
The branch main has been updated by yuri:

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

commit d7062608b450f2bbf03e3f686e62894d10aaa913
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-27 02:28:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-27 06:27:17 +0000

    textproc/py-jarowinkler: update 1.2.3 → 2.0.1
    
    Reported by:    portscout
---
 textproc/py-jarowinkler/Makefile | 9 ++++-----
 textproc/py-jarowinkler/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/textproc/py-jarowinkler/Makefile b/textproc/py-jarowinkler/Makefile
index 9537db6f6d80..d986744bf77f 100644
--- a/textproc/py-jarowinkler/Makefile
+++ b/textproc/py-jarowinkler/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jarowinkler
-DISTVERSION=	1.2.3
+DISTVERSION=	2.0.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,15 +12,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	cmake:devel/cmake-core \
+		${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}rapidfuzz-capi>0:devel/py-rapidfuzz-capi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rapidfuzz>=3.5.2:devel/py-rapidfuzz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils cython autoplist pytest # tests fail to run, see https://github.com/maxbachmann/JaroWinkler/issues/7
+USE_PYTHON=	pep517 cython autoplist pytest # tests fail to run, see https://github.com/maxbachmann/JaroWinkler/issues/7
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jarowinkler/_initialize_cpp.cpython-${PYTHON_SUFFIX}.so
-
 .include <bsd.port.mk>
diff --git a/textproc/py-jarowinkler/distinfo b/textproc/py-jarowinkler/distinfo
index 6c9baed1bfd8..0a9c6df11217 100644
--- a/textproc/py-jarowinkler/distinfo
+++ b/textproc/py-jarowinkler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664507598
-SHA256 (jarowinkler-1.2.3.tar.gz) = af28ea284cfbd1b21b29ff94b759f20e94e4f7c06f424b0b4702e701c2a21668
-SIZE (jarowinkler-1.2.3.tar.gz) = 86021
+TIMESTAMP = 1703640547
+SHA256 (jarowinkler-2.0.1.tar.gz) = 7640c79f8d2d5e9eed6691cb49e3018a23b2319daad9a2178df253368b5432b7
+SIZE (jarowinkler-2.0.1.tar.gz) = 6368