diff options
author | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-09-30 15:21:17 +0000 |
---|---|---|
committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-09-30 15:26:16 +0000 |
commit | 085938a5e0182e5f3cbfd27290fa4ef39728dc4e (patch) | |
tree | b693c7a06c1d847957497d270b5aae9c2a1cdbd1 | |
parent | 00a7e0281b1e2a1d1973f5ae9700ef3d471b3f5c (diff) | |
download | ports-085938a5e0182e5f3cbfd27290fa4ef39728dc4e.tar.gz ports-085938a5e0182e5f3cbfd27290fa4ef39728dc4e.zip |
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
-rw-r--r-- | textproc/py-textdistance/Makefile | 12 | ||||
-rw-r--r-- | 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 |