Port details |
- py-Levenshtein Fast computation of Levenshtein distance and string similarity
- 0.22.0 devel
=2 0.22.0Version of this port present on the latest quarterly branch. - Maintainer: dvl@FreeBSD.org
 - 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
¦ ¦ ¦ ¦ 
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-scikit-build>=0.13 : devel/py-scikit-build@py311
- py311-setuptools>=0 : devel/py-setuptools@py311
- cmake : devel/cmake-core
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-rapidfuzz>0 : devel/py-rapidfuzz@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- textproc/translate-toolkit
- for Run
-
- audio/puddletag
- devel/py-fuzzywuzzy
- textproc/ibus-uniemoji
- textproc/translate-toolkit
- 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:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.22.0 05 Oct 2024 13:24:48
    |
Dimitry Andric (dim)  |
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 ) |
0.22.0 08 Apr 2024 09:15:43
    |
Max Brazhnikov (makc)  |
*/*: convert to USES=cmake:indirect
Convert several ports to use cmake:indirect |
0.22.0 27 Sep 2023 11:37:56
    |
Dan Langille (dvl)  |
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
    |
Dan Langille (dvl)  |
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
|