git: af4790a61539 - main - devel/py-thefuzz: Add new port

From: Jason Helfman <jgh_at_FreeBSD.org>
Date: Sun, 15 May 2022 22:32:42 UTC
The branch main has been updated by jgh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af4790a6153996202e85cba64aa9a222fcc62259

commit af4790a6153996202e85cba64aa9a222fcc62259
Author:     Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2022-05-15 22:32:06 +0000
Commit:     Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2022-05-15 22:32:06 +0000

    devel/py-thefuzz: Add new port
    
    Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate
    the differences between sequences in a simple-to-use package.
    
    WWW: https://github.com/seatgeek/thefuzz
---
 devel/Makefile             |  1 +
 devel/py-thefuzz/Makefile  | 17 +++++++++++++++++
 devel/py-thefuzz/distinfo  |  3 +++
 devel/py-thefuzz/pkg-descr |  4 ++++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index aa6816ef61a1..beb4f8c13e23 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5344,6 +5344,7 @@
     SUBDIR += py-testresources
     SUBDIR += py-testscenarios
     SUBDIR += py-testtools
+    SUBDIR += py-thefuzz
     SUBDIR += py-threema-msgapi
     SUBDIR += py-thrift
     SUBDIR += py-thriftpy2
diff --git a/devel/py-thefuzz/Makefile b/devel/py-thefuzz/Makefile
new file mode 100644
index 000000000000..a941e34d24eb
--- /dev/null
+++ b/devel/py-thefuzz/Makefile
@@ -0,0 +1,17 @@
+# Created by: Jason Helfman <jgh@FreeBSD.org>
+
+PORTNAME=	thefuzz
+PORTVERSION=	0.19.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jgh@FreeBSD.org
+COMMENT=	Fuzzy string matching in Python
+
+LICENSE=	GPLv2
+
+USES=	python:3.6+
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/devel/py-thefuzz/distinfo b/devel/py-thefuzz/distinfo
new file mode 100644
index 000000000000..8609248f87de
--- /dev/null
+++ b/devel/py-thefuzz/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652554935
+SHA256 (thefuzz-0.19.0.tar.gz) = 6f7126db2f2c8a54212b05e3a740e45f4291c497d75d20751728f635bb74aa3d
+SIZE (thefuzz-0.19.0.tar.gz) = 28592
diff --git a/devel/py-thefuzz/pkg-descr b/devel/py-thefuzz/pkg-descr
new file mode 100644
index 000000000000..a5c4a3093033
--- /dev/null
+++ b/devel/py-thefuzz/pkg-descr
@@ -0,0 +1,4 @@
+Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate
+the differences between sequences in a simple-to-use package.
+
+WWW: https://github.com/seatgeek/thefuzz