Bug 273187 - devel/py-python-Levenshtein: rename to follow upstream and update to the latest release
Summary: devel/py-python-Levenshtein: rename to follow upstream and update to the late...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-17 21:15 UTC by Max Brazhnikov
Modified: 2023-08-18 22:53 UTC (History)
0 users

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


Attachments
rename the port (6.08 KB, patch)
2023-08-17 21:15 UTC, Max Brazhnikov
no flags Details | Diff
update to the latest version (2.57 KB, patch)
2023-08-17 21:16 UTC, Max Brazhnikov
no flags Details | Diff
update to the latest version (2.61 KB, patch)
2023-08-17 22:25 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov freebsd_committer freebsd_triage 2023-08-17 21:15:09 UTC
Created attachment 244177 [details]
rename the port

The project has been renamed upstream. These two patches rename the port and update it to the latest release.
Comment 1 Max Brazhnikov freebsd_committer freebsd_triage 2023-08-17 21:16:05 UTC
Created attachment 244178 [details]
update to the latest version
Comment 2 Dan Langille freebsd_committer freebsd_triage 2023-08-17 22:06:50 UTC
I greatly appreciate the renaming patch. Thank you.

Interesting issue, after applying the rename patch:

[21:55 pkg01 dan ~/ports/head] % git commit
[pre-commit] ERROR: MOVED contains errors.
                   Please apply the suggested changes:

 7787: devel/py-Levenshtein not found
 7787: devel/py-python-Levenshtein must be marked as resurrected

Checking: The rename didn't happen.

fixing:

[22:00 pkg01 dan ~/ports/head] % git mv devel/py-python-Levenshtein devel/py-Levenshtein

No worries, just mentioning. I'm proceeding.
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2023-08-17 22:25:11 UTC
Created attachment 244179 [details]
update to the latest version

devel/cmake-core is needed for building, I forgot to include it.
Comment 4 Dan Langille freebsd_committer freebsd_triage 2023-08-17 22:31:47 UTC
(In reply to Max Brazhnikov from comment #3)
I'll patch that change manually. Thanks.
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-08-18 22:52:34 UTC
A commit in branch main references this bug:

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 (new)                | 26 ++++++++++++++++++++++
 devel/py-Levenshtein/distinfo (new)                |  3 +++
 .../pkg-descr                                      |  4 ----
 devel/py-fuzzywuzzy/Makefile                       |  2 +-
 devel/py-python-Levenshtein/Makefile (gone)        | 20 -----------------
 devel/py-python-Levenshtein/distinfo (gone)        |  3 ---
 textproc/ibus-uniemoji/Makefile                    |  2 +-
 textproc/translate-toolkit/Makefile                |  2 +-
 x11/ulauncher/Makefile                             |  2 +-
 11 files changed, 35 insertions(+), 32 deletions(-)
Comment 6 Dan Langille freebsd_committer freebsd_triage 2023-08-18 22:53:17 UTC
Thank you for your help.