git: e6a46adb6f00 - main - devel/py-python-Levenshtein: Rename to follow upstream
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 22:51:33 UTC
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999e commit e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999e Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2023-08-18 22:48:24 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2023-08-18 22:51:29 +0000 devel/py-python-Levenshtein: Rename to follow upstream While here, also upgrade to 0.21.1 Because of that rename, update all ports which uses this as a run or build depends. PR: 273187 --- MOVED | 1 + devel/Makefile | 2 +- devel/py-Levenshtein/Makefile | 26 ++++++++++++++++++++++ devel/py-Levenshtein/distinfo | 3 +++ .../pkg-descr | 4 ---- devel/py-fuzzywuzzy/Makefile | 2 +- devel/py-python-Levenshtein/Makefile | 20 ----------------- devel/py-python-Levenshtein/distinfo | 3 --- textproc/ibus-uniemoji/Makefile | 2 +- textproc/translate-toolkit/Makefile | 2 +- x11/ulauncher/Makefile | 2 +- 11 files changed, 35 insertions(+), 32 deletions(-) diff --git a/MOVED b/MOVED index 09dc63705d9b..b4312a4bb651 100644 --- a/MOVED +++ b/MOVED @@ -7784,3 +7784,4 @@ www/bareos18-webui|www/bareos19-webui|2023-08-16|Has expired sysutils/devcpu-data-amd|sysutils/cpu-microcode-amd|2023-08-16|Reorganize CPU microcode ports sysutils/devcpu-data-intel|sysutils/cpu-microcode-intel|2023-08-16|Reorganize CPU microcode ports sysutils/devcpu-data|sysutils/cpu-microcode-rc|2023-08-16|Reorganize CPU microcode ports +devel/py-python-Levenshtein|devel/py-Levenshtein|2023-08-17|Rename to match upstream diff --git a/devel/Makefile b/devel/Makefile index 4436afc6b875..fd9aea502cef 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5397,7 +5397,7 @@ SUBDIR += py-pytest4-cache SUBDIR += py-pytest4-cov SUBDIR += py-pytest4-flakes - SUBDIR += py-python-Levenshtein + SUBDIR += py-Levenshtein SUBDIR += py-python-application SUBDIR += py-python-bugzilla SUBDIR += py-python-dbusmock diff --git a/devel/py-Levenshtein/Makefile b/devel/py-Levenshtein/Makefile new file mode 100644 index 000000000000..762524d07130 --- /dev/null +++ b/devel/py-Levenshtein/Makefile @@ -0,0 +1,26 @@ +PORTNAME= Levenshtein +PORTVERSION= 0.21.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Fast computation of Levenshtein distance and string similarity +WWW= https://github.com/ztane/python-Levenshtein + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build>=0.13:devel/py-scikit-build@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + cmake-core>0:devel/cmake-core + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rapidfuzz>0:devel/py-rapidfuzz@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Levenshtein/levenshtein*.so + +.include <bsd.port.mk> diff --git a/devel/py-Levenshtein/distinfo b/devel/py-Levenshtein/distinfo new file mode 100644 index 000000000000..59f8567ce421 --- /dev/null +++ b/devel/py-Levenshtein/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692261172 +SHA256 (Levenshtein-0.21.1.tar.gz) = 2e4fc4522f9bf73c6ab4cedec834783999b247312ec9e3d1435a5424ad5bc908 +SIZE (Levenshtein-0.21.1.tar.gz) = 139190 diff --git a/devel/py-python-Levenshtein/pkg-descr b/devel/py-Levenshtein/pkg-descr similarity index 71% rename from devel/py-python-Levenshtein/pkg-descr rename to devel/py-Levenshtein/pkg-descr index e848ac520ef0..5c9b22358500 100644 --- a/devel/py-python-Levenshtein/pkg-descr +++ b/devel/py-Levenshtein/pkg-descr @@ -5,7 +5,3 @@ computation of: * string similarity * approximate median strings, and generally string averaging * string sequence and set similarity - -It supports both normal and Unicode strings. - -Python 2.2 or newer is required; Python 3 is supported. diff --git a/devel/py-fuzzywuzzy/Makefile b/devel/py-fuzzywuzzy/Makefile index e9c4e26e9609..d8a9a760c273 100644 --- a/devel/py-fuzzywuzzy/Makefile +++ b/devel/py-fuzzywuzzy/Makefile @@ -11,7 +11,7 @@ WWW= https://pypi.org/project/naiveBayesClassifier/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>0:devel/py-python-Levenshtein@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Levenshtein>0:devel/py-Levenshtein@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist diff --git a/devel/py-python-Levenshtein/Makefile b/devel/py-python-Levenshtein/Makefile deleted file mode 100644 index 834475f5989e..000000000000 --- a/devel/py-python-Levenshtein/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -PORTNAME= python-Levenshtein -PORTVERSION= 0.12.2 -CATEGORIES= devel python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= dvl@FreeBSD.org -COMMENT= Fast computation of Levenshtein distance and string similarity -WWW= https://github.com/ztane/python-Levenshtein - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -USES= python -USE_PYTHON= distutils autoplist - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Levenshtein/_levenshtein*.so - -.include <bsd.port.mk> diff --git a/devel/py-python-Levenshtein/distinfo b/devel/py-python-Levenshtein/distinfo deleted file mode 100644 index e51719f9aeff..000000000000 --- a/devel/py-python-Levenshtein/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1612275368 -SHA256 (python-Levenshtein-0.12.2.tar.gz) = dc2395fbd148a1ab31090dd113c366695934b9e85fe5a4b2a032745efd0346f6 -SIZE (python-Levenshtein-0.12.2.tar.gz) = 50502 diff --git a/textproc/ibus-uniemoji/Makefile b/textproc/ibus-uniemoji/Makefile index ceb85990dfb4..83a8e6f181b6 100644 --- a/textproc/ibus-uniemoji/Makefile +++ b/textproc/ibus-uniemoji/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/salty-horseibus-uniemoji LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>0:devel/py-python-Levenshtein@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Levenshtein>0:devel/py-Levenshtein@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ ${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:textproc/ibus diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile index ad54b7bb5d69..098957dfa0e9 100644 --- a/textproc/translate-toolkit/Makefile +++ b/textproc/translate-toolkit/Makefile @@ -57,7 +57,7 @@ ICAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.9.6.1:deskutils/py-vobject@$ ICAL_VARS= MANPAGES+="ical2po po2ical" INI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iniparse>=0.5:devel/py-iniparse@${PY_FLAVOR} INI_VARS= MANPAGES+="ini2po po2ini" -LEVENSHTEIN_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}python-Levenshtein>=0.12:devel/py-python-Levenshtein@${PY_FLAVOR} +LEVENSHTEIN_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}Levenshtein>=0.12:devel/py-Levenshtein@${PY_FLAVOR} MARKDOWN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mistletoe>=1.1:textproc/py-mistletoe@${PY_FLAVOR} MARKDOWN_VARS= MANPAGES+="md2po po2md" PHP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phply>=1.2.5:devel/py-phply@${PY_FLAVOR} diff --git a/x11/ulauncher/Makefile b/x11/ulauncher/Makefile index b268da5c028c..7e64af465ebe 100644 --- a/x11/ulauncher/Makefile +++ b/x11/ulauncher/Makefile @@ -13,7 +13,7 @@ LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>=2.18:devel/py-python-distutils-extra@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>=0:devel/py-pyinotify@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>=0:devel/py-python-Levenshtein@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Levenshtein>=0:devel/py-Levenshtein@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websocket-client>=0:www/py-websocket-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} \