Commit 66b658da authored by Dan Langille's avatar Dan Langille
Browse files

devel/py-Levenshtein: Update to 0.27.3 and rename to match distname

This commit also updates any ports depending up on that port.

PR:		293012
parent f8fee70b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5109,3 +5109,4 @@ devel/hs-spago|devel/spago|2026-02-03|Dropped the "hs-" prefix, the software is
lang/python-doc-pdf-a4||2026-02-05|A4-size PDF no longer provided since 3.13
devel/rubygem-sidekiq-cron-rails70|devel/rubygem-sidekiq-cron-rails-gitlab|2026-02-05|Obsolete, please use devel/rubygem-sidekiq-cron-rails-gitlab instead
devel/freebsd-git-devtools|devel/freebsd-git-arc|2026-02-06|Split into two separate ports: devel/freebsd-git-arc and devel/mfc-candidates to improve discoverability
devel/py-Levenshtein|devel/py-levenshtein|2026-02-07|Rename to match upstream
+2 −2
Original line number Diff line number Diff line
PORTNAME=	puddletag
DISTVERSION=	2.5.0
PORTREVISION=	1
PORTREVISION=	2
CATEGORIES=	audio python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -32,7 +32,7 @@ LEVENSHTEIN_DESC= Enable better string matching
LXML_DESC=		Enable better HTML parsing
PYACOUSTID_DESC=	Enable support for tagging audio files using web based Tag Sources

LEVENSHTEIN_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Levenshtein>=0:devel/py-Levenshtein@${PY_FLAVOR}
LEVENSHTEIN_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}levenshtein>=0:devel/py-levenshtein@${PY_FLAVOR}
LXML_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
PYACOUSTID_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pyacoustid>=0:audio/py-pyacoustid@${PY_FLAVOR}

+1 −1
Original line number Diff line number Diff line
@@ -4361,7 +4361,6 @@
    SUBDIR += py-Jinja2
    SUBDIR += py-Jinja2-doc
    SUBDIR += py-Js2Py
    SUBDIR += py-Levenshtein
    SUBDIR += py-PYB11Generator
    SUBDIR += py-PeachPy
    SUBDIR += py-PyExecJS
@@ -5222,6 +5221,7 @@
    SUBDIR += py-lazy_imports
    SUBDIR += py-lazy_loader
    SUBDIR += py-legacy-api-wrap
    SUBDIR += py-levenshtein
    SUBDIR += py-libcst
    SUBDIR += py-libcst03
    SUBDIR += py-libevdev

devel/py-Levenshtein/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1751974763
SHA256 (Levenshtein-0.25.1.tar.gz) = 2df14471c778c75ffbd59cb64bbecfd4b0ef320ef9f80e4804764be7d5678980
SIZE (Levenshtein-0.25.1.tar.gz) = 149954
+0 −16
Original line number Diff line number Diff line
--- src/Levenshtein/Levenshtein-c/_levenshtein.cpp.orig	2023-09-26 11:15:28 UTC
+++ src/Levenshtein/Levenshtein-c/_levenshtein.cpp
@@ -119,10 +119,10 @@ class SymMap { (public)
     }
 };
 
-std::basic_string<uint32_t> lev_quick_median(const std::vector<RF_String>& strings,
-                                             const std::vector<double>& weights)
+std::vector<uint32_t> lev_quick_median(const std::vector<RF_String>& strings,
+                                       const std::vector<double>& weights)
 {
-    std::basic_string<uint32_t> median; /* the resulting string */
+    std::vector<uint32_t> median; /* the resulting string */
 
     /* first check whether the result would be an empty string
      * and compute resulting string length */
Loading