git: 085938a5e018 - main - textproc/py-textdistance: Update to 4.6.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 15:27:01 UTC
The branch main has been updated by rhurlin:

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

commit 085938a5e0182e5f3cbfd27290fa4ef39728dc4e
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-09-30 15:21:17 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-09-30 15:26:16 +0000

    textproc/py-textdistance: Update to 4.6.0
    
    - Move to PEP517 from distutils
    - Make test target available
    
    Changelog: https://github.com/life4/textdistance/releases/tag/4.6.0
    
    Reported by:    Repology
---
 textproc/py-textdistance/Makefile | 12 ++++++++----
 textproc/py-textdistance/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/textproc/py-textdistance/Makefile b/textproc/py-textdistance/Makefile
index 6d831cecc616..72b335ecd83f 100644
--- a/textproc/py-textdistance/Makefile
+++ b/textproc/py-textdistance/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	textdistance
-PORTVERSION=	4.5.0
-PORTREVISION=	1
+PORTVERSION=	4.6.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +11,15 @@ WWW=		https://github.com/life4/textdistance
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYNUMPY}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+# Tests (18 failed, 180 passed)
+# tests/test_external.py: RuntimeError (Levenshtein, DamerauLevenshtein, and Hamming)
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-textdistance/distinfo b/textproc/py-textdistance/distinfo
index 2ebd9d42663c..3353dc68d33e 100644
--- a/textproc/py-textdistance/distinfo
+++ b/textproc/py-textdistance/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663573263
-SHA256 (textdistance-4.5.0.tar.gz) = 364d43f4f6635742662e3e6cf5372a86859416c84a3c9b2ef9d66d44f5a4385c
-SIZE (textdistance-4.5.0.tar.gz) = 30927
+TIMESTAMP = 1696069070
+SHA256 (textdistance-4.6.0.tar.gz) = 732c50315cd4ee9463838643cf19d69221302c36031eaa6070c30cc0aa5da8ca
+SIZE (textdistance-4.6.0.tar.gz) = 32869