mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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
This commit is contained in:
parent
3a2594ed6f
commit
e6a46adb6f
1
MOVED
1
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
|
||||
|
@ -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
|
||||
|
26
devel/py-Levenshtein/Makefile
Normal file
26
devel/py-Levenshtein/Makefile
Normal file
@ -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>
|
3
devel/py-Levenshtein/distinfo
Normal file
3
devel/py-Levenshtein/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1692261172
|
||||
SHA256 (Levenshtein-0.21.1.tar.gz) = 2e4fc4522f9bf73c6ab4cedec834783999b247312ec9e3d1435a5424ad5bc908
|
||||
SIZE (Levenshtein-0.21.1.tar.gz) = 139190
|
@ -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.
|
@ -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
|
||||
|
@ -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>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1612275368
|
||||
SHA256 (python-Levenshtein-0.12.2.tar.gz) = dc2395fbd148a1ab31090dd113c366695934b9e85fe5a4b2a032745efd0346f6
|
||||
SIZE (python-Levenshtein-0.12.2.tar.gz) = 50502
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user