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 photos
All times are UTC
Ukraine
Port details
py-levenshtein Fast computation of Levenshtein distance and string similarity
0.27.3 devel on this many watch lists=0 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.12.0Version of this port present on the latest quarterly branch.
Maintainer: matthew@wener.org search for ports maintained by this maintainer
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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>)
  • py311: py311-levenshtein
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):
py311-levenshtein
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.27.30.27.3--0.27.3n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest0.27.30.27.3--0.27.3---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.27.30.27.3n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest0.27.30.27.3n/a-n/an/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-scikit-build-core>=0 : devel/py-scikit-build-core@py311
  3. py311-setuptools>=0 : devel/py-setuptools@py311
  4. cmake : devel/cmake-core
  5. python3.11 : lang/python311
  6. py311-build>=0 : devel/py-build@py311
  7. 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 Run
  1. audio/puddletag
  2. devel/py-fuzzywuzzy
  3. textproc/ibus-uniemoji
  4. 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: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.27.3
07 Feb 2026 18:00:23
commit hash: 8c60b946be4fdaa96bc6820a8ffa258982110f24commit hash: 8c60b946be4fdaa96bc6820a8ffa258982110f24commit hash: 8c60b946be4fdaa96bc6820a8ffa258982110f24commit hash: 8c60b946be4fdaa96bc6820a8ffa258982110f24 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
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
commit hash: 66b658daf81f0cdf295dd6c94e4facbf9527b821commit hash: 66b658daf81f0cdf295dd6c94e4facbf9527b821commit hash: 66b658daf81f0cdf295dd6c94e4facbf9527b821commit hash: 66b658daf81f0cdf295dd6c94e4facbf9527b821 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
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
Revision:475593Original commit files touched by this commit
yuri search for other commits by this committer
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
Revision:468282Original commit files touched by this commit
amdmi3 search for other commits by this committer
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
Revision:422616Original commit files touched by this commit
rene search for other commits by this committer
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
Revision:422140Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
0.10.1_1
31 Mar 2014 12:01:16
Revision:349736Original commit files touched by this commit
rene search for other commits by this committer
- 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
Revision:339634Original commit files touched by this commit
rene search for other commits by this committer
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
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
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
Original commit files touched by this commit
wen search for other commits by this committer
- 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
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
0.10.1
01 Jun 2008 09:42:37
Original commit files touched by this commit
olgeni search for other commits by this committer
Large round of typo fixes in ports/devel (pkg-descr).
0.10.1
30 Jul 2007 09:42:28
Original commit files touched by this commit
alexbl search for other commits by this committer
 - 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
Original commit files touched by this commit
nivit search for other commits by this committer
- 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
Original commit files touched by this commit
pav search for other commits by this committer
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>

Number of commits found: 16