Bug 293012 - devel/py-levenshtein: Update to 0.27.3 and Rename Port to Match distname
Summary: devel/py-levenshtein: Update to 0.27.3 and Rename Port to Match distname
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 16:30 UTC by Matthew Wener
Modified: 2026-02-07 18:01 UTC (History)
1 user (show)

See Also:
matthew: maintainer-feedback? (dvl)


Attachments
patch to 0.27.3 (20.65 KB, patch)
2026-02-06 16:30 UTC, Matthew Wener
matthew: maintainer-approval? (dvl)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Wener 2026-02-06 16:30:53 UTC
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.
Comment 1 Dan Langille freebsd_committer freebsd_triage 2026-02-06 18:46:17 UTC
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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-02-07 16:52:43 UTC
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(-)
Comment 3 Dan Langille freebsd_committer freebsd_triage 2026-02-07 16:55:01 UTC
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.
Comment 4 Dan Langille freebsd_committer freebsd_triage 2026-02-07 16:55:34 UTC
How's that look? Some slight differences.
Comment 5 Matthew Wener 2026-02-07 17:44:12 UTC
(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.
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-02-07 18:00:51 UTC
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(-)
Comment 7 Dan Langille freebsd_committer freebsd_triage 2026-02-07 18:01:46 UTC
(In reply to Matthew Wener from comment #5)

Thank you for taking this on. It will be much better maintained by you.