notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-Levenshtein Fast computation of Levenshtein distance and string similarity
0.22.0 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.22.0Version of this port present on the latest quarterly branch.
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-18 22:54:07
Last Update: 2024-10-05 13:24:48
Commit Hash: 849cc48
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: GPLv2
WWW:
https://github.com/maxbachmann/Levenshtein
Description:
The Levenshtein Python C extension module contains functions for fast computation of: * Levenshtein (edit) distance, and edit operations * string similarity * approximate median strings, and generally string averaging * string sequence and set similarity
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}Levenshtein>0:devel/py-Levenshtein@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-Levenshtein/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-Levenshtein
  • pkg install py311-Levenshtein
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-Levenshtein listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-Levenshtein
Package flavors (<flavor>: <package>)
  • py311: py311-Levenshtein
distinfo:
TIMESTAMP = 1695813323 SHA256 (Levenshtein-0.22.0.tar.gz) = 86d285d770551cb648d4fcfe5243449a479e694e56b65272dc6cbda879012051 SIZE (Levenshtein-0.22.0.tar.gz) = 141819

Packages (timestamps in pop-ups are UTC):
py39-Levenshtein
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------0.22.0-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------0.22.0-
FreeBSD:15:latest--n/a-n/a-0.22.00.22.0
 

py311-Levenshtein
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.22.00.22.0-0.22.00.22.0---
FreeBSD:13:quarterly0.22.00.22.0-0.22.00.22.0---
FreeBSD:14:latest0.22.00.22.0-0.22.00.22.0---
FreeBSD:14:quarterly0.22.00.22.0-0.22.00.22.0---
FreeBSD:15:latest0.22.00.22.0n/a0.22.0n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-scikit-build>=0.13 : devel/py-scikit-build@py311
  2. py311-setuptools>=0 : devel/py-setuptools@py311
  3. cmake : devel/cmake-core
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-rapidfuzz>0 : devel/py-rapidfuzz@py311
  2. python3.11 : lang/python311
This port is required by:
for Build
  1. textproc/translate-toolkit
for Run
  1. audio/puddletag
  2. devel/py-fuzzywuzzy
  3. textproc/ibus-uniemoji
  4. textproc/translate-toolkit
  5. x11/ulauncher

Configuration Options:
No options to configure
Options name:
devel_py-Levenshtein
USES:
cmake:indirect python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/L/Levenshtein/
  2. https://pypi.org/packages/source/L/Levenshtein/
Collapse this list.
Port Moves

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.22.0
05 Oct 2024 13:24:48
commit hash: 849cc48702b5e5f5e4a7931a6acd9f87c3e40893commit hash: 849cc48702b5e5f5e4a7931a6acd9f87c3e40893commit hash: 849cc48702b5e5f5e4a7931a6acd9f87c3e40893commit hash: 849cc48702b5e5f5e4a7931a6acd9f87c3e40893 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/py-Levenshtein: fix build with libc++ 19

As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes ports using devel/py-Levenshtein to fail to compile with
clang 19 and libc++ 19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined
template 'std::char_traits<unsigned int>'
    820 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
        |                                          ^
 
/wrkdirs/usr/ports/devel/py-Levenshtein/work-py311/Levenshtein-0.22.0/src/Levenshtein/Levenshtein-c/_levenshtein.hpp:144:43:
note: in instantiation of template class 'std::basic_string<unsigned int>'
requested here
    144 | static inline std::basic_string<uint32_t> lev_greedy_median(const
std::vector<RF_String>& strings,
        |                                           ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.22.0
08 Apr 2024 09:15:43
commit hash: f3b9cb19fa6ea8861b9b966c1dbe4b4bc495d129commit hash: f3b9cb19fa6ea8861b9b966c1dbe4b4bc495d129commit hash: f3b9cb19fa6ea8861b9b966c1dbe4b4bc495d129commit hash: f3b9cb19fa6ea8861b9b966c1dbe4b4bc495d129 files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: convert to USES=cmake:indirect

Convert several ports to use cmake:indirect
0.22.0
27 Sep 2023 11:37:56
commit hash: 1f980c78d3f42bc35d1b89fedb1156f007b046d1commit hash: 1f980c78d3f42bc35d1b89fedb1156f007b046d1commit hash: 1f980c78d3f42bc35d1b89fedb1156f007b046d1commit hash: 1f980c78d3f42bc35d1b89fedb1156f007b046d1 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
devel/py-Levenshtein: Update to 0.22.0

re: https://github.com/maxbachmann/Levenshtein/tags

While here, update home page to reflect upstream package rename
re e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999e
0.21.1
18 Aug 2023 22:51:29
commit hash: e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999ecommit hash: e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999ecommit hash: e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999ecommit hash: e6a46adb6f005ab6ab2cdfe9fb69d726a6b0999e files touched by this commit
Dan Langille (dvl) search for other commits by this committer
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

Number of commits found: 4