Port details on branch 2024Q3 |
- py-Levenshtein Fast computation of Levenshtein distance and string similarity
- 0.22.0 devel =0 0.22.0Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2024-10-05 13:27:15
- Last Update: 2024-10-05 13:25:53
- Commit Hash: ac1b668
- 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
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- 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
- There are no ports dependent upon this port
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: 1
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:25:53 |
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 ) |
Number of commits found: 1
|