Created attachment 267869 [details] patch to 0.27.3 Updating to 0.27.3 allows the patches to be removed. Had to rename the port to pull the distfile correctly. Also fixes a build issue on python 3.13.
These are just for your amusement: I first questioned "to match distname" - because the distfile I got from github was Levenshtein-0.27.3.tar.gz (https://github.com/rapidfuzz/Levenshtein/tags) On second thought, I realized it's pulling from pypi, where the file is levenshtein-0.27.3.tar.gz (https://pypi.org/project/Levenshtein/#files) Got it. Then I looked at the patch. Why is puddletag in here? That's about the point I realized what was going on.... I may not get to this today. Thanks for what looks like a thorough patch. FYI, this will be [at least] the third move for this port.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=66b658daf81f0cdf295dd6c94e4facbf9527b821 commit 66b658daf81f0cdf295dd6c94e4facbf9527b821 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2026-02-07 16:47:19 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2026-02-07 16:51:42 +0000 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 MOVED | 1 + audio/puddletag/Makefile | 4 +- devel/Makefile | 2 +- devel/py-Levenshtein/distinfo (gone) | 3 - ...enshtein_Levenshtein-c___levenshtein.cpp (gone) | 16 ----- ...enshtein_Levenshtein-c___levenshtein.hpp (gone) | 69 -------------------- ...tch-src_Levenshtein_levenshtein__cpp.cxx (gone) | 74 ---------------------- ...tch-src_Levenshtein_levenshtein__cpp.pyx (gone) | 30 --------- devel/py-fuzzywuzzy/Makefile | 4 +- devel/{py-Levenshtein => py-levenshtein}/Makefile | 7 +- devel/py-levenshtein/distinfo (new) | 3 + devel/{py-Levenshtein => py-levenshtein}/pkg-descr | 0 textproc/ibus-uniemoji/Makefile | 3 +- textproc/translate-toolkit/Makefile | 3 +- www/py-calibreweb/Makefile | 4 +- x11/ulauncher/Makefile | 4 +- 16 files changed, 21 insertions(+), 206 deletions(-)
BTW, I once used this port with PostgreSQL, but I see I no longer use it. I suspect it is because those functions are now included.
How's that look? Some slight differences.
(In reply to Dan Langille from comment #4) Looks good to me. Thanks! (In reply to Dan Langille from comment #3) I can maintain it if you don't need it anymore.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c60b946be4fdaa96bc6820a8ffa258982110f24 commit 8c60b946be4fdaa96bc6820a8ffa258982110f24 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2026-02-07 17:57:54 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2026-02-07 18:00:23 +0000 devel/py-levenshtein: Pass MAINTAINER to someone who uses it Now that this is included with PostgreSQL, I no longer use it. PR: 293012 devel/py-levenshtein/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Matthew Wener from comment #5) Thank you for taking this on. It will be much better maintained by you.