| Port details |
- py-levenshtein Fast computation of Levenshtein distance and string similarity
- 0.27.3 devel
=0 0.12.0Version of this port present on the latest quarterly branch. - Maintainer: matthew@wener.org
 - Port Added: 2006-08-31 18:06:54
- Last Update: 2026-02-07 18:00:23
- Commit Hash: 8c60b94
- 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.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found 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 = 1770482034
SHA256 (levenshtein-0.27.3.tar.gz) = 1ac326b2c84215795163d8a5af471188918b8797b4953ec87aaba22c9c1f9fc0
SIZE (levenshtein-0.27.3.tar.gz) = 393269
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-scikit-build-core>=0 : devel/py-scikit-build-core@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 Run
-
- audio/puddletag
- devel/py-fuzzywuzzy
- textproc/ibus-uniemoji
- 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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.27.3 07 Feb 2026 18:00:23
    |
Dan Langille (dvl)  |
devel/py-levenshtein: Pass MAINTAINER to someone who uses it
Now that this is included with PostgreSQL, I no longer use it.
PR: 293012 |
0.27.3 07 Feb 2026 16:51:42
    |
Dan Langille (dvl)  |
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 |
0.12.0 28 Jul 2018 18:25:14
  |
yuri  |
Remove devel/py-levenshtein because it is a duplicate of
devel/py-python-Levenshtein
Only one port used devel/py-levenshtein: textproc/translate-toolkit
Approved by: portmgr |
0.12.0 25 Apr 2018 16:42:38
  |
amdmi3  |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
0.12.0 22 Sep 2016 14:09:00
  |
rene  |
devel/py-levenshtein: Unbreak and update to 0.12.0
- switch to CHEESESHOP / pypi
- update WWW
- use autoplist
- simplify Makefile
Version 0.10.1 is no longer available on pypi
Approved by: fixit blanket, no PR sent
Sponsored by: EuroBSDCon 2016 Belgrade |
0.10.1_1 14 Sep 2016 15:59:34
  |
mat  |
GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight |
0.10.1_1 20 Oct 2014 16:04:14
  |
mva  |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
0.10.1_1 31 Mar 2014 12:01:16
  |
rene  |
- Stages out-of-the-box
- Convert to USES=tar:bzip2
Approved by: portmgr (infrastructure blanket) |
0.10.1_1 13 Jan 2014 21:00:04
  |
rene  |
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by: python (mva, rm)
Approved by: portmgr-lurkers (mat) |
0.10.1_1 20 Sep 2013 17:13:47
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.10.1_1 11 Aug 2011 13:39:30
 |
wen  |
- Update MASTER_SITE
- Add LICENSE
- Update WWW
- Remove pkg-plist and move it's content into PLIST_FILES
- Raise USE_PYTHON to 2.5+
PR: ports/158922
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by: maintainer(timeout, > 20 days) |
0.10.1 03 Jul 2011 14:59:23
 |
ohauer  |
-remove MD5 |
0.10.1 01 Jun 2008 09:42:37
 |
olgeni  |
Large round of typo fixes in ports/devel (pkg-descr). |
0.10.1 30 Jul 2007 09:42:28
 |
alexbl  |
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav |
0.10.1 09 Dec 2006 23:05:54
 |
nivit  |
- Added ${MASTER_SITE_LOCAL} as mirror
PR: 104791
Submitted by: Aron Stansvik <elvstone@gmail.com>
Approved by: alexbl (mentor) |
0.10.1 31 Aug 2006 18:06:42
 |
pav  |
Levenshtein computes Levenshtein distances, similarity ratios, generalized
medians and set medians of Strings and Unicodes. Becuase it's implemented
in C, it's much faster than corresponding Python library functions and
methods.
WWW: http://trific.ath.cx/resources/python/levenshtein/
PR: ports/102702
Submitted by: Aron Stansvik <elvstone@gmail.com> |